Re: booting on Promise tx2 ata100

2002-10-08 Thread John Baldwin


On 08-Oct-2002 Ceri Davies wrote:
> On Tue, Oct 08, 2002 at 04:58:46PM +0200, Soeren Schmidt wrote:
>> It seems Ceri Davies wrote:
>> > 
>> > > If you relocate your disk you might need to adjust fstab.
>> > > It seems disks are addressed absolutely in FreeBSD.
>> 
>> Only if you have "option ATA_STATIC_ID" in your kernel config.
>> 
>> > No, I'm talking about a panic just after probing SMBus.
>> 
>> This patch solves this problem, however I have no idea if that is
>> the right fix for the ACPI code...
> 
> Thanks, I'll try it out.
> Do you have plans to commit this before DP2 ?

That is a bug.  It makes pci_get_devid() return -1 and will cause
bogus results during probe.  Do not use until we figure out what
is actually going on.

-- 

John Baldwin <[EMAIL PROTECTED]>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: booting on Promise tx2 ata100

2002-10-08 Thread Ceri Davies

On Tue, Oct 08, 2002 at 04:58:46PM +0200, Soeren Schmidt wrote:
> It seems Ceri Davies wrote:
> > 
> > > If you relocate your disk you might need to adjust fstab.
> > > It seems disks are addressed absolutely in FreeBSD.
> 
> Only if you have "option ATA_STATIC_ID" in your kernel config.
> 
> > No, I'm talking about a panic just after probing SMBus.
> 
> This patch solves this problem, however I have no idea if that is
> the right fix for the ACPI code...

Thanks, I'll try it out.
Do you have plans to commit this before DP2 ?

Ceri
-- 
you can't see when light's so strong
you can't see when light is gone

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: booting on Promise tx2 ata100

2002-10-08 Thread Soeren Schmidt

It seems Ceri Davies wrote:
> 
> > If you relocate your disk you might need to adjust fstab.
> > It seems disks are addressed absolutely in FreeBSD.

Only if you have "option ATA_STATIC_ID" in your kernel config.

> No, I'm talking about a panic just after probing SMBus.

This patch solves this problem, however I have no idea if that is
the right fix for the ACPI code...

Index: acpi.c
===
RCS file: /home/ncvs/src/sys/dev/acpica/acpi.c,v
retrieving revision 1.75
diff -u -r1.75 acpi.c
--- acpi.c  6 Sep 2002 17:01:06 -   1.75
+++ acpi.c  8 Oct 2002 14:45:21 -
@@ -575,6 +575,8 @@
break;
 
/* ISA compatibility */
+case ISA_IVAR_MADDR:
+case ISA_IVAR_IRQ:
 case ISA_IVAR_VENDORID:
 case ISA_IVAR_SERIAL:
 case ISA_IVAR_COMPATID:

-Søren

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: booting on Promise tx2 ata100

2002-10-08 Thread Ceri Davies

On Tue, Oct 08, 2002 at 03:08:39PM +0200, Hanspeter Roth wrote:
>   On Oct 08 at 13:39, Ceri Davies spoke:
> 
> > On Tue, Oct 08, 2002 at 02:20:15PM +0200, Hanspeter Roth wrote:
> > kern/43601 states that it's currently not possible to boot current with
> > one of these controllers - I'm having the same problem.
> > Did you need to do anything special for this to boot ?
> 
> I thought I had booted 4.6.2-Release on the TX2 ATA100.

Oh, it definitely works with -stable, but you mentioned you had booted
-current on it, which is where the problem lies.

> If you relocate your disk you might need to adjust fstab.
> It seems disks are addressed absolutely in FreeBSD.

No, I'm talking about a panic just after probing SMBus.

Ceri
-- 
you can't see when light's so strong
you can't see when light is gone

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



booting on Promise tx2 ata100

2002-10-08 Thread Hanspeter Roth

  On Oct 08 at 13:39, Ceri Davies spoke:

> On Tue, Oct 08, 2002 at 02:20:15PM +0200, Hanspeter Roth wrote:
> kern/43601 states that it's currently not possible to boot current with
> one of these controllers - I'm having the same problem.
> Did you need to do anything special for this to boot ?

I thought I had booted 4.6.2-Release on the TX2 ATA100.
If you relocate your disk you might need to adjust fstab.
It seems disks are addressed absolutely in FreeBSD.

-Hanspeter

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message