LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   HPT 370 again.. and the created scsi device (https://www.linuxquestions.org/questions/linux-hardware-18/hpt-370-again-and-the-created-scsi-device-39340/)

Timeeh 12-25-2002 06:49 AM

HPT 370 again.. and the created scsi device
 
Hi everyone...i have read through all the returned subjects that came back with the searchfunction... but all solutions didnt seem to work, or apply.

i have the following problem, and hope someone could give me a hint.
i installed the hpt37x2 drivers as severly times stated in other posts and also tried out the stuff that comes with the driver.
and all the software and driver thingy seems to work because in my "hwconf" file the raid device is supposed to be on the /dev/sda as follows:

class: HD
bus: SCSI
detached: 0
device: sda
driver: ignore
desc: "Hpt inc. HPT37x2 RAID 0"
host: 1
id: 0
channel: 0
lun: 0

but now the problem is, if i try to access the /dev/sda with fdisk or parted i get an error return, that the device cannot be opened... :(

can anyone help me please?

thank you in advance..
zeas Timeeh

singsong33 12-30-2002 09:40 AM

bump
 
Yeah, me too.

I've got another thread running -been getting pretty quick responses.

http://www.linuxnewbie.org/forum/sho...threadid=82017

I hope this isn't against forum rules.

jtlinux1967 01-03-2003 05:22 PM

What flavor linux are you running? I have RH8 installed ..yes install on a raid 0 setup with the hpt37x controller...using the scsi emulation. Its very stable but very slow..poor scsi emulation.
The get the 2.4.19 kernel with the ac4 patch and use the ataraid drivers. Build a boot disk first with this setup...it's allot eaiser and faster to work with the floppy until you can perfect it..worked for me. PERSISTANCE :)

hojan 02-21-2004 10:58 AM

Hi,

did you ever get this to work? I have nearly the same setup, with HPT370 IDE RAID controllers, RedHat9, kernel 2.4.20-8 (using this kernel just to use the compatible hpt327x module).

kudzu sees the RAID-controller, and my two disks on the two channels. I downloaded lshw (http://ezix.sourceforge.net/software/lshw.html) which also sees my driver.

But there's no device behind the /dev/sda (or /dev/sdXx either)... I cannot understand why.It's been a while since I used Linux, I'm used to ioscan in HP/UX or devfsadm in Solaris, but how do you do this in Linux?

Please advice?

usethesource 02-21-2004 11:12 AM

I'm using this same device for my Raid0 my raid device is /dev/ataraid/d0

That's on a Slackware Box

hojan 02-21-2004 11:31 AM

Hmm, kinda makes senses, but it's not the case for me unfortunately.

From messages:
Feb 21 18:21:17 sodom kernel: Device Driver for HPT37x2 ATA RAID Controller
Feb 21 18:21:17 sodom kernel: Version 1.35, Compiled Aug 20 2003 13:31:53
Feb 21 18:21:17 sodom kernel: Found Controller: HPT370 UDMA/ATA100 RAID Controller
Feb 21 18:21:17 sodom kernel: scsi1 : hpt37x2
Feb 21 18:21:17 sodom kernel: Vendor: HPT Inc. Model: HPT37x2 RAID 0 Rev: 1.05
Feb 21 18:21:17 sodom kernel: Type: Direct-Access ANSI SCSI revision: 02

from /etc/sysconfig/hwconf:
class: OTHER
bus: PCI
detached: 0
driver: unknown
desc: "Triones|HPT366/368/370/370A/372"
vendorId: 1103
deviceId: 0004
subVendorId: 1103
subDeviceId: 0001
pciType: 1

from output of lshw: *-storage
description: Unknown mass storage controller
product: HPT366/368/370/370A/372
vendor: Triones Technologies, Inc.
physical id: 13
bus info: pci@00:13.0
version: 04
clock: 66MHz
capabilities: storage bus_master cap_list
configuration: driver=HPT366
resources: ioport:d800-d807 ioport:dc00-dc03 ioport:e000-e007 ioport:e400-e403 ioport:e800-e8ff irq:11
*-scsi
description: SCSI storage controller
physical id: 3
bus info: scsi@1
logical name: scsi1
configuration: driver=hpt37x2
*-channel
description: Channel 0
physical id: 0
bus info: scsi@1:0
*-disk UNCLAIMED
description: SCSI Disk
product: HPT37x2 RAID 0
vendor: HPT Inc.
physical id: 0
bus info: scsi@1:0:0.0
version: 1.05
configuration: ansiversion=2
H/W path Device Class Description
=================================================================

/0/e0000000/13 storage Unknown mass storage controller
/0/3 scsi1 storage SCSI storage controller
/0/3/0 bus Channel 0
/0/3/0/0 disk SCSI Disk


hmmm, now I see an unknown "Unknown mass storage controller" using driver HPT366.
Could this be a clue? Screwing things up for the hpt37x2 driver?

I have to try and remove the "older" driver. Paraphrasing an American politician - I'll be back.

usethesource 02-21-2004 11:36 AM

my room mate and i jacked with this thing for like 2 hours last night. i kept hearing about some scsi emulation and never got it to work. when i stopped jacking with that, and loaded the raid kernel options and the HPT kernel options, and set up the raid0 in the bios, it worked the first time. slackware has a boot kernel specifically for ataraid configurations.. i would imagine other distros would too.

hojan 02-21-2004 11:58 AM

Trying to compile a new kernel now, but support for ide raid and highpoint 370 software raid are greyed out no matter what I click? any hints?

usethesource 02-21-2004 01:09 PM

what kernel version are you using? possibly experimental? might make sure experimental drivers are turned on. also, what options do you have turned on under multi-device support?


All times are GMT -5. The time now is 02:53 PM.