* [BUG] 2.4.20-BK
@ 2002-12-07 13:35 Marc-Christian Petersen
2002-12-07 19:36 ` Marc-Christian Petersen
2002-12-08 1:51 ` Alan Cox
0 siblings, 2 replies; 10+ messages in thread
From: Marc-Christian Petersen @ 2002-12-07 13:35 UTC (permalink / raw)
To: linux-kernel; +Cc: Alan Cox
[-- Attachment #1: Type: text/plain, Size: 1368 bytes --]
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
[-- Attachment #2: ide-i386-stuff-2.4.21.patch --]
[-- Type: text/x-diff, Size: 1602 bytes --]
diff -u --new-file --recursive --exclude-from /usr/src/exclude linux.vanilla/include/asm-i386/system.h linux.20-ac1/include/asm-i386/system.h
--- linux.vanilla/include/asm-i386/system.h 2002-11-29 21:27:23.000000000 +0000
+++ linux.20-ac1/include/asm-i386/system.h 2002-11-11 15:59:38.000000000 +0000
@@ -322,8 +319,18 @@
/* used in the idle loop; sti takes one instruction cycle to complete */
#define safe_halt() __asm__ __volatile__("sti; hlt": : :"memory")
+#define __save_and_cli(x) do { __save_flags(x); __cli(); } while(0);
+#define __save_and_sti(x) do { __save_flags(x); __sti(); } while(0);
+
/* For spinlocks etc */
+#if 0
#define local_irq_save(x) __asm__ __volatile__("pushfl ; popl %0 ; cli":"=g" (x): /* no input */ :"memory")
+#define local_irq_set(x) __asm__ __volatile__("pushfl ; popl %0 ; sti":"=g" (x): /* no input */ :"memory")
+#else
+#define local_irq_save(x) __save_and_cli(x)
+#define local_irq_set(x) __save_and_sti(x)
+#endif
+
#define local_irq_restore(x) __restore_flags(x)
#define local_irq_disable() __cli()
#define local_irq_enable() __sti()
@@ -338,6 +345,8 @@
#define sti() __global_sti()
#define save_flags(x) ((x)=__global_save_flags())
#define restore_flags(x) __global_restore_flags(x)
+#define save_and_cli(x) do { save_flags(x); cli(); } while(0);
+#define save_and_sti(x) do { save_flags(x); sti(); } while(0);
#else
@@ -345,6 +354,8 @@
#define sti() __sti()
#define save_flags(x) __save_flags(x)
#define restore_flags(x) __restore_flags(x)
+#define save_and_cli(x) __save_and_cli(x)
+#define save_and_sti(x) __save_and_sti(x)
#endif
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [BUG] 2.4.20-BK
2002-12-07 13:35 [BUG] 2.4.20-BK Marc-Christian Petersen
@ 2002-12-07 19:36 ` Marc-Christian Petersen
2002-12-08 9:29 ` Henning P. Schmiedehausen
2002-12-08 1:51 ` Alan Cox
1 sibling, 1 reply; 10+ messages in thread
From: Marc-Christian Petersen @ 2002-12-07 19:36 UTC (permalink / raw)
To: linux-kernel; +Cc: Alan Cox
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
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [BUG] 2.4.20-BK
2002-12-08 1:51 ` Alan Cox
@ 2002-12-08 1:16 ` Marc-Christian Petersen
2002-12-08 1:22 ` J.A. Magallon
1 sibling, 0 replies; 10+ messages in thread
From: Marc-Christian Petersen @ 2002-12-08 1:16 UTC (permalink / raw)
To: Alan Cox; +Cc: Linux Kernel Mailing List
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
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [BUG] 2.4.20-BK
2002-12-08 1:51 ` Alan Cox
2002-12-08 1:16 ` Marc-Christian Petersen
@ 2002-12-08 1:22 ` J.A. Magallon
1 sibling, 0 replies; 10+ messages in thread
From: J.A. Magallon @ 2002-12-08 1:22 UTC (permalink / raw)
To: Alan Cox; +Cc: Marc-Christian Petersen, Linux Kernel Mailing List
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 <jamagallon@able.es> \ 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))
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [BUG] 2.4.20-BK
2002-12-07 13:35 [BUG] 2.4.20-BK Marc-Christian Petersen
2002-12-07 19:36 ` Marc-Christian Petersen
@ 2002-12-08 1:51 ` Alan Cox
2002-12-08 1:16 ` Marc-Christian Petersen
2002-12-08 1:22 ` J.A. Magallon
1 sibling, 2 replies; 10+ messages in thread
From: Alan Cox @ 2002-12-08 1:51 UTC (permalink / raw)
To: Marc-Christian Petersen; +Cc: Linux Kernel Mailing List
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
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [BUG] 2.4.20-BK
2002-12-07 19:36 ` Marc-Christian Petersen
@ 2002-12-08 9:29 ` Henning P. Schmiedehausen
2002-12-08 12:37 ` Marc-Christian Petersen
0 siblings, 1 reply; 10+ messages in thread
From: Henning P. Schmiedehausen @ 2002-12-08 9:29 UTC (permalink / raw)
To: linux-kernel
Marc-Christian Petersen <m.c.p@wolk-project.de> 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 hps@intermeta.de
Am Schwabachgrund 22 Fon.: 09131 / 50654-0 info@intermeta.de
D-91054 Buckenhof Fax.: 09131 / 50654-20
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [BUG] 2.4.20-BK
2002-12-08 9:29 ` Henning P. Schmiedehausen
@ 2002-12-08 12:37 ` Marc-Christian Petersen
2002-12-08 14:13 ` Alan Cox
0 siblings, 1 reply; 10+ messages in thread
From: Marc-Christian Petersen @ 2002-12-08 12:37 UTC (permalink / raw)
To: linux-kernel; +Cc: hps
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
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [BUG] 2.4.20-BK
2002-12-08 14:13 ` Alan Cox
@ 2002-12-08 13:40 ` Marc-Christian Petersen
2002-12-08 14:27 ` Alan Cox
0 siblings, 1 reply; 10+ messages in thread
From: Marc-Christian Petersen @ 2002-12-08 13:40 UTC (permalink / raw)
To: Alan Cox; +Cc: Linux Kernel Mailing List, hps
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
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [BUG] 2.4.20-BK
2002-12-08 12:37 ` Marc-Christian Petersen
@ 2002-12-08 14:13 ` Alan Cox
2002-12-08 13:40 ` Marc-Christian Petersen
0 siblings, 1 reply; 10+ messages in thread
From: Alan Cox @ 2002-12-08 14:13 UTC (permalink / raw)
To: Marc-Christian Petersen; +Cc: Linux Kernel Mailing List, hps
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
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [BUG] 2.4.20-BK
2002-12-08 13:40 ` Marc-Christian Petersen
@ 2002-12-08 14:27 ` Alan Cox
0 siblings, 0 replies; 10+ messages in thread
From: Alan Cox @ 2002-12-08 14:27 UTC (permalink / raw)
To: Marc-Christian Petersen; +Cc: Linux Kernel Mailing List, hps
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.
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2002-12-08 13:43 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-12-07 13:35 [BUG] 2.4.20-BK Marc-Christian Petersen
2002-12-07 19:36 ` Marc-Christian Petersen
2002-12-08 9:29 ` Henning P. Schmiedehausen
2002-12-08 12:37 ` Marc-Christian Petersen
2002-12-08 14:13 ` Alan Cox
2002-12-08 13:40 ` Marc-Christian Petersen
2002-12-08 14:27 ` Alan Cox
2002-12-08 1:51 ` Alan Cox
2002-12-08 1:16 ` Marc-Christian Petersen
2002-12-08 1:22 ` J.A. Magallon
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®