Re: problem installing 4.7/4.8, etc

2003-06-25 Thread Larry Rosenman


--On Wednesday, June 25, 2003 11:16:33 -0400 Thomas Dickey 
<[EMAIL PROTECTED]> wrote:


Does FreeBSD still implement only one install per machine?  (Is it
possible to install both 4.x and 5.x on the same box)
I have a dual-boot laptop with 4.x and 5.x.  It's very easy.

there is an article on OnLamp(IIRC) that explains it.  Basically, you 
install to 2 different fdisk partitions, and use boot0, the FreeBSD boot 
manager.

LER

--
Larry Rosenman http://www.lerctr.org/~ler
Phone: +1 972-414-9812 E-Mail: [EMAIL PROTECTED]
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749


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


Re: problem installing 4.7/4.8, etc

2003-06-25 Thread Thomas Dickey
On Wed, Jun 25, 2003 at 04:56:56PM +0200, Soeren Schmidt wrote:
> It seems Hideyuki KURASHINA wrote:
> > >From your attached dmesg,
> > 
> > > PCI: Using IRQ router SIS [1039/0008] at 00:02.0
> > [...]
> > > SIS5513: IDE controller on PCI bus 00 dev 15
> > > PCI: Found IRQ 5 for device 00:02.5
> > > SIS5513: chipset revision 0
> > > SIS5513: not 100% native mode: will probe irqs later
> > > SiS5513
> > > ide0: BM-DMA at 0x4000-0x4007, BIOS settings: hda:DMA, hdb:DMA
> > > ide1: BM-DMA at 0x4008-0x400f, BIOS settings: hdc:DMA, hdd:pio
> > 
> > My first machine, that is about 8 years old model, has SiS 5513.
> > It works here since I installed FreeBSD snapshot as of the end of 2003/05.
> 
> Uhm I dont think this is such an old chip actually, all SiS ATA parts
> say they are a 5513 :/ but sadly it comes in many flavors...

my impression is that it's no newer than last fall, since the "same"
chipset appeared in another machine that I got (but it's an end-users'
so I didn't add that).
 
> > Recent FreeBSD 4.x would fail to boot because it does not have
> > src/sys/dev/ata/ata-chip.c, I think.  Soren, My understanding is OK,
> > isn't it?
> 
> Yes, the ATA drivers chipset support part has been radically changed
> and updated in 5.1/current, the old 4.x ATA driver doesn't understand
> the newer SiS parts (and the support for some of the old is wrong as well)...

Does FreeBSD still implement only one install per machine?  (Is it possible
to install both 4.x and 5.x on the same box)

-- 
Thomas E. Dickey <[EMAIL PROTECTED]> <[EMAIL PROTECTED]>
http://dickey.his.com
ftp://dickey.his.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: problem installing 4.7/4.8, etc

2003-06-25 Thread Thomas Dickey
On Wed, Jun 25, 2003 at 11:37:30PM +0900, Hideyuki KURASHINA wrote:
> Hi,
> 
> >>> On Wed, 25 Jun 2003 09:49:50 -0400, Thomas Dickey <[EMAIL PROTECTED]> said:
> 
> > I'm setting up a new machine, and none of the current *BSD's install on it.
> > Linux works.  The *BSD's choke during the device identification.  Perhaps
> > someone on this list knows why.  Attaching a copy of dmesg output from one
> > of the Linux's I installed.  The *BSD's appear to be missing an interrupt
> > in the IDE/PCI bus hardware (about which I know little ;-)
> 
> >From your attached dmesg,
> 
> > PCI: Using IRQ router SIS [1039/0008] at 00:02.0
> [...]
> > SIS5513: IDE controller on PCI bus 00 dev 15
> > PCI: Found IRQ 5 for device 00:02.5
> > SIS5513: chipset revision 0
> > SIS5513: not 100% native mode: will probe irqs later
> > SiS5513
> > ide0: BM-DMA at 0x4000-0x4007, BIOS settings: hda:DMA, hdb:DMA
> > ide1: BM-DMA at 0x4008-0x400f, BIOS settings: hdc:DMA, hdd:pio
> 
> My first machine, that is about 8 years old model, has SiS 5513.
> It works here since I installed FreeBSD snapshot as of the end of 2003/05.
> 
>   atapci0:  port 
> 0xfe80-0xfe8f,0x374-0x377,0x170-0x177,0x3f4-0x3f7,0x1f0-0x1f7 at device 1.1 on pci0
>   ata0: at 0x1f0 irq 14 on atapci0
>   ata1: simplex device, DMA on primary only
>   ata1: at 0x170 irq 15 on atapci0
> 
> SiS 5513 supports WDMA2, However, some HDDs might freeze when they
> detected by kernel. I *have to* type in following instruction

The exact message I see for 4.8 is
ata1-slave: ATAPI identify retries exceeded
ad0: READ command timeout tag=0 serv=0 - resetting

which gives me the impression that it's not recognizing the DVD:

hdc: _NEC DVD+RW ND-1100A, ATAPI CD/DVD-ROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15

The SiS stuff is all on-board.  The nominal specs for this system are at

http://www.powerspec.com/systems/archives/system_archive.phtml

That is, the 9225 with memory and hard-drives doubled.  I'd like to put
the 3 BSD's on the second drive.

>   set hw.ata.ata_dma=0
> 
> at loader prompt (or put equivalent into /boot/loader.conf) in order to
> disable DMA and use PIO transfer for HDDs.

That does get it past that point, into the installer.  I'll see how far
that takes me today (am working now...)
 
> Recent FreeBSD 4.x would fail to boot because it does not have
> src/sys/dev/ata/ata-chip.c, I think.  Soren, My understanding is OK,
> isn't it?

I haven't tried 5.1 (I read earlier this year that 5.0 did not support this
chipset, and had read that FreeBSD 4.x did, so I started on that path).
Is this in 5.1, or is it part of upcoming 5.2?

-- 
Thomas E. Dickey <[EMAIL PROTECTED]> <[EMAIL PROTECTED]>
http://dickey.his.com
ftp://dickey.his.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: problem installing 4.7/4.8, etc

2003-06-25 Thread Soeren Schmidt
It seems Hideyuki KURASHINA wrote:
> >From your attached dmesg,
> 
> > PCI: Using IRQ router SIS [1039/0008] at 00:02.0
> [...]
> > SIS5513: IDE controller on PCI bus 00 dev 15
> > PCI: Found IRQ 5 for device 00:02.5
> > SIS5513: chipset revision 0
> > SIS5513: not 100% native mode: will probe irqs later
> > SiS5513
> > ide0: BM-DMA at 0x4000-0x4007, BIOS settings: hda:DMA, hdb:DMA
> > ide1: BM-DMA at 0x4008-0x400f, BIOS settings: hdc:DMA, hdd:pio
> 
> My first machine, that is about 8 years old model, has SiS 5513.
> It works here since I installed FreeBSD snapshot as of the end of 2003/05.

Uhm I dont think this is such an old chip actually, all SiS ATA parts
say they are a 5513 :/ but sadly it comes in many flavors...

> Recent FreeBSD 4.x would fail to boot because it does not have
> src/sys/dev/ata/ata-chip.c, I think.  Soren, My understanding is OK,
> isn't it?

Yes, the ATA drivers chipset support part has been radically changed
and updated in 5.1/current, the old 4.x ATA driver doesn't understand
the newer SiS parts (and the support for some of the old is wrong as well)...

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


Re: problem installing 4.7/4.8, etc

2003-06-25 Thread Hideyuki KURASHINA
Hi,

>>> On Wed, 25 Jun 2003 09:49:50 -0400, Thomas Dickey <[EMAIL PROTECTED]> said:

> I'm setting up a new machine, and none of the current *BSD's install on it.
> Linux works.  The *BSD's choke during the device identification.  Perhaps
> someone on this list knows why.  Attaching a copy of dmesg output from one
> of the Linux's I installed.  The *BSD's appear to be missing an interrupt
> in the IDE/PCI bus hardware (about which I know little ;-)

>From your attached dmesg,

> PCI: Using IRQ router SIS [1039/0008] at 00:02.0
[...]
> SIS5513: IDE controller on PCI bus 00 dev 15
> PCI: Found IRQ 5 for device 00:02.5
> SIS5513: chipset revision 0
> SIS5513: not 100% native mode: will probe irqs later
> SiS5513
> ide0: BM-DMA at 0x4000-0x4007, BIOS settings: hda:DMA, hdb:DMA
> ide1: BM-DMA at 0x4008-0x400f, BIOS settings: hdc:DMA, hdd:pio

My first machine, that is about 8 years old model, has SiS 5513.
It works here since I installed FreeBSD snapshot as of the end of 2003/05.

  atapci0:  port 
0xfe80-0xfe8f,0x374-0x377,0x170-0x177,0x3f4-0x3f7,0x1f0-0x1f7 at device 1.1 on pci0
  ata0: at 0x1f0 irq 14 on atapci0
  ata1: simplex device, DMA on primary only
  ata1: at 0x170 irq 15 on atapci0

SiS 5513 supports WDMA2, However, some HDDs might freeze when they
detected by kernel. I *have to* type in following instruction

  set hw.ata.ata_dma=0

at loader prompt (or put equivalent into /boot/loader.conf) in order to
disable DMA and use PIO transfer for HDDs.

Recent FreeBSD 4.x would fail to boot because it does not have
src/sys/dev/ata/ata-chip.c, I think.  Soren, My understanding is OK,
isn't it?

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


Re: problem installing 4.7/4.8, etc

2003-06-25 Thread Soeren Schmidt
It seems Thomas Dickey wrote:
> I'm setting up a new machine, and none of the current *BSD's install on it.
> Linux works.  The *BSD's choke during the device identification.  Perhaps
> someone on this list knows why.  Attaching a copy of dmesg output from one
> of the Linux's I installed.  The *BSD's appear to be missing an interrupt
> in the IDE/PCI bus hardware (about which I know little ;-)

Hmm from the dmesg's it looks like a fairly new SiS chipset which is
only supported in 5.1 forward, doesn't that work ? and if not how
exactly does it fail ?

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


problem installing 4.7/4.8, etc

2003-06-25 Thread Thomas Dickey
I'm setting up a new machine, and none of the current *BSD's install on it.
Linux works.  The *BSD's choke during the device identification.  Perhaps
someone on this list knows why.  Attaching a copy of dmesg output from one
of the Linux's I installed.  The *BSD's appear to be missing an interrupt
in the IDE/PCI bus hardware (about which I know little ;-)

-- 
Thomas E. Dickey <[EMAIL PROTECTED]> <[EMAIL PROTECTED]>
http://dickey.his.com
ftp://dickey.his.com
Linux version 2.4.20 ([EMAIL PROTECTED]) (gcc version 3.2.2) #2 Mon Mar 17 22:02:15 
PST 2003
BIOS-provided physical RAM map:
 BIOS-e820:  - 0009fc00 (usable)
 BIOS-e820: 0009fc00 - 000a (reserved)
 BIOS-e820: 000f - 0010 (reserved)
 BIOS-e820: 0010 - 3dff (usable)
 BIOS-e820: 3dff - 3dff3000 (ACPI NVS)
 BIOS-e820: 3dff3000 - 3e00 (ACPI data)
 BIOS-e820: fec0 - 0001 (reserved)
Warning only 896MB will be used.
Use a HIGHMEM enabled kernel.
896MB LOWMEM available.
On node 0 totalpages: 229376
zone(0): 4096 pages.
zone(1): 225280 pages.
zone(2): 0 pages.
Kernel command line: BOOT_IMAGE=vmlinuz ramdisk_size=7000 root=/dev/hda12 vga=normal 
ro 
Initializing CPU#0
Detected 2666.641 MHz processor.
Console: colour VGA+ 80x25
Calibrating delay loop... 5321.52 BogoMIPS
Memory: 904536k/917504k available (1733k kernel code, 12580k reserved, 568k data, 112k 
init, 0k highmem)
Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes)
Inode cache hash table entries: 65536 (order: 7, 524288 bytes)
Mount-cache hash table entries: 16384 (order: 5, 131072 bytes)
Buffer-cache hash table entries: 65536 (order: 6, 262144 bytes)
Page-cache hash table entries: 262144 (order: 8, 1048576 bytes)
CPU: L1 I cache: 0K, L1 D cache: 8K
CPU: L2 cache: 512K
CPU: After generic, caps: bfebfbff   
CPU: Common caps: bfebfbff   
CPU: Intel(R) Pentium(R) 4 CPU 2.66GHz stepping 07
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
mtrr: v1.40 (20010327) Richard Gooch ([EMAIL PROTECTED])
mtrr: detected mtrr type: Intel
PCI: PCI BIOS revision 2.10 entry at 0xfbbb0, last bus=1
PCI: Using configuration type 1
PCI: Probing PCI hardware
PCI: Using IRQ router SIS [1039/0008] at 00:02.0
PCI: Found IRQ 5 for device 00:02.5
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
VFS: Diskquotas version dquot_6.4.0 initialized
Journalled Block Device driver loaded
pty: 512 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with HUB-6 MANY_PORTS MULTIPORT SHARE_IRQ 
SERIAL_PCI enabled
ttyS00 at 0x03f8 (irq = 4) is a 16550A
Real Time Clock Driver v1.10e
Uniform Multi-Platform E-IDE driver Revision: 6.31
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
SIS5513: IDE controller on PCI bus 00 dev 15
PCI: Found IRQ 5 for device 00:02.5
SIS5513: chipset revision 0
SIS5513: not 100% native mode: will probe irqs later
SiS5513
ide0: BM-DMA at 0x4000-0x4007, BIOS settings: hda:DMA, hdb:DMA
ide1: BM-DMA at 0x4008-0x400f, BIOS settings: hdc:DMA, hdd:pio
hda: Maxtor 4R120L0, ATA DISK drive
hdb: Maxtor 6Y120P0, ATA DISK drive
hdc: _NEC DVD+RW ND-1100A, ATAPI CD/DVD-ROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: 240121728 sectors (122942 MB) w/2048KiB Cache, CHS=14946/255/63
hdb: 240121728 sectors (122942 MB) w/7936KiB Cache, CHS=15881/240/63
hdc: ATAPI 40X DVD-ROM CD-R/RW drive, 2048kB Cache
Uniform CD-ROM driver Revision: 3.12
ide-floppy driver 0.99.newide
Partition check:
 hda: hda1 hda2 hda3 hda4 < hda5 hda6 hda7 hda8 hda9 hda10 hda11 hda12 hda13 >
 hdb: hdb1 hdb2 hdb3 hdb4 < hdb5 hdb6 >
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
RAMDISK driver initialized: 16 RAM disks of 7000K size 1024 blocksize
loop: loaded (max 8 devices)
ide-floppy driver 0.99.newide
SCSI subsystem driver Revision: 1.00
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
md: linear personality registered as nr 1
md: raid0 personality registered as nr 2
md: raid1 personality registered as nr 3
md: raid5 personality registered as nr 4
raid5: measuring checksumming speed
   8regs :  3099.200 MB/sec
   32regs:  2028.000 MB/sec
   pIII_sse  :  3482.400 MB/sec
   pII_mmx   :  3123.200 MB/sec
   p5_mmx:  3027.200 MB/sec
raid5: using function: pIII_sse (3482.400 MB/sec)
md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
LVM version 1.0.5+(22/07/2002)
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP,