public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Part 2: Re: [PATCH] pdc20265 problem.
  2002-08-08 16:48 Petr Vandrovec
@ 2002-08-08 17:41 ` Andre Hedrick
  0 siblings, 0 replies; 5+ messages in thread
From: Andre Hedrick @ 2002-08-08 17:41 UTC (permalink / raw)
  To: Petr Vandrovec
  Cc: Nick Orlov, B.Zolnierkiewicz, Marcelo Tosatti, linux-kernel,
	davidsen


Two cases one HighPoint the other Promise.
See how they play games with device locations?

[root@autobuild root]# lspci
00:00.0 Host bridge: ServerWorks CNB20LE Host Bridge (rev 06)
00:00.1 Host bridge: ServerWorks CNB20LE Host Bridge (rev 06)
00:01.0 VGA compatible controller: ATI Technologies Inc Rage XL (rev 27)
00:03.0 RAID bus controller: Promise Technology, Inc. 20267 (rev 02)
00:04.0 Ethernet controller: Intel Corp. 82557/8/9 [Ethernet Pro 100] (rev 08)
00:05.0 Ethernet controller: Intel Corp. 82557/8/9 [Ethernet Pro 100] (rev 08)
00:0f.0 ISA bridge: ServerWorks OSB4 South Bridge (rev 50)
00:0f.1 IDE interface: ServerWorks OSB4 IDE Controller
00:0f.2 USB Controller: ServerWorks OSB4/CSB5 USB Controller (rev 04)
[root@autobuild root]#


Uniform Multi-Platform E-IDE driver Revision: 6.31
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
PDC20267: IDE controller on PCI bus 00 dev 18
PDC20267: chipset revision 2
PDC20267: not 100% native mode: will probe irqs later
PDC20267: ROM enabled at 0xfeae0000
     (U)DMA Burst Bit ENABLED Primary MASTER Mode Secondary MASTER Mode.
    ide0: BM-DMA at 0xdf00-0xdf07, BIOS settings: hda:pio, hdb:pio
    ide1: BM-DMA at 0xdf08-0xdf0f, BIOS settings: hdc:pio, hdd:pio
SvrWks OSB4: IDE controller on PCI bus 00 dev 79
SvrWks OSB4: chipset revision 0
SvrWks OSB4: not 100% native mode: will probe irqs later
    ide2: BM-DMA at 0xffa0-0xffa7, BIOS settings: hde:DMA, hdf:pio
    ide3: BM-DMA at 0xffa8-0xffaf, BIOS settings: hdg:pio, hdh:pio
hda: IBM-DPTA-373420, ATA DISK drive
hdc: IBM-DPTA-373420, ATA DISK drive
hde: CW038D ATAPI CD-R/RW, ATAPI CD/DVD-ROM drive
ide0 at 0xdfe0-0xdfe7,0xdfae on irq 31
ide1 at 0xdfa0-0xdfa7,0xdfaa on irq 31
ide2 at 0x1f0-0x1f7,0x3f6 on irq 14


bp6:~ # lspci
00:00.0 Host bridge: Intel Corporation 440BX/ZX - 82443BX/ZX Host bridge
(rev 03)
00:01.0 PCI bridge: Intel Corporation 440BX/ZX - 82443BX/ZX AGP bridge (rev 03)
00:07.0 ISA bridge: Intel Corporation 82371AB PIIX4 ISA (rev 02)
00:07.1 IDE interface: Intel Corporation 82371AB PIIX4 IDE (rev 01)
00:07.2 USB Controller: Intel Corporation 82371AB PIIX4 USB (rev 01)
00:07.3 Bridge: Intel Corporation 82371AB PIIX4 ACPI (rev 02)
00:0d.0 Ethernet controller: Lite-On Communications Inc LNE100TX (rev 20)
00:0f.0 VGA compatible controller: S3 Inc. 86c988 [ViRGE/VX] (rev 02)
00:13.0 Unknown mass storage controller: Triones Technologies, Inc. HPT366 (rev 01)
00:13.1 Unknown mass storage controller: Triones Technologies, Inc. HPT366 (rev 01)

Uniform Multi-Platform E-IDE driver Revision: 6.30
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
HPT366: onboard version of chipset, pin1=1 pin2=2
PCI: HPT366: Fixing interrupt 18 pin 2 to ZERO
HPT366: IDE controller on PCI bus 00 dev 98
HPT366: chipset revision 1
HPT366: not 100% native mode: will probe irqs later
    ide0: BM-DMA at 0xe000-0xe007, BIOS settings: hda:DMA, hdb:pio
HPT366: IDE controller on PCI bus 00 dev 99
HPT366: chipset revision 1
HPT366: not 100% native mode: will probe irqs later
    ide1: BM-DMA at 0xec00-0xec07, BIOS settings: hdc:DMA, hdd:pio
PIIX4: IDE controller on PCI bus 00 dev 39
PIIX4: device not capable of full native PCI mode
PIIX4: device disabled (BIOS)
PIIX4: device disabled (BIOS)
hda: DupliDisk IDE RAID-1 Adapter( 1.19), ATA DISK drive
hdc: QUANTUM FIREBALLP KA13.6, ATA DISK drive
ide2: ports already in use, skipping probe
ide0 at 0xd800-0xd807,0xdc02 on irq 18
ide1 at 0xe400-0xe407,0xe802 on irq 18
hda: setmax LBA 18041184, native  18039168
hda: DupliDisk IDE RAID-1 Adapter( 1.19), 8808MB w/371kB Cache, CHS=17896/16/63, UDMA(33)
hdc: QUANTUM FIREBALLP KA13.6, 13217MB w/371kB Cache, CHS=26853/16/63, UDMA(33)


Andre Hedrick
LAD Storage Consulting Group


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

* Re: Part 2: Re: [PATCH] pdc20265 problem.
@ 2002-08-08 18:29 Petr Vandrovec
  2002-08-08 18:43 ` Andre Hedrick
  0 siblings, 1 reply; 5+ messages in thread
From: Petr Vandrovec @ 2002-08-08 18:29 UTC (permalink / raw)
  To: Andre Hedrick
  Cc: Nick Orlov, B.Zolnierkiewicz, Marcelo Tosatti, linux-kernel,
	davidsen

On  8 Aug 02 at 10:41, Andre Hedrick wrote:

> ide0 at 0xdfe0-0xdfe7,0xdfae on irq 31
> ide1 at 0xdfa0-0xdfa7,0xdfaa on irq 31
> ide2 at 0x1f0-0x1f7,0x3f6 on irq 14

This is definitely bug. It should assigned ide0 to the port
in legacy mode, as far as I can tell.
 
> PIIX4: IDE controller on PCI bus 00 dev 39
> PIIX4: device not capable of full native PCI mode
> PIIX4: device disabled (BIOS)
> PIIX4: device disabled (BIOS)
> hda: DupliDisk IDE RAID-1 Adapter( 1.19), ATA DISK drive
> hdc: QUANTUM FIREBALLP KA13.6, ATA DISK drive
> ide2: ports already in use, skipping probe
> ide0 at 0xd800-0xd807,0xdc02 on irq 18
> ide1 at 0xe400-0xe407,0xe802 on irq 18

You have disabled PIIX4 here, so ide0/1 were not reserved. I assume
that if you enable PIIX4, it will use legacy ports, and will become
ide0/1.
                                            Petr Vandrovec
                                            

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

* Re: Part 2: Re: [PATCH] pdc20265 problem.
  2002-08-08 18:29 Part 2: Re: [PATCH] pdc20265 problem Petr Vandrovec
@ 2002-08-08 18:43 ` Andre Hedrick
  0 siblings, 0 replies; 5+ messages in thread
From: Andre Hedrick @ 2002-08-08 18:43 UTC (permalink / raw)
  To: Petr Vandrovec
  Cc: Nick Orlov, B.Zolnierkiewicz, Marcelo Tosatti, linux-kernel,
	davidsen

On Thu, 8 Aug 2002, Petr Vandrovec wrote:

> On  8 Aug 02 at 10:41, Andre Hedrick wrote:
> 
> > ide0 at 0xdfe0-0xdfe7,0xdfae on irq 31
> > ide1 at 0xdfa0-0xdfa7,0xdfaa on irq 31
> > ide2 at 0x1f0-0x1f7,0x3f6 on irq 14
> 
> This is definitely bug. It should assigned ide0 to the port
> in legacy mode, as far as I can tell.

Again you have no experience in the logic!

This boots with Promise first because of BIOS Logic with INT19 hooks.
IE, that which I referenced in the documents that I know you did not read
but come back and state it has nothing to do with the issues.

> > PIIX4: IDE controller on PCI bus 00 dev 39
> > PIIX4: device not capable of full native PCI mode
> > PIIX4: device disabled (BIOS)
> > PIIX4: device disabled (BIOS)
> > hda: DupliDisk IDE RAID-1 Adapter( 1.19), ATA DISK drive
> > hdc: QUANTUM FIREBALLP KA13.6, ATA DISK drive
> > ide2: ports already in use, skipping probe
> > ide0 at 0xd800-0xd807,0xdc02 on irq 18
> > ide1 at 0xe400-0xe407,0xe802 on irq 18
> 
> You have disabled PIIX4 here, so ide0/1 were not reserved. I assume

ASS U ME that is the word!

Uniform Multi-Platform E-IDE driver Revision: 6.31
ide: Assuming 33MHz system bus speed for PIO modes; override with
idebus=xx
HPT366: onboard version of chipset, pin1=1 pin2=2
HPT366: IDE controller on PCI bus 00 dev 98
PCI: Enabling device 00:13.0 (0005 -> 0007)
HPT366: chipset revision 1
HPT366: not 100% native mode: will probe irqs later
    ide0: BM-DMA at 0xe000-0xe007, BIOS settings: hda:DMA, hdb:pio
HPT366: IDE controller on PCI bus 00 dev 99
HPT366: chipset revision 1
HPT366: not 100% native mode: will probe irqs later
    ide1: BM-DMA at 0xec00-0xec07, BIOS settings: hdc:DMA, hdd:pio
PIIX4: IDE controller on PCI bus 00 dev 39
PIIX4: chipset revision 1
PIIX4: not 100% native mode: will probe irqs later
    ide2: BM-DMA at 0xf000-0xf007, BIOS settings: hde:pio, hdf:pio
    ide3: BM-DMA at 0xf008-0xf00f, BIOS settings: hdg:pio, hdh:pio
hda: DupliDisk IDE RAID-1 Adapter( 1.19), ATA DISK drive
hdc: QUANTUM FIREBALLP KA13.6, ATA DISK drive
ide0 at 0xd800-0xd807,0xdc02 on irq 18
ide1 at 0xe400-0xe407,0xe802 on irq 18

What do you need me to attach a device?

The FSCKING BIOS did this, because there is an option to boot UDMA66
first.

> that if you enable PIIX4, it will use legacy ports, and will become
> ide0/1.
>                                             Petr Vandrovec
>                                             
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/
> 

Electrons wasted :-/


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

* Re: Part 2: Re: [PATCH] pdc20265 problem.
@ 2002-08-08 19:01 Petr Vandrovec
  2002-08-09 17:32 ` Bill Davidsen
  0 siblings, 1 reply; 5+ messages in thread
From: Petr Vandrovec @ 2002-08-08 19:01 UTC (permalink / raw)
  To: Andre Hedrick
  Cc: Nick Orlov, B.Zolnierkiewicz, Marcelo Tosatti, linux-kernel,
	davidsen

On  8 Aug 02 at 11:43, Andre Hedrick wrote:
> On Thu, 8 Aug 2002, Petr Vandrovec wrote:
> > On  8 Aug 02 at 10:41, Andre Hedrick wrote:
> > 
> > > ide0 at 0xdfe0-0xdfe7,0xdfae on irq 31
> > > ide1 at 0xdfa0-0xdfa7,0xdfaa on irq 31
> > > ide2 at 0x1f0-0x1f7,0x3f6 on irq 14
> > 
> > This is definitely bug. It should assigned ide0 to the port
> > in legacy mode, as far as I can tell.
> 
> Again you have no experience in the logic!
> 
> This boots with Promise first because of BIOS Logic with INT19 hooks.
> IE, that which I referenced in the documents that I know you did not read
> but come back and state it has nothing to do with the issues.

> Electrons wasted :-/

Yes, exactly. If you really believe that ide# (or even hd#) numbering 
should change according to the BIOS boot order, then there is certainly 
nothing we can agree on. And if I boot from floppy or SCSI, should IDE
code skip ide0/hda at all?

Maybe you did not notice that Linux can boot of /dev/hde, it does not 
have to boot from /dev/hda. Just tell to LILO where /dev/hde lives (and 
there are patches for EDD support, but adding two lines into /etc/lilo.conf 
is easier than patching support for EDD structure, which is broken in 50% 
of BIOSes I know anyway).
                                                    Petr
                                                    

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

* Re: Part 2: Re: [PATCH] pdc20265 problem.
  2002-08-08 19:01 Petr Vandrovec
@ 2002-08-09 17:32 ` Bill Davidsen
  0 siblings, 0 replies; 5+ messages in thread
From: Bill Davidsen @ 2002-08-09 17:32 UTC (permalink / raw)
  To: Petr Vandrovec
  Cc: Andre Hedrick, Nick Orlov, B.Zolnierkiewicz, Marcelo Tosatti,
	linux-kernel

On Thu, 8 Aug 2002, Petr Vandrovec wrote:
> Maybe you did not notice that Linux can boot of /dev/hde, it does not 
> have to boot from /dev/hda. Just tell to LILO where /dev/hde lives (and 
> there are patches for EDD support, but adding two lines into /etc/lilo.conf 
> is easier than patching support for EDD structure, which is broken in 50% 
> of BIOSes I know anyway).

You can tell LILO anything you want, but the system will "boot off"
whichever drive the BIOS chooses for reading the MBR. In other words,
unless you diddle the BIOS settings, the LILO MBR (1st level boot) must go
on hda, regardless of where the root filesystem lives.

Yes, I know you can install LILO in a partition, but then you have to
trust whatever MBR the BIOS runs to find it.

This was intended as a clarification of the process, I don't think I am
disagreeing with what you said.

-- 
bill davidsen <davidsen@tmr.com>
  CTO, TMR Associates, Inc
Doing interesting things with little computers since 1979.


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

end of thread, other threads:[~2002-08-09 17:36 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-08-08 18:29 Part 2: Re: [PATCH] pdc20265 problem Petr Vandrovec
2002-08-08 18:43 ` Andre Hedrick
  -- strict thread matches above, loose matches on Subject: below --
2002-08-08 19:01 Petr Vandrovec
2002-08-09 17:32 ` Bill Davidsen
2002-08-08 16:48 Petr Vandrovec
2002-08-08 17:41 ` Part 2: " Andre Hedrick

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox