리눅스 설치 질문입니다.

리눅스 설치 질문입니다.

작성일 2006.02.15댓글 1건
    게시물 수정 , 삭제는 로그인 필요

제가 리눅스를 fedora 2,3 까지 깔아보고 이번에 fedora4를 깔려고 했는데 커널 오류때문에 포기했습니다.

 

fedora core4 가 나온지 얼마 않 되서 잘 호환해 줄거라고 하길레..

 

근데 fedora core4도 sata를 지원하는데 제한되어 있다고 하더군요...

 

그래서 젠투나 우분투를 깔려고 하는데...

 

리눅스에서 가장 힘든게 인터넷 하는 거거든요..(저한테는--;)

 

lan 카드가 marvell yukon 88e8053 pci-e 인데.. 이거외에도 거의 모두가 최신이라서 잘 인식을 못 하더라고요.. 직접 마더보드 씨디넣고 깔아보려고도 해봤는데,,실패하고..

 

젠투나 우분투중에서 어느것이 더 호환을 잘 해주나요? 아니면 저희집 컴퓨터를 제데로 인식할만한 다른 리눅스는 없나요?


#리눅스 설치 #리눅스 설치된 패키지 확인 #리눅스 설치 usb #리눅스 설치된 프로그램 확인 #리눅스 설치 usb 만들기 #리눅스 설치 명령어 #리눅스 설치 파티션 설정 #리눅스 설치된 프로그램 삭제 #리눅스 설치 불가 노트북 #리눅스 설치 시에 나타나는 파일 시스템 유형

profile_image 익명 작성일 -

안녕하십니까

 

리눅스 엔지니어로 알하는 바두기입니다.

 

marvell LAN 카드가 보드와 일체형이라면 보드와 랜카드 모델명을 함께 조사하여 드라이버를 다운로드 받으시면 됩니다.

 

-*-*-*-*-*-*-*-*-*-*-*-*-*  www.ntccube.com 기술 자료 > -*-*-*-*-*-*-*-*-*-*-*-*-*

* 네트워크 카드 정보
   - Marvell Yukon EC 88E8050 PCI Express Gigabit Ethernet


* 설치 사례
   - 하드웨어 정보
     = Intel 조립 서버 (RMS 104BD)
       + 메인보드 : Intel Serverboard SE7520BD2V

   - OS 정보
     = Red Hat Enterprise Linux 3 ES update3
       + Kernel : 2.4.21-37ELhugemem

   - 드라이버 정보
     = 버전 : marvell-88e8050_linux_v8.16.2.3.tar.bz2
     = 다운로드
       * http://www.intel.com

       * http://downloadfinder.intel.com/scripts-df-external/detail_desc.aspx?strstate=live&productid=1658&dwnldid=8921&agr=n&lang=eng&prdmap=1658


   - 드라이버 설치 방법

---------------------------------------------------------------------------------

# tar -jxvf marvell-88e8050_linux_v8.16.2.3.tar.bz2
DriverInstall/
DriverInstall/README
DriverInstall/install.sh
DriverInstall/sk98lin.4
DriverInstall/sk98lin.tar.bz2
# cd DriverInstall/
# ls
install.sh README sk98lin.4 sk98lin.tar.bz2
# cat README
Installation Instructions for sk98lin Driver

This file contains
1 Overview
2 Required Files and Tools
3 Prerequisites
4 Preparing the Driver Installation Package
5 Driver Installation
5.1 User Installation Mode
5.2 Patch Generation Mode
6 Patch Generation and Recompilation of the Kernel
6.1 Downloading and Unpacking the Linux Kernel
6.2 Generating the Driver Patch
6.3 Applying the Driver Patch
6.4 Configuring the Linux Kernel
6.5 Compiling the Linux Kernel
6.6 Installing the Compiled Linux Kernel
7 Manual Module Loading
8 Unloading the Module
9 Driver Parameters
10 Ethtool Commands
11 Troubleshooting
================================================================================


1 Overview
===========

This document describes the installation of the sk98lin driver
on your Linux system. It describes how the installation script works
and how it can be used to either install the sk98lin driver or to
create a Linux kernel patch. The installation script can be used on
any Linux kernel version from 2.4.13 or higher.

Applying the Linux kernel patch requires an installed Linux kernel
which can be compiled and which is used along with the applied
sk98lin driver. Therefore, unpacking, patching, configuring
and compiling a Linux kernel is also explained in this document.

This document does not describe the sk98lin driver and its
parameters. For more information refer to \'sk98lin.txt\' or
the sk98lin.4 man page.
***


2 Required Files and Tools
===========================

To install the sk98lin driver the following files
and tools on your Linux system are required:

- Linux kernel source available in directory /usr/src/linux

- Compiler tools (e.g. gcc)
***


3 Prerequisites
================

The prerequisites for compilation, loading and patch creation of the
sk98lin driver are:

- Any device using the sk98lin kernel module needs to be closed.

- The old sk98lin kernel module needs to be unloaded.
Per default the installation script will do this automatically
(if \"user mode\" installation is selected).
If you want to shutdown and unload the old sk98lin kernel module
manually, run the script in \"expert installation\" mode.

- Your system has to be equipped with a supported network card.
Without a card the full driver functionality cannot be checked.

- The kernel source and kernel version have to be consistent.
For instance, it might be, that you run kernel version 2.4.20, but
the header files the kernel module will be compiled with refer to
kernel version 2.4.21. If you don\'t have the same kernel version,
install the sources and compile a new kernel. It\'s not possible to
mix different kernel versions!
***


4 Preparing the Driver Installation Package
============================================

Before the sk98lin driver installation script can be invoked, the
installation package needs to be unpacked:

1. Login as \'root\'.
2. Unpack the driver installation package using the command

# tar xfvj install-???.tar.bz2
or
# bunzip2 -c install-???.tar.bz2 | tar xfv -
***

5 Driver Installation
======================

1. After the driver installation package is unpacked, type the following
commands to start the sk98lin driver build process:

# cd DriverInstall
# ./install.sh

2. Select the driver installation mode (see following subchapters).
3. Wait for the driver build process to finish.
Depending on the installation mode you selected, the driver is either
compiled and installed or a kernel patch is generated.
***

5.1 User Installation Mode
---------------------------

Selecting this installation mode the driver sources shipped
with the install package are compiled and the resulting driver
module object file is installed to a suitable location (usually somewhere
below directory /lib/modules/...).

No source files of the driver are installed into a kernel directory.
Only the driver module object file and the man page of the driver are
installed onto your system permanently.

The term \"user installation\" reflects the fact that the build
process runs automatically without any user interaction. In case
of installation problems, the driver installation script autonomously
tries to solve the problem (if this is possible).

After compilation has finished, the initial system state and
configuration is recovered and all (possibly) backed-up system
files are restored from the initial configuration.
***

5.2 Patch Generation Mode
--------------------------

Selecting this installation mode, a driver patch is created which can
be applied to your Linux kernel (instead of compiling and installing
the driver on your machine).

Usually, a patch is applied when a recompilation of the Linux
kernel is intended and the latest driver sources need to be
installed permanently in the appropriate driver directory of
the Linux kernel.

NOTE: You still have to compile your patched Linux kernel in
order to effectively use the latest driver sources shipped
with this installation package!
***


6 Patch Generation and Recompilation of the Kernel
===================================================

If a new patch has been created using the sk98lin driver installation
script,
- it needs to be applied against the Linux kernel sources
and
- the Linux kernel has to be recompiled in order to use the
sk98lin driver.
***

6.1 Downloading and Unpacking the Linux Kernel
-----------------------------------------------

Before the sk98lin driver installation script is used to generate
a driver patch, a Linux kernel needs to be installed. If you already have
installed a Linux kernel in the directory /usr/src, you can skip this
paragraph and immediately continue with the paragraph describing
how to apply the patch against the Linux kernel.

To patch the Linux Kernel, proceed as follows:

1. Login as \'root\'.

2. Download the original Linux source code named linux-a.b.c.tar.bz
from ftp.kernel.org into the directory /usr/src

3. Go to the directory /usr/src and remove all symbolic links to old
Linux sources using the commands:

# cd /usr/src
# rm linux

4. Unpack the original Linux source code using the command:

# tar xvjf linux-a.b.c.tar.bz

After the sources have been installed, they can be found in a
directory named /usr/src/linux-a.b.c or /usr/src/linux.

5. If the symbolic link to the target kernel source directory
(/usr/src/linux) does not exist, create it manually with the
following commands:

# cd /usr/src
# ln -s linux.a.b.c linux
***

6.2 Generating the Driver Patch
--------------------------------

1. Run the sk98lin driver installation script.
2. Choose \"generate patch\".
3. Follow the instructions of the install script.
***

6.3 Applying the Driver Patch
------------------------------

To apply the generated Patch into the kernel use the following
commands:

# cd /usr/src/linux
# cat /patch-location/sk98lin__vX.XX_a_b_c_patch | patch -p1
***

6.4 Configuring the Linux Kernel
---------------------------------

1. Go to the directory /usr/src/linux:

# cd /usr/src/linux

2. Depending on your current environment mode (console or graphical),
you have to invoke different Kernel configuration commands:

- In the console mode, execute the command:

# make menuconfig

- In the graphical mode, execute the command:

# make xconfig

- In the graphical mode with kernel 2.6, execute the command:

# make gconfig

This builds a few programs and displays the kernel
configuration menu. In this menu you can modify several options
of the kernel configuration.

3. Select the options you want to compile into the new kernel.

- For kernel 2.4.x family:
a. Select the menu \"Network Device Support\".
b. Select \"Ethernet (1000 Mbit)\".

- For kernel 2.6.x family:
a. Select the menu \"device drivers\"
b. Select the menu \"Network Device Support\".
c. Select \"Ethernet (1000 Mbit)\".

4. Select how to use the driver in the Linux kernel.

- To compile the driver as a module, mark
\"Marvell Yukon Chipset/SysKonnect SK-98xx Support\" with (M).

- To integrate the driver permanently into the kernel, mark
\"Marvell Yukon Chipset/SysKonnect SK-98xx Support\" with (*).

5. Select if you want to use Rx polling (NAPI).

- To enable Rx polling of the driver, mark
\"Use Rx polling (NAPI)\" with (*).

- To disable Rx polling of the driver, do not mark
\"Use Rx polling (NAPI)\".

6. Select \"Exit\".

7. Select the menu \"Loadable module support\".

8. Select \"Enable loadable module support\".

9. Select \"Kernel module loader\".

10. Configure other options depending on your needs (e.g. SCSI).

11. To quit the configuration, select \"Exit\".

12. When the message \"Do you wish to save your new kernel configuration\"
is displayed, select \"Yes\".
***

6.5 Compiling the Linux Kernel
-------------------------------

After the Linux configuration has been finished, it can be compiled.

1. Create all dependencies (unnecessary for kernel 2.6.x):

# make dep

2. Build the Linux kernel binary:

# make clean bzImage.

3. Build all modules and install them below /lib/modules:

# make modules
# make modules_install
***

6.6 Installing the Compiled Linux Kernel
-----------------------------------------

When the compilation of the Linux kernel has been finished it needs
to be installed to the boot directory. In addition to this, the boot
loader (LILO, GRUB etc.) needs to be notified about the new Linux kernel.

1. Install the new kernel by copying it into your boot directory
by executing the commands (e.g. on Intel/x86 machines):

# cp arch/i386/boot/bzImage /boot/vmlinuz-new
# cp System.map /boot/System.map-new.

2. Edit the boot loader configuration file to boot the new kernel.
For details refer to man page and documentation of your boot loader
(LILO, GRUB).

3. Reboot your system with the new kernel.
***


7 Manual Module Loading
========================

After booting the Linux kernel and compiling the driver as a loadable
kernel module (LKM), the driver needs to be loaded.

1. Enter \"modprobe sk98lin\".

2. If any Marvell Yukon(TM) based adapter is installed in your computer
and you have a mounted /proc file system, execute the command:

# ls /proc/net/sk98lin/

This should produce an output line of the following format:
eth0 eth1 ...
which indicates that your adapter(s) has/have been found and initialized.

NOTE: For further information (e.g. the driver parameters) refer to
the sk98lin.txt file.
***


8 Unloading the Module
=======================

Unloading of the sk98lin driver is only possible if it has been
compiled as loadable kernel module. Before the driver module can be unloaded,
all interfaces of the driver module need to be stopped using the following
sequence of commands:

1. Execute the command \"ifconfig YOUR_DEVICE down\":

# ifconfig eth0 down
# ifconfig eth1 down
# ifconfig ... down

2. Execute the command \"rmmod sk98lin\".
***


9 Driver Parameters
====================

When loading the driver as a kernel module, additional parameters
can be passed to the driver for configuration.

Those parameters can be passed in two ways: You can either

- state them on the modprobe command line
or
- set them in the file /etc/modules.conf (old name:
/etc/conf.modules), in order to force the kernel module loader
to pass them to the driver at load-time.

NOTE: For further information about the driver parameters and their
possible values refer to the sk98lin.txt file.
***


10 Ethtool Commands
====================

The sk98lin driver provides built-in ethtool support. The ethtool
can be used to display or modify interface specific configurations.

NOTE: For further information about provided ethtool commands and their
possible values refer to the sk98lin.txt file.
***


11 Troubleshooting
===================

If any problems occur during the installation process, check the
following list of known problems. If you cannot find your problem
in the list below, please contact SysKonnect\'s technical support
for help ([email protected]). When contacting our technical
support, please ensure that the following information is available:

- the \'install.log\' file created by the install script \'install.sh\'
- System Manufacturer and HW Informations (CPU, Memory... )
- PCI-Boards in your system
- Distribution
- Kernel version
- Driver version

Problem: The SK-98xx adapter cannot be found by the driver.
Solution: In /proc/pci search for the following entry:
\'Ethernet controller: SysKonnect SK-98xx ...\'
If this entry exists, the SK-98xx or SK-98xx V2.0 adapter has
been found by the system and should be operational.
If this entry does not exist or if the file \'/proc/pci\' is not
found, there may be a hardware problem or the PCI support may
not be enabled in your kernel.
The adapter can be checked using the diagnostics program which
is available on the SysKonnect web site:
www.syskonnect.com


Problem: Programs such as \'ifconfig\' or \'route\' cannot be found or the
error message \'Operation not permitted\' is displayed.
Reason: You are not logged in as user \'root\'.
Solution: Logout and login as \'root\' or change to \'root\' via \'su\'.


Problem: The driver can be started, but if an ip address is assigned
to an adapter no link up indication appears although it is
connected to the network. It is also not possible to receive
or transmit any packets; e.g. \'ping\' does not work.
Reason: The adapter does not receive any interrupts from the Linux
system. This can happen when using the APIC (Advanced
Programmable Interrupt Controller) of an SMP compiled kernel
on a UP envrionment.
Solution: Use the Linux kernel parameters \'noapic\' or \'nolapic\' when
booting your kernel. This can be done by adding those kernel
parameters to the boot manager kernel selection menu (either
/boot/grub/menu.lst (GRUB) or /etc/lilo.conf (LILO)).
When you build a kernel, deselect option CONFIG_X86_LOCAL_APIC.


Problem: The driver can be started, the adapter is connected to the
network and a link up indication is displayed, but you cannot
receive or transmit any packets; e.g. \'ping\' does not work.
Reason: There is an incorrect route in your routing table or the
remote host is unreachable.
Solution: Check the routing table with the command \'route\' and read the
manual help pages dealing with routes (enter \'man route\').
Check the connection to the remote host system.


Problem: At driver start, the following error message is displayed:
\"eth0: -- ERROR --
Class: internal Software error
Nr: 0xcc
Msg: SkGeInitPort() cannot init running ports\"
Reason: You are using a driver compiled for single processor machines
on a multiprocessor machine with SMP (Symmetric MultiProcessor)
kernel.
Solution: Configure your kernel appropriately and recompile the kernel.
***


***End of Readme File***

---------------------------------------------------------------------------------



문의 메일 : [email protected]
문의 전화 : 02-3444-1601

 

참고 자료 : www.ntccube.com (리눅스 기술 지원 업체)

-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-

 

현재 가지고 계시는 sata는 Red Hat Enterprise Linux 3 update6 부터 지원 되는 사항입니다.

 

다른 OS는 아직 테스트를 하지 못하여 답변을 못드린점 죄송합니다.

 

기타 질문이 있으시면 저의 블로그에 질문을 올려주시기 바랍니다.

 

- 바두기 생각 -

 

감사합니다.

노트북 리눅스 설치 질문입니다.

노트북에 리눅스 서버 설치 하고 싶은데요 삼성 센스 R-70이구요 사향은 intel(R) Core(TM)2 Duo CPU T7250 @ 2.00GHZ 2.00GHz, 3.00GB RAM 질문인데요 1. 제 노트북에 리눅스 설치 가능할까요?...

리눅스 설치 질문입니다.

제가 리눅스를 fedora 2,3 까지 깔아보고... Ethernet * 설치 사례 - 하드웨어 정보... 기타 질문이 있으시면 저의 블로그에...

CentOS 리눅스 설치 질문입니다

... 3번째 질문입니다만.. 리눅스를 처음 시작할 때 startd 에서 실패가 뜨고 sandmail... 리눅스설치 끝나고 부트로더 어디에 설치할지 물어봅니다. 이때 리눅스깔린...

리눅스 설치 질문입니다...

... 궁금한게 몇가지 있어서 질문드립니다... 1. 설치전 반드시 파티션 설정을 미리 해놓아햐 하는건가요? (리눅스용 파티션으로) 2. 멀티 부팅으로 사용을 하려고 합니다..... C...

리눅스 설치관련 질문입니다.

리눅스 설치 하려고 하는데요. 현재 하드가 2개 있습니다. frimary 드라이브는 40기가구요 xp프로깔려있습니다. secondary 드라이브는 20기가구요 잡다한 파일들 있습니다....

리눅스 설치 질문입니다.

... 제가 리눅스 레드햇9.0버전을 LCD파일로 3개 다운 받았는데 설치하는 방법을 전혀 모릅니다. 운영체제를 LCD파일로 어떻게 설치 하나요...ㅡ,.ㅡ;; 알려주세요~ 페도라...

리눅스 페도라 설치 질문입니다.

... 노트북에 윈XP Home 과 리눅스 페도라 를 같이 설치해도 되나요? 노트북 기종은 삼성 센스 R-50 입니다. 같이 설치한다는 말은 멀티부팅을 말씀하시는지 아니면 VMware를...

15z960-mn5bl 리눅스 설치 질문

... 제품은 리눅스 설치 중에 gui가 포함된 배포판을 설치하도록 하고, 설치 이후에도... 하여 설치를 진행하도록 해요. 질문 부분에 추가 하거나 설치하려는 운영체제...

맨드레이크 리눅스 설치 질문입니다 ^^

... 서버전용으로 나온 리눅스 입니다. 설치또한 아주쉬워요. 씨디 넣구 부팅시키면 설치또한 자동으로 해주죠. 서버 설정또한 사용자가 리눅스에 대한...