LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 04-12-2003, 12:14 PM   #1
Sir Wallace
LQ Newbie
 
Registered: Oct 2002
Location: ITALY
Distribution: RH8
Posts: 13

Rep: Reputation: 0
Debian woody and HPT370


Hi!
I've an abit KT7-RAID (KT133 - whith onboard HPT370 raid controller). I've downloaded the source driver from hpt web site and compiled it.
insmod hpt37x2.o and sd_mod works fine... but, after the boot, i've /dev/hdh1 and /dev/sdc1... and this is not good.
All my hd (3) are in this controller.
lilo, winXP, and 3 debian kernel live whithout any prob...
How can'i load at boot time scsi driver?
I try to follow some guide (hpt official), but with debian is pretty difficult...
I use the 2.4.20 kernel, patched ck4 (all from the source, no .deb pack).
Try to use mkinitrd, putting the htp37x2.o driver in /lib/modu...../scsi/ and adding line in
/etc/mkinitrd/modules
to load sd_mod and hpt37x2, but nothing work... kernel panic (cannot find root directory 'ram0')
the 'dir' exist...

brw-rw---- 1 root disk 1, 0 Mar 22 18:39 /dev/ram0

my lilo is:

Quote:
lba32
#linear
# Generated by liloconfig

DISK=/dev/hdh
BIOS=0x82
SECTORS=63
HEADS=128
CYLINDERS=784

DISK=/dev/hde
BIOS=0x80
SECTORS=63
HEADS=255
CYLINDERS=2491

# Specifies the boot device
boot=/dev/hde

prompt
timeout=200
verbose=3
#menu-title="Sir Wallace Station"

# Specifies the device that should be mounted as root.
# If the special name CURRENT is used, the root device is set to the
# device on which the root file system is currently mounted. If the root
# has been changed with -r , the respective device is used. If the
# variable ROOT is omitted, the root device setting contained in the
# kernel image is used. It can be changed with the rdev program.
#root=/dev/hdh1

# Enables map compaction:
# Tries to merge read requests for adjacent sectors into a single
# read request. This drastically reduces load time and keeps the map
# smaller. Using COMPACT is especially recommended when booting from a
# floppy disk.
compact

# Install the specified file as the new boot sector.
# If INSTALL is omitted, /boot/boot.b is used as the default.
install=/boot/boot.b

bitmap=/boot/debian.bmp
#bmp-colors=5,15,,3,8,
#bmp-table=20,10,1,5
#bmp-timer=60,15,5,15,
bmp-colors=13,,0,1,,0
bmp-table=30p,100p,1,10
bmp-timer=35p,200p,13,,0

# Specifies the number of _tenths_ of a second LILO should
# wait before booting the first image. LILO
# doesn't wait if DELAY is omitted or if DELAY is set to zero.
delay=20

# Specifies the location of the map file. If MAP is
# omitted, a file /boot/map is used.

map=/boot/map

# Specifies the VGA text mode that should be selected when
# booting. The following values are recognized (case is ignored):
# NORMAL select normal 80x25 text mode.
# EXTENDED select 80x50 text mode. The word EXTENDED can be
# abbreviated to EXT.
# ASK stop and ask for user input (at boot time).
# <number> use the corresponding text mode. A list of available modes
# can be obtained by booting with vga=ask and pressing [Enter].
vga=normal

image=/boot/vmlinuz-2.4.20-ck4hpt
root=/dev/hdh1
initrd=/boot/initrd-2.4.20-ck4hpt.img
Label="Deb 2.4.20hpt"
read-only
append="root=/dev/ram0 init=/linuxrc rw hda=ide-scsi hdc=ide-scsi"

image=/boot/vmlinuz-2.4.20-ck4.2
root=/dev/hdh1
Label="Deb 2.4.20ck4.2"
read-only
append="hda=ide-scsi hdc=ide-scsi"

image=/boot/vmlinuz-2.4.20-ck4
root=/dev/hdh1
Label="Deb 2.4.20ck4"
read-only
append="hda=ide-scsi hdc=ide-scsi"

image=/boot/vmlinuz-2.4.18-bf2.4
root=/dev/hdh1
Label="Deb 2.4.18bf"
read-only
append="hda=ide-scsi hdc=ide-scsi"

# If you have another OS on this machine (say DOS),
# you can boot if by uncommenting the following lines
# (Of course, change /dev/hda2 to wherever your DOS partition is.)

other=/dev/hde1
label="Winzoz XP"
Some suggestion? Some link, discussion, hint, miracles?



10x
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
HPT370 & Debian 3.0R1 install confusion blaint Linux - Hardware 0 11-13-2003 10:31 AM
HPT370 & Debian 3.0R1 Confusion blain Linux - Newbie 1 11-12-2003 07:36 PM
Debian Woody Streams Linux - Newbie 3 08-18-2003 04:33 PM
debian(woody)/x help majesticsock Linux - Newbie 7 08-10-2003 06:44 PM
Debian HPT370 Raid Works for 2.4.18-bf24 however probs with kern upgrade trotfox Linux - Hardware 1 04-12-2003 12:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 08:48 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration