From: led@ukr-fin.com.ua To: sisyphus@altlinux.ru Subject: Re: [sisyphus] Re: USB HDD Date: Tue, 30 Dec 2003 16:14:14 +0200 Message-ID: <200312301614.14729.> (raw) In-Reply-To: <20031230120145.GB21534@master.mivlgu.local> В сообщении от Вторник 30 Декабрь 2003 14:01 Sergey Vlasov написал(a): > On Tue, Dec 30, 2003 at 10:36:50AM +0200, led@ukr-fin.com.ua wrote: > > В сообщении от Понедельник 29 Декабрь 2003 22:36 Andrey Khavryuchenko > > > > написал(a): > > > led, > > > > > > "l" == led wrote: > > > > > > l> Может кто подскажет, как завести сие устройство в качестве > > > корневого для l> системы? > > > > > > Собрать custom ядро? > > > > Повторяю: HDD с интерфейсом USB... т.е. винт маленикий, размером чуть > > больше сигаретной пачки и в 2 раза тоньше... т.е. винт переносной... т.е. > > можно носить с собой и подключать к первому попавшемуся PC:)... значит > > ядро должно быть не custom, а самое что ни есть универсальное... > > > > Пробовал в initrd.img в linuxrc после загрузки всех модулей добавить > > команду mount -t usbdevfs usbdevfs /proc/bus/usb > > команда проходит без ошибок, но корневая FS всё равно не монтируется... > > :( > > А модули какие? Нужно как минимум: > > - контроллер USB (uhci/usb-ohci, для USB 2.0 - ehci-hcd) > - usb-storage > - sd_mod > > scsi_mod вытягивается по зависимостям, а вот эти модули нужно указывать > явно. Это понятно - все эти модули я включил в initrd.img. В готовый initrd.img включил последней строкой перед загрузкой модуля reiserfs.o строку: mount -t usbdevfs usbdevfs /proc/bus/usb > > Кроме того, у usb-storage может быть очень длительная инициализация, > причём идущая в фоновом режиме (т.е. insmod usb-storage не дожидается > завершения). Нужно ставить задержку в конец linuxrc. Про задержку в инициализации я тоже нарыл в google... Видно задержки на время загрузки reiserfs.o ему не хватает для инициализации... придётся изготавливать статический sleep и пихать его в initrd.img... Но ИМХО это костыль, даже если сработает... Led.
prev parent reply other threads:[~2003-12-30 14:14 UTC|newest] Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top 2003-12-30 12:01 Sergey Vlasov 2003-12-30 14:14 ` led [this message]
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=200312301614.14729. \ --to=led@ukr-fin.com.ua \ --cc=sisyphus@altlinux.ru \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux Sisyphus discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \ sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru public-inbox-index sisyphus Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.sisyphus AGPL code for this site: git clone https://public-inbox.org/public-inbox.git