Re: 5.1 -> 5.2 upgrade, Promise FastTrak device /dev/ar0 missing?

2003-12-28 Thread Ruslan Ermilov
On Sun, Dec 28, 2003 at 05:22:57PM +0100, Dimitry Andric wrote:
> On 2003-12-28 at 14:51:42 Kevin A. Pieckiel wrote:
> 
> >>> Included is my dmesg output from the 5.1 kernel and my kernel config
> >>> file SAMSON for the 5.1 kernel.  Any help would be appreciated.
> >> 
> >> You need "device ataraid" in your config file..
> 
> > Thanks.  That worked great.  For some reason I missed this bit...
> 
> This is a good example: making a copy of GENERIC some time in the
> past, and forgetting to update it when you upgrade the whole OS. :)
> In the latest version of GENERIC, ataraid is included by default.
> 
> Maybe it would be nice to have a system for this, like what is used
> for /etc/rc.conf, i.e. making your kernel config file simply include
> GENERIC, and then only adding/removing those items you want to be
> changed from the defaults.
> 
There is: look how the PAE and OLDCARD configs are constructed.


Cheers,
-- 
Ruslan Ermilov
FreeBSD committer
[EMAIL PROTECTED]


pgp0.pgp
Description: PGP signature


Re: 5.1 -> 5.2 upgrade, Promise FastTrak device /dev/ar0 missing?

2003-12-28 Thread Dimitry Andric
On 2003-12-28 at 14:51:42 Kevin A. Pieckiel wrote:

>>> Included is my dmesg output from the 5.1 kernel and my kernel config
>>> file SAMSON for the 5.1 kernel.  Any help would be appreciated.
>> 
>> You need "device ataraid" in your config file..

> Thanks.  That worked great.  For some reason I missed this bit...

This is a good example: making a copy of GENERIC some time in the
past, and forgetting to update it when you upgrade the whole OS. :)
In the latest version of GENERIC, ataraid is included by default.

Maybe it would be nice to have a system for this, like what is used
for /etc/rc.conf, i.e. making your kernel config file simply include
GENERIC, and then only adding/removing those items you want to be
changed from the defaults.


pgp0.pgp
Description: PGP signature


Re: 5.1 -> 5.2 upgrade, Promise FastTrak device /dev/ar0 missing?

2003-12-28 Thread Kevin A. Pieckiel
On Sat, Dec 27, 2003 at 10:53:57AM +0100, Soren Schmidt wrote:
> It seems Kevin A. Pieckiel wrote:
> > I have a Promise FastTrak SATA150 controller with two 120 GB drives
> > that are mirrored.  Using 5.1-RELEASE-p10 with sources from Nov 3.
> > 
> > I tried to upgrade from 5.1 to 5.2-RC today and the new kernel couldn't
> > mount my root partition (/dev/ar0s1a) after doing make installkernel
> > and rebooting into single user mode.  Browsing through the console
> > messages shows the individual drives (/dev/ad4 and /dev/ad6), but no
> > /dev/ar0.  The /dev/ar0 device shows up on the 5.1 kernel.  What did I
> > do wrong?  I'm using the same kernel config file (except for chaning
> > "options apicio" to "device apic") and followed the usual procedure
> > of make buildworld, make buildkernel, make installkernel reboot to
> > single user mode, etc.
> > 
> > The 5.1 kernel was CVSed on 3 Nov in the RELENG_5_1 tag and the 5.2-RC
> > was from RELENG_5_2 CVSed 24 Dec.
> > 
> > Included is my dmesg output from the 5.1 kernel and my kernel config
> > file SAMSON for the 5.1 kernel.  Any help would be appreciated.
> 
> You need "device ataraid" in your config file..

Thanks.  That worked great.  For some reason I missed this bit...  I
thought this functionallity was picked up by the ata driver when it
recognized the card.

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


Re: 5.1 -> 5.2 upgrade, Promise FastTrak device /dev/ar0 missing?

2003-12-27 Thread Soren Schmidt
It seems Kevin A. Pieckiel wrote:
> I have a Promise FastTrak SATA150 controller with two 120 GB drives
> that are mirrored.  Using 5.1-RELEASE-p10 with sources from Nov 3.
> 
> I tried to upgrade from 5.1 to 5.2-RC today and the new kernel couldn't
> mount my root partition (/dev/ar0s1a) after doing make installkernel
> and rebooting into single user mode.  Browsing through the console
> messages shows the individual drives (/dev/ad4 and /dev/ad6), but no
> /dev/ar0.  The /dev/ar0 device shows up on the 5.1 kernel.  What did I
> do wrong?  I'm using the same kernel config file (except for chaning
> "options apicio" to "device apic") and followed the usual procedure
> of make buildworld, make buildkernel, make installkernel reboot to
> single user mode, etc.
> 
> The 5.1 kernel was CVSed on 3 Nov in the RELENG_5_1 tag and the 5.2-RC
> was from RELENG_5_2 CVSed 24 Dec.
> 
> Included is my dmesg output from the 5.1 kernel and my kernel config
> file SAMSON for the 5.1 kernel.  Any help would be appreciated.

You need "device ataraid" in your config file..

-Søren
 Yes I know it works under windows!!
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


5.1 -> 5.2 upgrade, Promise FastTrak device /dev/ar0 missing?

2003-12-27 Thread Kevin A. Pieckiel
I have a Promise FastTrak SATA150 controller with two 120 GB drives
that are mirrored.  Using 5.1-RELEASE-p10 with sources from Nov 3.

I tried to upgrade from 5.1 to 5.2-RC today and the new kernel couldn't
mount my root partition (/dev/ar0s1a) after doing make installkernel
and rebooting into single user mode.  Browsing through the console
messages shows the individual drives (/dev/ad4 and /dev/ad6), but no
/dev/ar0.  The /dev/ar0 device shows up on the 5.1 kernel.  What did I
do wrong?  I'm using the same kernel config file (except for chaning
"options apicio" to "device apic") and followed the usual procedure
of make buildworld, make buildkernel, make installkernel reboot to
single user mode, etc.

The 5.1 kernel was CVSed on 3 Nov in the RELENG_5_1 tag and the 5.2-RC
was from RELENG_5_2 CVSed 24 Dec.

Included is my dmesg output from the 5.1 kernel and my kernel config
file SAMSON for the 5.1 kernel.  Any help would be appreciated.

Thanks,
Kevin



Copyright (c) 1992-2003 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 5.1-RELEASE-p10 #1: Mon Nov  3 08:30:08 EST 2003
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/SAMSON
Preloaded elf kernel "/boot/kernel/kernel" at 0xc0421000.
Preloaded elf module "/boot/kernel/miibus.ko" at 0xc0421294.
Preloaded elf module "/boot/kernel/if_fxp.ko" at 0xc0421340.
Preloaded elf module "/boot/kernel/usb.ko" at 0xc04213ec.
Preloaded elf module "/boot/kernel/acpi.ko" at 0xc0421494.
Timecounter "i8254"  frequency 1193182 Hz
Timecounter "TSC"  frequency 2793015888 Hz
CPU: Intel(R) Pentium(R) 4 CPU 2.80GHz (2793.02-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0xf29  Stepping = 9
  
Features=0xbfebfbff
  Hyperthreading: 2 logical CPUs
real memory  = 1073168384 (1023 MB)
avail memory = 1038090240 (990 MB)
Changing APIC ID for IO APIC #0 from 0 to 2 on chip
Programming 24 pins in IOAPIC #0
IOAPIC #0 intpin 2 -> irq 0
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
 cpu0 (BSP): apic id:  0, version: 0x00050014, at 0xfee0
 cpu1 (AP):  apic id:  1, version: 0x00050014, at 0xfee0
 io0 (APIC): apic id:  2, version: 0x00178020, at 0xfec0
Pentium Pro MTRR support enabled
npx0:  on motherboard
npx0: INT 16 interface
acpi0:  on motherboard
pcibios: BIOS version 2.10
Using $PIR table, 8 entries at 0xc00feae0
acpi0: power button is handled as a fixed feature programming model.
Timecounter "ACPI-fast"  frequency 3579545 Hz
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0
acpi_cpu0:  on acpi0
acpi_cpu1:  on acpi0
acpi_button0:  on acpi0
pcib0:  port 0xcf8-0xcff on acpi0
pci0:  on pcib0
IOAPIC #0 intpin 16 -> irq 2
IOAPIC #0 intpin 19 -> irq 13
IOAPIC #0 intpin 18 -> irq 16
IOAPIC #0 intpin 23 -> irq 17
IOAPIC #0 intpin 17 -> irq 18
agp0:  mem 0xe800-0xefff at device 0.0 on 
pci0
pcib1:  at device 1.0 on pci0
pci1:  on pcib1
pci1:  at device 0.0 (no driver attached)
uhci0:  port 0xff80-0xff9f irq 2 at device 
29.0 on pci0
usb0:  on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1:  port 0xff60-0xff7f irq 13 at device 
29.1 on pci0
usb1:  on uhci1
usb1: USB revision 1.0
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2:  port 0xff40-0xff5f irq 16 at device 
29.2 on pci0
usb2:  on uhci2
usb2: USB revision 1.0
uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
uhci3:  port 0xff20-0xff3f irq 2 at device 
29.3 on pci0
usb3:  on uhci3
usb3: USB revision 1.0
uhub3: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub3: 2 ports with 2 removable, self powered
ehci0:  mem 0xffa80800-0xffa80bff irq 17 at device 
29.7 on pci0
ehci_pci_attach: companion usb0
ehci_pci_attach: companion usb1
ehci_pci_attach: companion usb2
ehci_pci_attach: companion usb3
usb4: EHCI version 1.0
usb4: companion controllers, 2 ports each: usb0 usb1 usb2 usb3
usb4:  on ehci0
usb4: USB revision 2.0
uhub4: (0x8086) EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub4: 8 ports with 8 removable, self powered
pcib2:  at device 30.0 on pci0
pci2:  on pcib2
IOAPIC #0 intpin 21 -> irq 19
IOAPIC #0 intpin 22 -> irq 20
IOAPIC #0 intpin 20 -> irq 21
atapci0:  port 
0xdf00-0xdf7f,0xde60-0xde6f,0xde80-0xdebf mem 
0xfcee-0xfcef,0xfcecd000-0xfcecdfff irq 19 at device 0.0 on pci2
ata2: at 0xfcecd000 on atapci0
ata3: at 0xfcecd000 on atapci0
ata4: at 0xfcecd000 on atapci0
pci2:  at device 1.0 (no driver attached)
pci2:  at device 2.0 (no driver attached)
fxp0:  port 0xdec0-0xdeff mem 
0xfcecf000-0xfcec irq 21 at device 8.0 on pci2
fxp0: Ethernet address 00:07:e9:5e:28:44
miibus0:  on fxp0
inphy0:  on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
isab0:  at device 31.0 on pci0
isa0: 

5.1 -> 5.2 upgrade, Promise FastTrak device /dev/ar0 missing?

2003-12-27 Thread Kevin A. Pieckiel
I have a Promise FastTrak SATA150 controller with two 120 GB drives
that are mirrored.  Using 5.1-RELEASE-p10 with sources from Nov 3.

I tried to upgrade from 5.1 to 5.2-RC today and the new kernel couldn't
mount my root partition (/dev/ar0s1a) after doing make installkernel
and rebooting into single user mode.  Browsing through the console
messages shows the individual drives (/dev/ad4 and /dev/ad6), but no
/dev/ar0.  The /dev/ar0 device shows up on the 5.1 kernel.  What did I
do wrong?  I'm using the same kernel config file (except for chaning
"options apicio" to "device apic") and followed the usual procedure
of make buildworld, make buildkernel, make installkernel reboot to
single user mode, etc.

The 5.1 kernel was CVSed on 3 Nov in the RELENG_5_1 tag and the 5.2-RC
was from RELENG_5_2 CVSed 24 Dec.

Included is my dmesg output from the 5.1 kernel and my kernel config
file SAMSON for the 5.1 kernel.  Any help would be appreciated.

Thanks,
Kevin



Copyright (c) 1992-2003 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 5.1-RELEASE-p10 #1: Mon Nov  3 08:30:08 EST 2003
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/SAMSON
Preloaded elf kernel "/boot/kernel/kernel" at 0xc0421000.
Preloaded elf module "/boot/kernel/miibus.ko" at 0xc0421294.
Preloaded elf module "/boot/kernel/if_fxp.ko" at 0xc0421340.
Preloaded elf module "/boot/kernel/usb.ko" at 0xc04213ec.
Preloaded elf module "/boot/kernel/acpi.ko" at 0xc0421494.
Timecounter "i8254"  frequency 1193182 Hz
Timecounter "TSC"  frequency 2793015888 Hz
CPU: Intel(R) Pentium(R) 4 CPU 2.80GHz (2793.02-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0xf29  Stepping = 9
  
Features=0xbfebfbff
  Hyperthreading: 2 logical CPUs
real memory  = 1073168384 (1023 MB)
avail memory = 1038090240 (990 MB)
Changing APIC ID for IO APIC #0 from 0 to 2 on chip
Programming 24 pins in IOAPIC #0
IOAPIC #0 intpin 2 -> irq 0
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
 cpu0 (BSP): apic id:  0, version: 0x00050014, at 0xfee0
 cpu1 (AP):  apic id:  1, version: 0x00050014, at 0xfee0
 io0 (APIC): apic id:  2, version: 0x00178020, at 0xfec0
Pentium Pro MTRR support enabled
npx0:  on motherboard
npx0: INT 16 interface
acpi0:  on motherboard
pcibios: BIOS version 2.10
Using $PIR table, 8 entries at 0xc00feae0
acpi0: power button is handled as a fixed feature programming model.
Timecounter "ACPI-fast"  frequency 3579545 Hz
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0
acpi_cpu0:  on acpi0
acpi_cpu1:  on acpi0
acpi_button0:  on acpi0
pcib0:  port 0xcf8-0xcff on acpi0
pci0:  on pcib0
IOAPIC #0 intpin 16 -> irq 2
IOAPIC #0 intpin 19 -> irq 13
IOAPIC #0 intpin 18 -> irq 16
IOAPIC #0 intpin 23 -> irq 17
IOAPIC #0 intpin 17 -> irq 18
agp0:  mem 0xe800-0xefff at device 0.0 on 
pci0
pcib1:  at device 1.0 on pci0
pci1:  on pcib1
pci1:  at device 0.0 (no driver attached)
uhci0:  port 0xff80-0xff9f irq 2 at device 
29.0 on pci0
usb0:  on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1:  port 0xff60-0xff7f irq 13 at device 
29.1 on pci0
usb1:  on uhci1
usb1: USB revision 1.0
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2:  port 0xff40-0xff5f irq 16 at device 
29.2 on pci0
usb2:  on uhci2
usb2: USB revision 1.0
uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
uhci3:  port 0xff20-0xff3f irq 2 at device 
29.3 on pci0
usb3:  on uhci3
usb3: USB revision 1.0
uhub3: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub3: 2 ports with 2 removable, self powered
ehci0:  mem 0xffa80800-0xffa80bff irq 17 at device 
29.7 on pci0
ehci_pci_attach: companion usb0
ehci_pci_attach: companion usb1
ehci_pci_attach: companion usb2
ehci_pci_attach: companion usb3
usb4: EHCI version 1.0
usb4: companion controllers, 2 ports each: usb0 usb1 usb2 usb3
usb4:  on ehci0
usb4: USB revision 2.0
uhub4: (0x8086) EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub4: 8 ports with 8 removable, self powered
pcib2:  at device 30.0 on pci0
pci2:  on pcib2
IOAPIC #0 intpin 21 -> irq 19
IOAPIC #0 intpin 22 -> irq 20
IOAPIC #0 intpin 20 -> irq 21
atapci0:  port 
0xdf00-0xdf7f,0xde60-0xde6f,0xde80-0xdebf mem 
0xfcee-0xfcef,0xfcecd000-0xfcecdfff irq 19 at device 0.0 on pci2
ata2: at 0xfcecd000 on atapci0
ata3: at 0xfcecd000 on atapci0
ata4: at 0xfcecd000 on atapci0
pci2:  at device 1.0 (no driver attached)
pci2:  at device 2.0 (no driver attached)
fxp0:  port 0xdec0-0xdeff mem 
0xfcecf000-0xfcec irq 21 at device 8.0 on pci2
fxp0: Ethernet address 00:07:e9:5e:28:44
miibus0:  on fxp0
inphy0:  on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
isab0:  at device 31.0 on pci0
isa0: