Re: How do I add a third ATA controller to 4.8?

2004-01-12 Thread peter lageotakes

--- Paul Hoffman <[EMAIL PROTECTED]> wrote:
> At 9:20 AM + 1/12/04, Martyn Hill wrote:
> >Paul
> >
> >I notice that the kernel config file you present is
> using the "old" device
> >ata lines - is the ATA controller a particularly
> old model?
> >
> >If not, then the LINT kernel config file shows an
> alternative, viz
> >
> >deviceata# just one entry for all
> ata controllers, no need
> >to reference IRQs etc...
> >deviceatadisk# for your IDE disks
> >deviceatapicd# for your CD-ROM like
> devices
> >
> >You should comment out the ata0/ata1 lines before
> adding the above (and
> >additionally, remove any "device wd*" lines in that
> section.)
> >
> >Then rebuild your kernel.
> >
> >Hope that helps.
> 
> Thanks to all for the effort, but it didn't. The
> dmesg output still 
> shows only ata0 and ata1. I am starting to believe
> that the problem 
> lies in the Dell, not in FreeBSD.
> 
> I'll work around this by attaching the drive to the
> second IDE 
> controller and later experiment with adding a third
> controller on the 
> PCI bus.
> 
> --Paul Hoffman
> ___
> [EMAIL PROTECTED] mailing list
>
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to 
"[EMAIL PROTECTED]"

There seems to be a PR associated with the ATA
controller (PR 54549).
http://www.freebsd.org/cgi/query-pr.cgi?pr=54549

I have had a similar problem trying to get FreeBSD
(4.9) installed.  Unfortunately, I don't remember how
I got it installed on the 600sc.  However, I do
remember one thing: going into /stand/sysinstall will
cause the system to lock (panic). 

Currently its running something else other than
FreeBSD :-(

Hope this helps,
Pete


__
Do you Yahoo!?
Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes
http://hotjobs.sweepstakes.yahoo.com/signingbonus
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: How do I add a third ATA controller to 4.8?

2004-01-12 Thread Paul Hoffman
At 9:20 AM + 1/12/04, Martyn Hill wrote:
Paul

I notice that the kernel config file you present is using the "old" device
ata lines - is the ATA controller a particularly old model?
If not, then the LINT kernel config file shows an alternative, viz

deviceata# just one entry for all ata controllers, no need
to reference IRQs etc...
deviceatadisk# for your IDE disks
deviceatapicd# for your CD-ROM like devices
You should comment out the ata0/ata1 lines before adding the above (and
additionally, remove any "device wd*" lines in that section.)
Then rebuild your kernel.

Hope that helps.
Thanks to all for the effort, but it didn't. The dmesg output still 
shows only ata0 and ata1. I am starting to believe that the problem 
lies in the Dell, not in FreeBSD.

I'll work around this by attaching the drive to the second IDE 
controller and later experiment with adding a third controller on the 
PCI bus.

--Paul Hoffman
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: How do I add a third ATA controller to 4.8?

2004-01-12 Thread Malcolm Kay
On Mon, 12 Jan 2004 15:43, Paul Hoffman wrote:
> Greetings again. I have a Dell 600SC that has three ATA controllers
> on the motherboard, and I'm running 4.8 quite happily on it. The
> GENERIC kernel has the following:
>
> device  ata0at isa? port IO_WD1 irq 14
> device  ata1at isa? port IO_WD2 irq 15
>

I gather that these lines or for legacy isa based controllers and have little relevance
for reasonably modern machines.

A single line:

device ata

should cope with all the ATA controllers on a current model PC.


> Since I didn't know the irq used by the third controller (it's not
> listed in their documentation, of course!), I blithely tried adding:
>
> device  ata2at isa? port IO_WD3
>
> However, when rebuilding this kernel, I get the following error:
>
> cc -c -O -pipe  -Wall -Wredundant-decls -Wnested-externs
> -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline
> -Wcast-qual  -fformat-extensions -ansi  -nostdinc -I- -I. -I../..
> -I../../../include -I../../contrib/ipfilter  -D_KERNEL -include
> opt_global.h  -mpreferred-stack-boundary=2  ioconf.c
> ioconf.c:48: `IO_WD3' undeclared here (not in a function)
> ioconf.c:48: initializer element is not constant
> ioconf.c:48: (near initialization for `ata2_resources[1].u.longval')
> *** Error code 1
>

I suspect you are being too clever; the GENERIC kernel will
possibly find it.

(No personal experience with 3 or more ATA controllers)

Malcolm Kay

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: How do I add a third ATA controller to 4.8?

2004-01-12 Thread Martyn Hill
Paul

I notice that the kernel config file you present is using the "old" device
ata lines - is the ATA controller a particularly old model?

If not, then the LINT kernel config file shows an alternative, viz

deviceata# just one entry for all ata controllers, no need
to reference IRQs etc...
deviceatadisk# for your IDE disks
deviceatapicd# for your CD-ROM like devices

You should comment out the ata0/ata1 lines before adding the above (and
additionally, remove any "device wd*" lines in that section.)

Then rebuild your kernel.

Hope that helps.

Martyn Hill
Network Administrator
St James Independent School
London

- Original Message -
From: "Paul Hoffman" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, January 12, 2004 5:13 AM
Subject: How do I add a third ATA controller to 4.8?


> Greetings again. I have a Dell 600SC that has three ATA controllers
> on the motherboard, and I'm running 4.8 quite happily on it. The
> GENERIC kernel has the following:
>
> device  ata0at isa? port IO_WD1 irq 14
> device  ata1at isa? port IO_WD2 irq 15
>
> Since I didn't know the irq used by the third controller (it's not
> listed in their documentation, of course!), I blithely tried adding:
>
> device  ata2at isa? port IO_WD3
>
> However, when rebuilding this kernel, I get the following error:
>
> cc -c -O -pipe  -Wall -Wredundant-decls -Wnested-externs
> -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline
> -Wcast-qual  -fformat-extensions -ansi  -nostdinc -I- -I. -I../..
> -I../../../include -I../../contrib/ipfilter  -D_KERNEL -include
> opt_global.h  -mpreferred-stack-boundary=2  ioconf.c
> ioconf.c:48: `IO_WD3' undeclared here (not in a function)
> ioconf.c:48: initializer element is not constant
> ioconf.c:48: (near initialization for `ata2_resources[1].u.longval')
> *** Error code 1
>
> So, what am I supposed to add to the kernel to add this third controller?
>
> --Paul Hoffman
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
"[EMAIL PROTECTED]"

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: How do I add a third ATA controller to 4.8?

2004-01-11 Thread Paul Hoffman
At 9:54 PM -0800 1/11/04, Kent Stewart wrote:
I have used several mobos that had 4 controllers on them. I did't have to do
anything but add an HD and turn them on in the bios.
I would have hoped that that was the case here too, but it doesn't 
seem to be. The new drive is definitely listed in the Dell's BIOS (I 
set it to "automatic" and on reboot the BIOS recognized its size 
correctly).

--Paul Hoffman
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: How do I add a third ATA controller to 4.8?

2004-01-11 Thread Kent Stewart
On Sunday 11 January 2004 09:13 pm, Paul Hoffman wrote:
> Greetings again. I have a Dell 600SC that has three ATA controllers
> on the motherboard, and I'm running 4.8 quite happily on it. The
> GENERIC kernel has the following:
>
> device  ata0at isa? port IO_WD1 irq 14
> device  ata1at isa? port IO_WD2 irq 15
>
> Since I didn't know the irq used by the third controller (it's not
> listed in their documentation, of course!), I blithely tried adding:
>
> device  ata2at isa? port IO_WD3
>
> However, when rebuilding this kernel, I get the following error:
>
> cc -c -O -pipe  -Wall -Wredundant-decls -Wnested-externs
> -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline
> -Wcast-qual  -fformat-extensions -ansi  -nostdinc -I- -I. -I../..
> -I../../../include -I../../contrib/ipfilter  -D_KERNEL -include
> opt_global.h  -mpreferred-stack-boundary=2  ioconf.c
> ioconf.c:48: `IO_WD3' undeclared here (not in a function)
> ioconf.c:48: initializer element is not constant
> ioconf.c:48: (near initialization for `ata2_resources[1].u.longval')
> *** Error code 1
>
> So, what am I supposed to add to the kernel to add this third controller?
>

I have used several mobos that had 4 controllers on them. I did't have to do 
anything but add an HD and turn them on in the bios.

Kent

-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"