linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* How do I re-activate IDE controller (secondary channel) after boot?
@ 2002-11-14 11:54 Jani Averbach
  2002-11-14 14:50 ` Mike Dresser
  0 siblings, 1 reply; 7+ messages in thread
From: Jani Averbach @ 2002-11-14 11:54 UTC (permalink / raw)
  To: linux-kernel


Hello!

Is there any way to activate again secondary IDE channel from kernel (or
user space), if I has disabled it from bios?

My problem is that:
The bios won't boot at all if I have over 32G hard disk connected, but if
I disabled secondary IDE channel, it will.

So is it possible to re-activate this IDE channel, and if it is possible,
how this should be done and would this cause any trouble afterward?

At the moment my kernel version is 2.4.20-rc1.

My IDE controller is:

00:01.1 IDE interface: Intel Corporation 82371AB PIIX4 IDE (rev 01)
(prog-if 80 [Master])
        Flags: bus master, medium devsel, latency 32
        I/O ports at e000 [size=16]

Any advices are highly appreciate,

Jani

--
Jani Averbach


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: How do I re-activate IDE controller (secondary channel) after boot?
  2002-11-14 11:54 How do I re-activate IDE controller (secondary channel) after boot? Jani Averbach
@ 2002-11-14 14:50 ` Mike Dresser
  2002-11-14 14:59   ` Jani Averbach
  0 siblings, 1 reply; 7+ messages in thread
From: Mike Dresser @ 2002-11-14 14:50 UTC (permalink / raw)
  To: Jani Averbach; +Cc: linux-kernel

On Thu, 14 Nov 2002, Jani Averbach wrote:

> My problem is that:
> The bios won't boot at all if I have over 32G hard disk connected, but if
> I disabled secondary IDE channel, it will.

Don't disable the ide channel, set the hard drive type to none in the
bios, instead of auto.  I have 5 or 6 machines that are like that, 120 gig
drives in machines with 32 gig limits, and a few with 8 gig limits

If you are running 2.2.2x, make sure you put Andre's IDE patches in, as it
properly enables the controller to work at full speed, with DMA.

Mike


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: How do I re-activate IDE controller (secondary channel) after boot?
  2002-11-14 14:50 ` Mike Dresser
@ 2002-11-14 14:59   ` Jani Averbach
  2002-11-14 15:09     ` Mike Dresser
  0 siblings, 1 reply; 7+ messages in thread
From: Jani Averbach @ 2002-11-14 14:59 UTC (permalink / raw)
  To: linux-kernel

On Thu, 14 Nov 2002, Mike Dresser wrote:

> Don't disable the ide channel, set the hard drive type to none in the
> bios, instead of auto.

It was set to none. I emphazise that bios will halt if drive is connected
in 80G mode, regardless of bios setting (Disabling ide-2 will help,
however).

I have found 3 different way to boot machine with this hd so far:
1) jumpper drive to 32G mode
2) disable ide-2 channel
3) don't connect disk's cables at all. =)


BR, Jani

--
Jani Averbach


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: How do I re-activate IDE controller (secondary channel) after boot?
  2002-11-14 14:59   ` Jani Averbach
@ 2002-11-14 15:09     ` Mike Dresser
  2002-11-14 15:40       ` Jani Averbach
  0 siblings, 1 reply; 7+ messages in thread
From: Mike Dresser @ 2002-11-14 15:09 UTC (permalink / raw)
  To: Jani Averbach; +Cc: linux-kernel

On Thu, 14 Nov 2002, Jani Averbach wrote:

> On Thu, 14 Nov 2002, Mike Dresser wrote:
>
> > Don't disable the ide channel, set the hard drive type to none in the
> > bios, instead of auto.
>
> It was set to none. I emphazise that bios will halt if drive is connected
> in 80G mode, regardless of bios setting (Disabling ide-2 will help,
> however).
>
> I have found 3 different way to boot machine with this hd so far:
> 1) jumpper drive to 32G mode
> 2) disable ide-2 channel
> 3) don't connect disk's cables at all. =)

Very odd BIOS, but that's a given.  What happens in case #1?  I thought I
remembered a way to get the full capacity after Linux has booted up, using
that method.

Mike


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: How do I re-activate IDE controller (secondary channel) after boot?
  2002-11-14 15:09     ` Mike Dresser
@ 2002-11-14 15:40       ` Jani Averbach
  2002-11-14 15:59         ` Mike Dresser
  0 siblings, 1 reply; 7+ messages in thread
From: Jani Averbach @ 2002-11-14 15:40 UTC (permalink / raw)
  To: Mike Dresser; +Cc: linux-kernel

On Thu, 14 Nov 2002, Mike Dresser wrote:

> Very odd BIOS, but that's a given.

indeed, sigh.

> What happens in case #1?

dmesg:
...
hdd: ST380021A, ATA DISK drive
...


cfdisk 2.11w:

Disk Drive: /dev/hdd
Size: 33820286976 bytes, 33.8 GB
Heads:16 Sectors per Track: 63 Cylinders: 65531


Real values from label on top of disk:
16,383 Cyl, 16 HDS, 63 Sect - 156,301,488 LBA


> I thought I remembered a way to get the full capacity after Linux has
> booted up, using that method.
>

Even when drive has been jumppered to 32G? Please tell. =)

BR, Jani

--
Jani Averbach


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: How do I re-activate IDE controller (secondary channel) after boot?
  2002-11-14 15:40       ` Jani Averbach
@ 2002-11-14 15:59         ` Mike Dresser
  2002-11-14 18:36           ` Solved: " Jani Averbach
  0 siblings, 1 reply; 7+ messages in thread
From: Mike Dresser @ 2002-11-14 15:59 UTC (permalink / raw)
  To: Jani Averbach; +Cc: linux-kernel

On Thu, 14 Nov 2002, Jani Averbach wrote:

> > I thought I remembered a way to get the full capacity after Linux has
> > booted up, using that method.
> >
>
> Even when drive has been jumppered to 32G? Please tell. =)

Well, from a debian-user posting I made today about crontab, and then
finding out i misread his statement completely, I'm in danger of
having my license to help revoked.

But I'll google anyways

take a look at the Large-Disk-HOWTO

www.win.tue.nl/~aeb/linux/Large-Disk-11.html#ss11.3

There's a program called setmax, that sets the maximum capacity.  As well,
there appears to be kernel patches, these appear to have been applied to
2.5.3 and above, but maybe not 2.4.x?

According to the howto, drives over 137 are still limited, with a patch to
2.5.3 handling it again.

I'm hoping someone who knows more about the kernel whether this patch has
been applied somewhere along the line.

Is your drive an IBM?

Apparently Maxtor does it right, and IBM doesn't.  IBM , you software clip
the drive to a certain size in another machine, and then move it back to
your original machine.

Maxtor, you can just use the setmax.

Hopefully my rambling helps, and doesn't get my license to help taken away

Mike


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Solved: Re: How do I re-activate IDE controller (secondary channel) after boot?
  2002-11-14 15:59         ` Mike Dresser
@ 2002-11-14 18:36           ` Jani Averbach
  0 siblings, 0 replies; 7+ messages in thread
From: Jani Averbach @ 2002-11-14 18:36 UTC (permalink / raw)
  To: Mike Dresser; +Cc: linux-kernel

On Thu, 14 Nov 2002, Mike Dresser wrote:

>
> take a look at the Large-Disk-HOWTO
>
> www.win.tue.nl/~aeb/linux/Large-Disk-11.html#ss11.3
>

I don't know how I did miss this one, because I read (some part of) that
howto...

> As well, there appears to be kernel patches, these appear to have been
> applied to 2.5.3 and above, but maybe not 2.4.x?
>

Yes, with 2.5.47, CONFIG_IDEDISK_STROKE=y and with 32G jumper, the drive
and bios are working together, and the size is precisely right.


Big Thanks!

BR, Jani

P.S. The drive is Seagate barracuda ATA IV 80G (ST380021A).

--
Jani Averbach


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2002-11-14 18:29 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-11-14 11:54 How do I re-activate IDE controller (secondary channel) after boot? Jani Averbach
2002-11-14 14:50 ` Mike Dresser
2002-11-14 14:59   ` Jani Averbach
2002-11-14 15:09     ` Mike Dresser
2002-11-14 15:40       ` Jani Averbach
2002-11-14 15:59         ` Mike Dresser
2002-11-14 18:36           ` Solved: " Jani Averbach

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).