2002-12-07 13:27:52

by Marc-Christian Petersen

[permalink] [raw]
Subject: [BUG] 2.4.20-BK

Hi Alan,

using 2.4.20-BK tree gives me:

flushing ide devices: hda hdd

at reboot time in an endless loop drawing over the screen. No reboot will be
made, I have to do that either by sysrq-b or reset button.

Using:

[*] PCI IDE chipset support
[*] Generic PCI bus-master DMA support
[*] Use PCI DMA by default when available
<*> Intel PIIXn chipsets support
[*] IGNORE word93 Validation BITS

root@codeman:[/] # hdparm -i /dev/hda

/dev/hda:

Model=MAXTOR 6L060J3, FwRev=A93.0500, SerialNo=663219752652
Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs }
RawCHS=16383/16/63, TrkSize=32256, SectSize=21298, ECCbytes=4
BuffType=DualPortCache, BuffSize=1819kB, MaxMultSect=16, MultSect=16
CurCHS=4047/16/255, CurSects=16511760, LBA=yes, LBAsects=117266688
IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120}
PIO modes: pio0 pio1 pio2 pio3 pio4
DMA modes: mdma0 mdma1 mdma2
UDMA modes: udma0 udma1 udma2 udma3 udma4 *udma5 udma6
AdvancedPM=no WriteCache=enabled
Drive conforms to: ATA/ATAPI-5 T13 1321D revision 1: 1 2 3 4 5


BTW: The attached patch is needed to build the 2.4.20-BK tree successfully
because "local_irq_*" is missing and ld complains about undefined
reference at linking time.

Any hints to fix that flushing ide bla foobar thing?

TIA!

ciao, Marc


Attachments:
ide-i386-stuff-2.4.21.patch (1.56 kB)

2002-12-07 19:29:47

by Marc-Christian Petersen

[permalink] [raw]
Subject: Re: [BUG] 2.4.20-BK

On Saturday 07 December 2002 14:35, Marc-Christian Petersen wrote:

Hi Alan,

ok, just another bug I hit:

pdc202xx_new: static build, module build do not have Special FastTrack
features so the system will say neither IDE port enabled (BIOS) so it won't
work.

PDC20270: IDE controller at PCI slot 01:01.0
PDC20270: chipset revision 2
PDC20270: not 100% native mode: will probe irqs later
PDC20270: ROM enabled at 0xefdd0000
ide0: BM-DMA at 0x9400-0x9407, BIOS settings: hda:pio, hdb:pio
ide1: BM-DMA at 0x9408-0x940f, BIOS settings: hdc:pio, hdd:pio
ICH2: IDE controller at PCI slot 00:1f.1
ICH2: chipset revision 17
ICH2: not 100% native mode: will probe irqs later
ide2: BM-DMA at 0xffa0-0xffa7, BIOS settings: hda:DMA, hdb:pio
ide3: BM-DMA at 0xffa8-0xffaf, BIOS settings: hda:pio, hdb:DMA
ide2: ports already in use, skipping probe
ide3: ports already in use, skipping probe
hda:

HANG! Nothing more happens. I wait for ~ 5 minutes.


same with disabled IRQ11 for PCI in BiOS:

PDC20270: IDE controller at PCI slot 01:01.0
PDC20270: chipset revision 2
PDC20270: not 100% native mode: will probe irqs later
PDC20270: ROM enabled at 0xefdd0000
ide0: BM-DMA at 0x9400-0x9407, BIOS settings: hda:pio, hdb:pio
ide1: BM-DMA at 0x9408-0x940f, BIOS settings: hdc:pio, hdd:pio
ICH2: IDE controller at PCI slot 00:1f.1
ICH2: chipset revision 17
ICH2: not 100% native mode: will probe irqs later
ide2: BM-DMA at 0xffa0-0xffa7, BIOS settings: hda:DMA, hdb:pio
ide3: BM-DMA at 0xffa8-0xffaf, BIOS settings: hda:pio, hdb:DMA
ide2: ports already in use, skipping probe
ide3: ports already in use, skipping probe
hda:<3>hda: lost interrupt
hda: lost interrupt
hda1

<going ahead>

hda: lost interrupt
hda: lost interrupt
hda: lost interrupt
hda: lost interrupt
cramfs: wrong magic
Kernel panic: VFS: Unable to mount root fs on 03:03
<0> Rebooting in 60 seconds..


P.S.: Is this appreciated for -BK tree's to reports bugs? I assume yes :)

ciao, Marc


2002-12-08 01:09:15

by Marc-Christian Petersen

[permalink] [raw]
Subject: Re: [BUG] 2.4.20-BK

On Sunday 08 December 2002 02:51, Alan Cox wrote:

Hi Alan,

> > flushing ide devices: hda hdd
> Marcelo dropped some of the patches I sent (or his mailer or some random
> box in between did). You also want the ll_rw_blk change from -ac
ah, ok :) thnx Alan.

ciao, Marc

2002-12-08 01:08:00

by Alan

[permalink] [raw]
Subject: Re: [BUG] 2.4.20-BK

On Sat, 2002-12-07 at 13:35, Marc-Christian Petersen wrote:
> Hi Alan,
>
> using 2.4.20-BK tree gives me:
>
> flushing ide devices: hda hdd

Marcelo dropped some of the patches I sent (or his mailer or some random
box in between did). You also want the ll_rw_blk change from -ac

2002-12-08 01:15:41

by J.A. Magallon

[permalink] [raw]
Subject: Re: [BUG] 2.4.20-BK


On 2002.12.08 Alan Cox wrote:
>On Sat, 2002-12-07 at 13:35, Marc-Christian Petersen wrote:
>> Hi Alan,
>>
>> using 2.4.20-BK tree gives me:
>>
>> flushing ide devices: hda hdd
>
>Marcelo dropped some of the patches I sent (or his mailer or some random
>box in between did). You also want the ll_rw_blk change from -ac
>

BTW, sometimes i noticed that my box powers of after

flushing ide devices: hda hdb hdc hdd

and others I just see a couple disks and then power-off in the middle
of the flush message. Is this something known ?

TIA

--
J.A. Magallon <[email protected]> \ Software is like sex:
werewolf.able.es \ It's better when it's free
Mandrake Linux release 9.1 (Cooker) for i586
Linux 2.4.20-jam1 (gcc 3.2 (Mandrake Linux 9.1 3.2-4mdk))

Subject: Re: [BUG] 2.4.20-BK

Marc-Christian Petersen <[email protected]> writes:

>pdc202xx_new: static build, module build do not have Special FastTrack
>features so the system will say neither IDE port enabled (BIOS) so it won't
>work.
[...]
> ide0: BM-DMA at 0x9400-0x9407, BIOS settings: hda:pio, hdb:pio
> ide1: BM-DMA at 0x9408-0x940f, BIOS settings: hdc:pio, hdd:pio
[...]
> ide2: BM-DMA at 0xffa0-0xffa7, BIOS settings: hda:DMA, hdb:pio
> ide3: BM-DMA at 0xffa8-0xffaf, BIOS settings: hda:pio, hdb:DMA

Shouldn't these bei hde - hdh ? I'd be scared by my machine reporting
hda thrice. :-)

Regards
Henning


--
Dipl.-Inf. (Univ.) Henning P. Schmiedehausen -- Geschaeftsfuehrer
INTERMETA - Gesellschaft fuer Mehrwertdienste mbH [email protected]

Am Schwabachgrund 22 Fon.: 09131 / 50654-0 [email protected]
D-91054 Buckenhof Fax.: 09131 / 50654-20

2002-12-08 12:30:23

by Marc-Christian Petersen

[permalink] [raw]
Subject: Re: [BUG] 2.4.20-BK

On Sunday 08 December 2002 10:29, Henning P. Schmiedehausen wrote:

Hi Henning,

> > ide0: BM-DMA at 0x9400-0x9407, BIOS settings: hda:pio, hdb:pio
> > ide1: BM-DMA at 0x9408-0x940f, BIOS settings: hdc:pio, hdd:pio
> > ide2: BM-DMA at 0xffa0-0xffa7, BIOS settings: hda:DMA, hdb:pio
> > ide3: BM-DMA at 0xffa8-0xffaf, BIOS settings: hda:pio, hdb:DMA
>
> Shouldn't these bei hde - hdh ? I'd be scared by my machine reporting
> hda thrice. :-)
That's why I've writte this also ;) It's an exact output of what I got.

ciao, Marc

2002-12-08 13:29:42

by Alan

[permalink] [raw]
Subject: Re: [BUG] 2.4.20-BK

On Sun, 2002-12-08 at 12:37, Marc-Christian Petersen wrote:
> On Sunday 08 December 2002 10:29, Henning P. Schmiedehausen wrote:
>
> Hi Henning,
>
> > > ide0: BM-DMA at 0x9400-0x9407, BIOS settings: hda:pio, hdb:pio
> > > ide1: BM-DMA at 0x9408-0x940f, BIOS settings: hdc:pio, hdd:pio
> > > ide2: BM-DMA at 0xffa0-0xffa7, BIOS settings: hda:DMA, hdb:pio
> > > ide3: BM-DMA at 0xffa8-0xffaf, BIOS settings: hda:pio, hdb:DMA
> >
> > Shouldn't these bei hde - hdh ? I'd be scared by my machine reporting
> > hda thrice. :-)
> That's why I've writte this also ;) It's an exact output of what I got.

Send me an lspci -vxx

2002-12-08 13:33:07

by Marc-Christian Petersen

[permalink] [raw]
Subject: Re: [BUG] 2.4.20-BK

On Sunday 08 December 2002 15:13, Alan Cox wrote:

Hi Alan,

> > That's why I've writte this also ;) It's an exact output of what I got.
> Send me an lspci -vxx
I can send that from the running system now, 2.4.20 vanilla, 2.4.20-BK hangs
(as described) so lspci isn't possible :)

ciao, Marc

2002-12-08 13:43:38

by Alan

[permalink] [raw]
Subject: Re: [BUG] 2.4.20-BK

On Sun, 2002-12-08 at 13:40, Marc-Christian Petersen wrote:
> On Sunday 08 December 2002 15:13, Alan Cox wrote:
>
> Hi Alan,
>
> > > That's why I've writte this also ;) It's an exact output of what I got.
> > Send me an lspci -vxx
> I can send that from the running system now, 2.4.20 vanilla, 2.4.20-BK hangs
> (as described) so lspci isn't possible :)

2.4.20-bk seems to be missing lots of patches that are part of the IDE
stuff so don't bother with that - 2.4.20 or 2.4.20-ac are what I need
data from.