ALT Linux hardware support
 help / color / mirror / Atom feed
From: "Aleksey P. Karelin" <karelin-ap@mail.ru>
To: hardware@altlinux.ru
Subject: [Hardware] DiskOnShip
Date: Thu, 26 May 2005 10:04:37 +0400
Message-ID: <429566F5.5040106@mail.ru> (raw)

Добрый день!

Слабо надеюсь на ответ, но все-таки...
Есть индустриальный компьютер MSMP3SEN. ALT Linux 2.4 Master встал на 
него почти без проблем (есть некоторые шероховатости, но это мелочи). К 
этому компьютеру имеется флеш-диск DiskOnChip 2000, на адаптере 
MSMF104-2D. Есть драйвера. (Кстати для windows они не нужны - система 
видет этот девайс как жесткий диск и покойно на него пытается 
установиться).
1. Проинсталировать linux при установленном DiskOnChip не получается 
инсталятор виснет на 1%, виснет намертво. У меня здесь одно объяснение - 
нехватка базовой памяти. Вместо 640 кБ, свободно остается 574 кБ.
2. Если установить linux без DiskOnChip на обычный винчестер, а затем 
его воткнуть, то стартовать систему можно только с помощью загрузочной 
дискеты. Подоразумеваю, что опять-таки нехватка памяти при старте 
штатным lilo на жестком диске. При этом наличие девайса в компьютере 
никак не обозначено.
3. Как говорил, есть драйвера под linux. Процедура установки:

> 2.2. Install driver sources
>
>     cd _doc_linux_dir_/driver
>     patch -p1 -d _kernel_sources_dir_ < linux-x_x_x-patch
>                                               
>     cp doc/* _kernel_sources_dir_/drivers/block/doc/
>
> Where x_x_x is the kernel version number you use (or the one which is 
> most close
> to it, but not bigger).
>
> Note: If the patch command fails, open the patch file 
> (linux-xxx-patch) and try to
>       perform the updating manually.
>
> 2.3. Create nodes
>
>     cd _doc_linux_dir_/driver
>     ./mknod_fl
>
> This command should create fla1...fld4 nodes in /dev/msys/
>
> 2.4. Change kernel configuration
>
>     cd _kernel_sources_dir_
>     make menuconfig
>
> Enter "Loadable module support" menu.
> Make sure all the options on that menu are turned ON.
>
> Enter "Block devices" menu.
> Select the "M-Systems driver" as module.
> If you install as a boot device, select the "Loopback device support" and
> "RAM disk support" as built-in.
>
> Save the configuration, then compile the kernel
>
>     make dep
>     make clean
>     make bzImage
>     make install
>     make modules
>     make modules_install
>
> Reboot the machine.
>
> After boot call "insmod doc".
>
> 2.5. Initialize file system on DiskOnChip
>
> Create partition table and partitions by calling 'fdisk':
>
>     fdisk /dev/msys/fla
>
> 2.6. Mount DiskOnChip partitions
>
>     mkdir -p /mnt/fla1
>     mount /dev/msys/fla1 /mnt/fla1
>
> -------------------------------------------------------
> Now DiskOnChip is ready to be used as a storage device.

На пункте 2.2 я как начал - так и остановился. Даю команду:

    patch -p1 -d /usr/src/kernel/sources < linux-2_4-patch

получаю:

    can't find file to patch at input line 4
    Perhaps you used the wrong -p or --strip option? 
                                          
    The text leading up to this was:
    ------------------------------------
  |diff -U2 -r -N -x CVS linux-2_4-origin/Documentation/Configure.help 
linux-2_4-doc/Documentation/Configure.help
  |--- linux-2_4-origin/Documentation/Configure.help      Wed Jan 24 
05:56:55 2001
  |+++ linux-2_4-doc/Documentation/Configure.help      Wed Jan 24 
05:43:54 2001
    File to patch:

Признаюсь - до этого я двум другим платам для этого компьютера драйвера 
установил без проблем. Там процедура другая - собрал модули, подгрузил и 
работаю. Здесь я просто не понимаю что делать (нет опыта вообще). Может 
кто поможет?

PS. Есть ли смысл обращаться с таким вопросом в службу поддержки ALT 
Linux (дистрибутив коробочный, имеется талон на поддержку)?

С уважением,
Карелин А.



             reply	other threads:[~2005-05-26  6:04 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-26  6:04 Aleksey P. Karelin [this message]
2005-05-26  6:26 ` Yakov Reztsov
2005-05-26  6:37   ` Aleksey P. Karelin
2005-05-26  7:10     ` Yakov Reztsov
2005-05-26  7:14       ` Aleksey P. Karelin
2005-05-26  8:49         ` Re[2]: " Yakov Reztsov
2005-05-26  9:14           ` Aleksey P. Karelin
2005-05-26 10:55             ` Re[2]: " Yakov Reztsov
2005-05-26 11:17               ` [Hardware] DiskOnChip Aleksey P. Karelin
2005-05-29  9:36                 ` Denis Smirnov
2005-06-04 18:08                   ` Sergey Vlasov
2005-05-26  6:29 ` [Hardware] DiskOnShip Aleksey P. Karelin
2005-05-26 11:16 ` Sergey Vlasov
2005-05-26 11:23   ` Aleksey P. Karelin
2005-05-26 11:34     ` Sergey Vlasov
2005-05-26 11:49   ` Aleksey P. Karelin
2005-05-26 12:04     ` Sergey Vlasov
2005-05-26 12:25       ` Aleksey P. Karelin
2005-05-26 12:56         ` Sergey Vlasov
2005-05-26 13:08           ` Aleksey P. Karelin
2005-05-26 13:30             ` [Hardware] Re: DiskOnChip Michael Shigorin
2005-05-26 14:15             ` [Hardware] DiskOnShip Sergey Vlasov
2005-05-27  7:24               ` Aleksey P. Karelin
2005-05-27  7:43                 ` Michael Shigorin

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=429566F5.5040106@mail.ru \
    --to=karelin-ap@mail.ru \
    --cc=hardware@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 hardware support

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/hardware/0 hardware/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 hardware hardware/ http://lore.altlinux.org/hardware \
		hardware@altlinux.ru hardware@lists.altlinux.org hardware@lists.altlinux.ru hardware@lists.altlinux.com hardware@altlinux.org
	public-inbox-index hardware

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.hardware


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git