LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 07-16-2004, 02:01 AM   #1
ludeKing
Member
 
Registered: Jul 2003
Location: NSW. Australia
Distribution: Ubuntu, Fedora, Slackware
Posts: 181

Rep: Reputation: 30
recognising ide3 and ide4 channels. how?


i all,

I've been trying to do this for ages... basically get linux to recognise devices that are plugged into my 3rd and 4th ide connectors on my mobo. The motherboard is a Gigabyte GA-7VAXP.

They are meant for RAID, but in the BIOS I can switch them to ATA mode so I can use normal IDE/ATAPI devices on them. Currently I have an ATAPI Zip drive and a 6GB HDD plugged into the 3rd IDE channel.

Windoze can recognise and utilise them fine, but I can't see anything in Linux. I am running Slack 10.0, but also didn't work on Slack 9.1, and there is nothing of interest in the output from dmesg.

I have tried appending an hdx=ide-scsi to them (where x was from e to about i), but nothing (that was in slack 9.1 though).

Would like my zip drive to go in Linux, but also want to be able to boot from the 6gb HDD so I can run a third OS. But if Linux can't recognise the drive, then neither will LILO.

hmm.
 
Old 07-16-2004, 03:10 AM   #2
Frustin
Member
 
Registered: May 2002
Location: Essex, UK
Distribution: Debian, Redhat, AIX 5L
Posts: 512

Rep: Reputation: 30
You need to use the "append line" in lilo.

whats the output of:

less /proc/pci

something like this?

Bus 0, device 17, function 0:
Unknown mass storage controller: Promise Technology Unknown device (rev 2).
Vendor id=105a. Device id=d30.
Medium devsel. IRQ 10. Master Capable. Latency=32.
I/O at 0x9400 [0x9401].
I/O at 0x9000 [0x9001].
I/O at 0x8800 [0x8801].
I/O at 0x8400 [0x8401].
I/O at 0x8000 [0x8001].
Non-prefetchable 32 bit memory at 0xd5800000 [0xd5800000].

ideX=IO1,IO2+0x0002,IRQ1 ideY=IO3,IO4+0x0002,IRQ2
where ideX and ideY are the two IDE ports of Promise card our free disks are using.

So in the case above you'd have:

ide2=0x9400,0x9002,10 ide3=0x8800,0x8402,10

PCI bus irq sharing is on by default, which is why the irqs are the same.

so the append line would look like:

append="ide2=0x9400,0x9002,10 ide3=0x8800,0x8402,10"
 
Old 07-16-2004, 07:47 PM   #3
ludeKing
Member
 
Registered: Jul 2003
Location: NSW. Australia
Distribution: Ubuntu, Fedora, Slackware
Posts: 181

Original Poster
Rep: Reputation: 30
Thanks for that, I will be back at my PC in a few days so will try it then. I know the raid controller is being picked up, I just don't think any ide lines are present....
 
Old 07-19-2004, 02:39 AM   #4
Frustin
Member
 
Registered: May 2002
Location: Essex, UK
Distribution: Debian, Redhat, AIX 5L
Posts: 512

Rep: Reputation: 30
if the controller is being picked up then you will see the ide lines in /proc/pci.
 
Old 07-27-2004, 09:47 PM   #5
ludeKing
Member
 
Registered: Jul 2003
Location: NSW. Australia
Distribution: Ubuntu, Fedora, Slackware
Posts: 181

Original Poster
Rep: Reputation: 30
The IDE lines are NOT there. I just got back from hols and checked.... the Promise controller is there however and looks much the same to yours except for the IDE lines. I haven't got lspci output yet as my modem just stopped working in linux so I can't post it just yet.

But definitely no IDE lines
 
Old 07-28-2004, 02:53 AM   #6
Frustin
Member
 
Registered: May 2002
Location: Essex, UK
Distribution: Debian, Redhat, AIX 5L
Posts: 512

Rep: Reputation: 30
well, get that information and lets have a look at it.
 
Old 07-28-2004, 03:41 AM   #7
ludeKing
Member
 
Registered: Jul 2003
Location: NSW. Australia
Distribution: Ubuntu, Fedora, Slackware
Posts: 181

Original Poster
Rep: Reputation: 30
here ya go!
Code:

00:0f.0 RAID bus controller: Promise Technology, Inc. PDC20276 IDE (rev 01) (prog-if 85)
	Subsystem: Giga-byte Technology: Unknown device b001
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
	Status: Cap+ 66Mhz+ UDF- FastB2B- ParErr- DEVSEL=slow >TAbort- <TAbort- <MAbort- >SERR- <PERR-
	Latency: 32 (1000ns min, 4500ns max), cache line size 08
	Interrupt: pin A routed to IRQ 11
	Region 0: I/O ports at b800 [size=8]
	Region 1: I/O ports at bc00 [size=4]
	Region 2: I/O ports at c000 [size=8]
	Region 3: I/O ports at c400 [size=4]
	Region 4: I/O ports at c800 [size=16]
	Region 5: Memory at ea000000 (32-bit, non-prefetchable) [size=16K]
	Capabilities: [60] Power Management version 1
		Flags: PMEClk- DSI+ D1+ D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
		Status: D0 PME-Enable- DSel=0 DScale=0 PME-
 
Old 07-28-2004, 03:43 AM   #8
Frustin
Member
 
Registered: May 2002
Location: Essex, UK
Distribution: Debian, Redhat, AIX 5L
Posts: 512

Rep: Reputation: 30
ok, now go back and read what i wrote in reply to your first post again about the "append" line in the lilo.conf.
 
Old 07-29-2004, 07:39 AM   #9
ludeKing
Member
 
Registered: Jul 2003
Location: NSW. Australia
Distribution: Ubuntu, Fedora, Slackware
Posts: 181

Original Poster
Rep: Reputation: 30
I don't get it. What would my 'append line' look like as I have no entries like your ide2/ide3 lines in my lspci about the raid controller!?
 
Old 07-29-2004, 07:55 AM   #10
Frustin
Member
 
Registered: May 2002
Location: Essex, UK
Distribution: Debian, Redhat, AIX 5L
Posts: 512

Rep: Reputation: 30
lets look at the relevant bits of mine:

Medium devsel. IRQ 10. Master Capable. Latency=32.
I/O at 0x9400 [0x9401].
I/O at 0x9000 [0x9001].
I/O at 0x8800 [0x8801].
I/O at 0x8400 [0x8401].
I/O at 0x8000 [0x8001].

and now lookat the _same_ relivant bits of yours:

Interrupt: pin A routed to IRQ 11
Region 0: I/O ports at b800 [size=8]
Region 1: I/O ports at bc00 [size=4]
Region 2: I/O ports at c000 [size=8]
Region 3: I/O ports at c400 [size=4]
Region 4: I/O ports at c800 [size=16]

This is the way that it should be set out in the append line:

ideX=IO1,IO2+0x0002,IRQ1 ideY=IO3,IO4+0x0002,IRQ2

where ideX and ideY are the two IDE ports of Promise card our free disks are using (in your case ide2 and ide3).

so the append line in _my_ case looks like this:

ide2=0x9400,0x9002,10 ide3=0x8800,0x8402,10

look at the addresses, `0x' means its a hex number. my addresses are all in hex but you still need to tell lilo that information. looking at your addresses they are all in hex arnt they? Based on that, what will your append line look like?
 
Old 07-29-2004, 09:08 AM   #11
ludeKing
Member
 
Registered: Jul 2003
Location: NSW. Australia
Distribution: Ubuntu, Fedora, Slackware
Posts: 181

Original Poster
Rep: Reputation: 30
Dammit you sound like my uni lecturer, turning solutions into questions :P !!

Ok, I'll have a stab. From the general format you gave of
Code:
ideX=IO1,IO2+0x0002,IRQ1 ideY=IO3,IO4+0x0002,IRQ2
then each becomes
Code:
ide2=bc00,c000,11 and ide3=c400,c800,11
so should the append line now be:
Code:
append="ide2=bc00,c000,11 ide3=c400,c800,11"
Anywhere near right?

Last edited by ludeKing; 07-29-2004 at 09:10 AM.
 
Old 07-29-2004, 09:14 AM   #12
ludeKing
Member
 
Registered: Jul 2003
Location: NSW. Australia
Distribution: Ubuntu, Fedora, Slackware
Posts: 181

Original Poster
Rep: Reputation: 30
Or should that be


append="ide2=0xbc00,0xc000,11 ide3=0xc400,0xc800,11"

with the addition of the 0x's.
 
Old 07-29-2004, 09:25 AM   #13
Frustin
Member
 
Registered: May 2002
Location: Essex, UK
Distribution: Debian, Redhat, AIX 5L
Posts: 512

Rep: Reputation: 30
nearly, the format is a bit misleading as addresses start from 0 not 1 so it should be IO0 rather than IO1. Also you forgot to add the 0x0002 to move up the address range.

Interrupt: pin A routed to IRQ 11
Region 0: I/O ports at b800 [size=8]
Region 1: I/O ports at bc00 [size=4]
Region 2: I/O ports at c000 [size=8]
Region 3: I/O ports at c400 [size=4]
Region 4: I/O ports at c800 [size=16]

ideX=IO1,IO2+0x0002,IRQ1 ideY=IO3,IO4+0x0002,IRQ2

ideX = ide2
IO1 = 0xb800
IO2 + 0x0002 = bc00 + 0002 = 0xbc02
IRQ1 = IRQ2 = 11
ideY = ide3
IO3 = c000
IO4 + 0x0002 = c400 + 0002 = 0xc402

stick those into the append line you just wrote.
 
Old 07-29-2004, 08:31 PM   #14
ludeKing
Member
 
Registered: Jul 2003
Location: NSW. Australia
Distribution: Ubuntu, Fedora, Slackware
Posts: 181

Original Poster
Rep: Reputation: 30
Quote:
ideX=IO1,IO2+0x0002,IRQ1 ideY=IO3,IO4+0x0002,IRQ2

ideX = ide2
IO1 = 0xb800
IO2 + 0x0002 = bc00 + 0002 = 0xbc02
IRQ1 = IRQ2 = 11
ideY = ide3
IO3 = c000
IO4 + 0x0002 = c400 + 0002 = 0xc402
right so it becomes:
Code:
append="ide2=0xb800,0xbc02,11 ide3=c000,0xc404,11"
If so, i'll whack it in and reboot.
But why? I don't understand the hex thing etc.
 
Old 07-30-2004, 02:24 AM   #15
Frustin
Member
 
Registered: May 2002
Location: Essex, UK
Distribution: Debian, Redhat, AIX 5L
Posts: 512

Rep: Reputation: 30
"don't understand the hex thing etc." what dont you understand? You have to be more clear than that i'm afraid.
 
  


Reply



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
Not recognising Partition!! Azzath Slackware 4 03-13-2005 07:23 PM
Mounting ATAPI Zip on IDE3 Channel ludeKing Linux - Hardware 4 03-18-2004 05:50 PM
Installing to IDE3, IDE5 gjh Linux - Hardware 1 09-11-2003 05:52 PM
Problem Recognising NIC gladhe8r Linux - Networking 2 08-11-2002 11:35 AM
Old BIOS not recognising linux vinref Linux - Software 5 07-18-2002 05:00 PM

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

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

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