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
include/asm-i386/system.h +14 -0
@@ -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
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:DMAide2: 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:DMAide2: 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
Quoted 3 lines · Marc-Christian Petersen
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.
[...]
Quoted 2 lines
ide0: BM-DMA at 0x9400-0x9407, BIOS settings: hda:pio, hdb:pio ide1: BM-DMA at 0x9408-0x940f, BIOS settings: hdc:pio, hdd:pio
[...]
Quoted 2 lines
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
Signature · 5 lines
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
On Sunday 08 December 2002 10:29, Henning P. Schmiedehausen wrote:
Hi Henning,
Quoted 7 lines
Quoted 4 lines
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:DMAShouldn'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
Quoted 4 lines · Marc-Christian Petersen
On Sunday 08 December 2002 10:29, Henning P. Schmiedehausen wrote:
Hi Henning,
Quoted 8 lines
Quoted 7 lines
Quoted 4 lines
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:DMAShouldn'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
On Sunday 08 December 2002 15:13, Alan Cox wrote:
Hi Alan,
Quoted 2 lines
Quoted 1 line
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
Quoted 8 lines · Marc-Christian Petersen
On Sunday 08 December 2002 15:13, Alan Cox wrote:
Hi Alan,
Quoted 2 lines
Quoted 1 line
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.
Quoted 5 lines · Marc-Christian Petersen
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
On Sunday 08 December 2002 02:51, Alan Cox wrote:
Hi Alan,
Quoted 3 lines
Quoted 1 line
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_blkchange from -ac
ah, ok :) thnx Alan.
ciao, Marc
Quoted 10 lines · On 2002.12.08 Alan Cox wrote:
Quoted 5 lines · Marc-Christian Petersen
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_blkchange 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
Signature · 4 lines
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))