[LUGOS] usb mass storage

Matej Zerovnik - LeVaK levak at planetq.org
Sun Jan 12 19:12:11 CET 2003


On Friday 10 January 2003 15:11, Tadej Kirincic wrote:
> se to.....cdrecord -scanbus pa javi naslednje:
>
> scsibus1:
>         1,0,0   100) 'Nokia   ' '5510            ' '0001' Removable Disk
>
> On Thursday 09 January 2003 10:14, Tadej Kirincic wrote:
> > pozdravljeni!
> > imam gsm nokia 5510, ki ma mp3 player in se priklopi na usb.
> > imam loadane module:
> >
> > uhci                   23336   0  (unused)
> > usb-storage            47808   1
> > usbcore                48000   0  [uhci usb-storage]
> >
> > ko priklopim gsm mi v logih izpise naslednje (connect, disconnect,
> > connect): Jan  9 09:50:12 admin kernel: hub.c: USB new device connect on
> > bus1/1, assigned device number 3
> > Jan  9 10:04:37 admin kernel: usb.c: USB disconnect on device 3
> > Jan  9 10:04:44 admin kernel: hub.c: USB new device connect on bus1/1,
> > assigned device number 4
> >
> > ko poskusam mountat /dev/sda1 z ukazom mount /dev/sda1 /mnt/gsm mi mount
> > freezne in ga ne morem killat (ob poskusu killanja pid-a proces
> > ostane...tudi z -9)
> >
> > root     31626  0.0  0.0  1428  408 ?        D    09:50   0:00 mount
> >  /dev/sda1 /mnt/gsm/
> >
> > se komu sanja kaj je narobe, oziroma kako bi zadevo resil?

Si vklopil SCSI emulacijo. Jaz digitalca priklopim tako, da najprej nalozim 
module za USB, potem scsi emulacijo na koncu pa se SCSI hard disc support. 
Hard disc support moras obvezno nalozit. V syslogu bi moral videti nekaj 
taksnega:
Jan 11 21:08:00 etela kernel: Attached scsi removable disk sda at scsi1, 
channel 0, id 0, lun 0
Jan 11 21:08:00 etela kernel: SCSI device sda: 126848 512-byte hdwr sectors 
(65 MB)
Jan 11 21:08:00 etela kernel: sda: Write Protect is off
Jan 11 21:08:00 etela kernel:  sda:<7>usb-storage: queuecommand() called
Jan 11 21:08:00 etela kernel:  sda1


moduli:
root at etela:/var/log# lsmod
Module                  Size  Used by    Not tainted
sd_mod                  9964   0
st                     26992   0  (unused)
uhci                   25840   0  (unused)
usb-storage            98192   0
usbcore                63904   0  [uhci usb-storage]
sg                     25148   0  (autoclean)
sr_mod                 11504   0
cdrom                  28864   0  [sr_mod]
ide-scsi                7504   0
scsi_mod               82968   6  [sd_mod st usb-storage sg sr_mod ide-scs

Toj to. Upam, da ti bo delalo.. 

LeVaK



More information about the lugos-list mailing list