Fórum Ubuntu CZ/SK
Ubuntu pro osobní počítače => Hardware => Téma založeno: martin08 10 Července 2009, 08:35:16
-
Ahoj, chtel bych poradit, resil jsem (a ted zase resim pripojeni Flash disku v Ubuntu) muj topic byl zde:
http://forum.ubuntu.cz/index.php/topic,30491.0.html (http://forum.ubuntu.cz/index.php/topic,30491.0.html)
ted jsem to zacal resit znova a nasel nasledujici reseni:
I found a solution to that problem (apparently this is about the time needed to the device wake-up):
At /etc/modprobe.d/options I added the line:
options scsi_mod inq_timeout=20
Then I tried to unload and load the module(scsi_mod), but didn't work, because this option was in initrd file. So I reinstalled the package linux-image-* what forced the system to make a new initrd file and use the new configuration (of course there is a better way to do that but I didn't want to search how to), then, after a reboot, voilá, the pen drive was back to life.
I hope this help someone.
ted muj dotaz do /etc/modprobe.d/option jsem zapsal options scsi_mod inq_timeout=20
a ted k reinstalaci jadra.. nemam s tim zkusenosti, a trochu mam obavy, proto bych se chtel nejdriv poradit
uname -a me vypise me jadro (2.6.24-24-generic)
a pak bych dal prikaz: sudo aptitude reinstall linux-image-2.6.24-24-generic
a restart pocitace..
je to tak, probehne to v pohode? nerad bych se dostal do problemu, jsem zacatecnik a nerad bych neco resil..
Dekuju za rady, odpovedi..
-
jeste jsem zkusil echo 20 > /sys/module/scsi_mod/parameters/inq_timeout (nevim k cemu to slouzi)
ale po pripojeni flashky alespon jevi znamku zivota a pri pokusu o mountovani alespon blika.
mount /dev/sda1 /mnt/flash
mount: přípojný bod /mnt/flash neexistuje
-
VYRESENO
v /etc/fstab pridano:
/dev/sda /mnt/flash auto noauto,owner,users 0 0
v /etc/modprobe.d/options
options scsi_mod inq_timeout=20
(echo 20 > /sys/module/scsi_mod/parameters/inq_timeout)
A vuala flash se automaticky pripojuje..