LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 07-08-2003, 07:54 PM   #16
ecriep
LQ Newbie
 
Registered: Jun 2003
Location: Texas
Distribution: Slackware (Hopefully)
Posts: 11

Original Poster
Rep: Reputation: 0
slackware 7.1 deadend


Tobyl:

This is from system---->device manager:

One partition per each, c: and d:, 40 gig each
Ide drives
Primary ide controller - dual fifo
Secondary ide controller - dual fifo
VIA Bus master PCI IDE controller
There are scsi controllers also
HPT RCM device
HPT370 UDMA?ATA100 RAID controller
IOMEGA parallel port Zip interface (not used)

The other drives are dvd, cdrw, and floppy

I couldn't find anything specific about ide channels, but in bios setup it says
IDE primary master dvd-rom dvd1
IDE primary slave CRW2100E
(which correspond to my dvd and cdrw drives)
IDE secondary master/slave (both "none")

This is a dump of everything from the boot screen that looks like it might refer to drives:

RAM disk driver initialized: 16 RAM disks of 4096k size
Loop: registered device at major 7
VP_IDE: IDE controller on PCI bus 00 dev 39
VP_IDE: not 100% native mode: will probe irgs later
ide0: BM-DMA at 0xa000-0xa007, bios settings: hdaMA, hdbMA
ide1: BM-DMA at 0xa008-0xa00f, bios settings: hdcio, hddio
hda: Creative dvd-rom dvd1241E, atapi cdrom drive
hdb: Yamaha crw2100E, atapi cdrom drive
ide0 at 0x1f0-ox1f7, 0x3f6 on irq 14
hda: atapi 40X dvd-rom drive, 512kb cache
Uniform cd-rom driver revision: 3.10
hdb: atapi 40X cd-rom cd-r/rw drive, 8192kb cache
floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
md driver 0.36.6 MAX_MD_DEV=4, MAX_REAL=8
linear personalty registered
raid0 personality registered
scsi: <fdomain> detection failed (no card)
NCR53c406a: no available ports found
sym53c416.c: version 1.0.0
scsi: 0 hosts
scsi: detected total.
Partition check:
atapi device hdb:
Error: not ready -- (sense key=0x02)
(reserved error code)--(asc=0x3a, asc=0x01)
The failed "Read Cd/Dvd Capacity" packet command was:
"25 00 00 00 00 00 00 00 00 00 00 00 "
VFS: Cannot open root device 03:01
kernel panic: VHS: Unable to mount root fs on 03:01
_

I think I remember trying different orders for boot devices without effect. But it apparently thinks hda and hdb are the dvd and cdrw drives?

Hdc1? I tried that earlier but it didn't work. Also, now I wonder why windoze isn't messed?

In faith, Dave
dave@christos.cjb.net
Viva Texas
 
Old 07-09-2003, 01:38 PM   #17
tobyl
Member
 
Registered: Apr 2003
Location: uk
Distribution: slackware current
Posts: 743

Rep: Reputation: 50
That's it then!
Your hard disks are connected via the scsi controller.
You will most likely need a different kernel image.

See where it says
scsi: <fdomain> detection failed (no card)
NCR53c406a: no available ports found
sym53c416.c: version 1.0.0
scsi: 0 hosts
scsi: detected total.

I will look into this and get back to you
 
Old 07-09-2003, 02:45 PM   #18
tobyl
Member
 
Registered: Apr 2003
Location: uk
Distribution: slackware current
Posts: 743

Rep: Reputation: 50
major edit:
Dave, I have done a lot of reading on your behalf!
It is not good news I'm afraid. The Highpoint controller you have is quite recent, and it is possible to patch the kernel from 2.2.19 or later to work with this device. The 7.1 bigslack uses 2.2.16.
There are people who have got their linux system working with this controller, but really you need to be as up to date as possible, and I dont think you are going to have much luck with bigslack 7.1.
Ironically enough, you mobo has normal ide connectors as well, and if you had a HD plugged in to one of these it would probably work. I would be too wary of messing things up to advise you here.
Highpoint say on their website that linux is supported, but you need to be pretty clued up. Unless your motherboard manufacturer has a solution, you would need to build a driver using the 'Linux open source release for HPT370/370A'
from http://www.highpoint-tech.com/ - but this seems to require that you already have linux installed (so presumably you need a normal ide set-up first)!
If you wanted to install a HD on a spare ide channel, you would maybe have a chance, otherwise I guess you will have to wait until support for this controller is in the kernel proper.
note: I may be wrong! someone else may be able to advise you better!

regards
tobyl

Last edited by tobyl; 07-09-2003 at 05:40 PM.
 
Old 07-09-2003, 07:16 PM   #19
ecriep
LQ Newbie
 
Registered: Jun 2003
Location: Texas
Distribution: Slackware (Hopefully)
Posts: 11

Original Poster
Rep: Reputation: 0
slackware 7.1 deadend

tobyl:

It looks like you HAVE done a lot of work for me. You've restored my faith in gurus after I posted on 4 other forums and got a lot of views but no replies. If you need a recommendation, give them my email address. Or, when you come to Texas, stop by for some briskit baked in the hole. There is nothing finer than that! I appreciate digiot's effort also.

Do I understand? Although the Windows System Properties Device Manager shows the hard disk controllers to all be IDE (Primary and Secondary, both fifo - whatever that is, and the third a VIA Bus Master PCI IDE), the hard drives are actually hooked up to the scsi controllers?

I have 3 scsi controllers: HPT ROM device, HPT370 udma/ata100 RAID, and an unused iomega parallel port zip interface. So you're saying the HDs are hooked up to the second controller? Isn't that weird? :^)

And, to correct it I can plug the HDs into the spare IDE plugs? (Well, not me, but the computer doc because I don't know what that will do to windows; heck, I don't even know what an IDE plug looks like ). And then linux will see what it's supposed to see? (*Large grin spreads slowly across Dave's face as he leans back in chair and punches clenched fist toward ceiling*)

One thing... what if I tried root=\dev\sda1 in my DOS boot floppy?

In faith, Dave
dave@christos.cjb.net
Viva Texas
 
Old 07-09-2003, 08:40 PM   #20
ecriep
LQ Newbie
 
Registered: Jun 2003
Location: Texas
Distribution: Slackware (Hopefully)
Posts: 11

Original Poster
Rep: Reputation: 0
tobyl: I talked to the computer doc and he said what you said made sense. Something about an extra scsi controller or driver in there which he had noticed and wondered why I had it, but which he can't work on until the weekend. So I'll get back in touch then.

Many thanks. I hope now it's on its way to being fixed.

In faith, Dave
dave@christos.cjb.net
Viva Texas

 
Old 07-10-2003, 01:34 PM   #21
tobyl
Member
 
Registered: Apr 2003
Location: uk
Distribution: slackware current
Posts: 743

Rep: Reputation: 50
Dave

First I guessed that you mothrboard had an extra highpoint raid controller card, but then it occurred to me that you may have a mobo such as the abit KX7, which has the usual ide channels plus an onboard highpoint controller for raid. I think your setup may be something like this:

IDE primary master dvd-rom dvd1
IDE primary slave CRW2100E
IDE secondary master/slave (both "none")
HPT raid0 C drive
HPT raid1 D drive

Raid can be set up in a number of ways, using 'striping' etc, either to maximise performance, or for security of your data,
when the data is mirrored on each disk. I guess that it is also possible to use the raid ports without using the raid facility, in which case you would have 80 gig of storage instead of 40 gig with raid in use. There is some intelligence in using this method, as the computer's access to the cd devices would not be interrupted when the HDs were accessed, although I would have thought if this was the reason, the cd's would also be on separate ide channels.

Windows works ok with your current setup because Highpoint and Promise and other ide controller manufacturers design them with windows in mind, and their operation appears seamless to the user. They also jealously guard their firmware code, making it difficult for linux developers to figure out how they work, and how to implement them in the linux kernel. Hence your problem.

FIFO means 'first in,first out' and merely describes the way data is handled by the device, the data waiting to be accessed sits in a 'stack' and the oldest stuff gets handled first. This seems to be the most common method, though I have heard of LIFO.

If my assumptions are correct, then your doc will almost certainly be able to move your disks, probably without any performance hit at all. The other good thing is that fixing it for Bigslack will fix it for any other linux distribution you may wish to try.

Of course I could be completely wrong!

If I ever make it to Texas I will take you up on your offer of briskit baked in the hole - sounds good!


regards, tobyl
 
Old 07-10-2003, 02:48 PM   #22
ecriep
LQ Newbie
 
Registered: Jun 2003
Location: Texas
Distribution: Slackware (Hopefully)
Posts: 11

Original Poster
Rep: Reputation: 0
tobyl:

What you're saying now is basically what the doc said. He also said disabling the extra driver should result in a performance improvement even in windoze. He didn't mention it earlier because I hadn't complained and he doesn't mess with things which aren't broke, but now that I've asked he's got a couple of other ideas too....

I wish I could discover how 'raid0 c drive' translates into Linux :^).

There are an awful lot of somethings in /dev. They include things like fd0, hda1, and etc, but nothing that includes raid. I did see an scd series and an sda series - do they have any relevance for my problem? Is there any documentation which explains what all those things are?

If I ever make it across the water, I'll dig a hole for you in your back yard and do a briskit right there. You can even keep the hole!

In faith, Dave
dave@christos.cjb.net
Viva Texas
 
Old 07-10-2003, 05:10 PM   #23
tobyl
Member
 
Registered: Apr 2003
Location: uk
Distribution: slackware current
Posts: 743

Rep: Reputation: 50
Earlier in this thread I gave you an idea of the names for ide drives, hda,hdb etc, but I did not explain the scsi stuff very well (I was a bit unsure myself).

Well the stuff that begins with s, eg scd and sda are scsi.
sda is a scsi disk
scd is a scsi cdrom

fd0 is a floppy device.

it gets more complicated with cd writers, as they have to be used as if they are scsi, even if they are atapi (ide), but you can get to grips with that stuff later.



the kernel docs say a lot more:

ftp://www.kernel.org/pub/linux/docs/...st/devices.txt

your c drive is probably /dev/scd0
but it will not work as the kernel does not contain a driver with which to access it (i think)


but dont worry too much, you should be back to hda, hdb etc after your doc's visit. Most people get by without reading this stuff!

tobyl
 
Old 07-10-2003, 09:42 PM   #24
ecriep
LQ Newbie
 
Registered: Jun 2003
Location: Texas
Distribution: Slackware (Hopefully)
Posts: 11

Original Poster
Rep: Reputation: 0
Scd0 I thought was worth a try. /dev has an scd0 thingie in it. But naaahh . Linux tries to check the partition on hdb and then goes bad. Same with using scd0. Patience, Dave!

In faith, Dave
dave@christos.cjb.net
Viva Texas
 
  


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
About Slackware 9.1 boot disk?? ftp://ftp.kpn.be/pub/linux/slackware/slackware-9.1-is AL3OMDAH Slackware 4 04-18-2007 09:54 AM
Dual boot windows/slackware, but slackware installed first? Cryptic_K Slackware 3 11-20-2006 12:49 PM
Slackware 10 RC2 released; Slackware 10 imminent... SBing Slackware 22 06-22-2004 07:53 AM
Newer Slackware Packages on older slackware version pengStudent Slackware 2 11-12-2003 12:47 PM
wine and winesetuptk working well with slackware 9.0 and slackware 9.1 oobe Linux - Software 0 10-19-2003 12:29 PM


All times are GMT -5. The time now is 12:15 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration