Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* axp patch for 2.3.41
@ 2000-02-01 10:28 Richard Henderson
  2000-02-01 13:51 ` Dr. Andrew Almond
  0 siblings, 1 reply; 18+ messages in thread
From: Richard Henderson @ 2000-02-01 10:28 UTC (permalink / raw)
  To: torvalds; +Cc: axp-list

[-- Attachment #1: Type: text/plain, Size: 653 bytes --]

2.3.42 was released while I was in the process of generating
the diffs, but I don't think there's any overlap.

The only change to generic code is to get bootmem to allocate
memory more aligned than a page.  Apparently there's some HW
bug in CIA and/or PYXIS that requires iommu page tables to be
32K aligned instead of 8K aligned.

I got lazy toward the end.  MCPCIA is stubbed out so that the
rest of the kernel can compile.  I left those docs over in 
Dave's machine room some time ago and keep forgetting to go
collect them.

Tested on ds20 and pc164, though there aren't many devices yet
in the main tree that can take advantage of the iommu.


r~

[-- Attachment #2: axp-dyndma-4.gz --]
[-- Type: application/octet-stream, Size: 25244 bytes --]

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

* Re: axp patch for 2.3.41
  2000-02-01 10:28 axp patch for 2.3.41 Richard Henderson
@ 2000-02-01 13:51 ` Dr. Andrew Almond
  2000-02-01 14:19   ` Ivan Kokshaysky
  0 siblings, 1 reply; 18+ messages in thread
From: Dr. Andrew Almond @ 2000-02-01 13:51 UTC (permalink / raw)
  To: axp-list

[-- Attachment #1: Type: text/plain, Size: 1194 bytes --]

Kernel 2.3.42 up and running on UP2000 with patches from RH.

Richard Henderson wrote:

> 2.3.42 was released while I was in the process of generating
> the diffs, but I don't think there's any overlap.
>
> The only change to generic code is to get bootmem to allocate
> memory more aligned than a page.  Apparently there's some HW
> bug in CIA and/or PYXIS that requires iommu page tables to be
> 32K aligned instead of 8K aligned.
>
> I got lazy toward the end.  MCPCIA is stubbed out so that the
> rest of the kernel can compile.  I left those docs over in
> Dave's machine room some time ago and keep forgetting to go
> collect them.
>
> Tested on ds20 and pc164, though there aren't many devices yet
> in the main tree that can take advantage of the iommu.
>
> r~
>
>   ------------------------------------------------------------------------
>                       Name: axp-dyndma-4.gz
>    axp-dyndma-4.gz    Type: unspecified type (application/octet-stream)
>                   Encoding: base64

--
Dr. Andrew Almond, Carlsberg Research Centre,
Gamle Carlsberg Vej 10, DK-2500 Valby, Denmark
Phone: +45 33 27 52 03, Fax: +45 33 27 47 08
Email: aa@crc.dk Homepage: http://www.crc.dk



[-- Attachment #2: Type: text/html, Size: 1611 bytes --]

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

* Re: axp patch for 2.3.41
  2000-02-01 13:51 ` Dr. Andrew Almond
@ 2000-02-01 14:19   ` Ivan Kokshaysky
  2000-02-01 16:00     ` Thorsten Kranzkowski
  2000-02-01 20:16     ` axp patch for 2.3.41 Richard Henderson
  0 siblings, 2 replies; 18+ messages in thread
From: Ivan Kokshaysky @ 2000-02-01 14:19 UTC (permalink / raw)
  To: axp-list

On Tue, Feb 01, 2000 at 02:51:34PM +0100, Dr. Andrew Almond wrote:
> Kernel 2.3.42 up and running on UP2000 with patches from RH.
And crashes right after "Freeing unused kernel memory" on SX164...

Ivan.


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

* Re: axp patch for 2.3.41
  2000-02-01 14:19   ` Ivan Kokshaysky
@ 2000-02-01 16:00     ` Thorsten Kranzkowski
  2000-02-01 20:16       ` Richard Henderson
  2000-02-01 20:16     ` axp patch for 2.3.41 Richard Henderson
  1 sibling, 1 reply; 18+ messages in thread
From: Thorsten Kranzkowski @ 2000-02-01 16:00 UTC (permalink / raw)
  To: axp-list

On Tue, Feb 01, 2000 at 05:19:49PM +0300, Ivan Kokshaysky wrote:
> On Tue, Feb 01, 2000 at 02:51:34PM +0100, Dr. Andrew Almond wrote:
> > Kernel 2.3.42 up and running on UP2000 with patches from RH.
> And crashes right after "Freeing unused kernel memory" on SX164...

Runs fine on my AXPpci33. 

Though I still have problems with netfilter (sig-11's to innocent processes)
and DU-netscape (stuck right after exec, with 100% cpu-time).

Thorsten

-- 
| Thorsten Kranzkowski         Internet: dl8bcu@gmx.net                        |
| Mobile: ++49 161 7210230        Snail: Niemannsweg 30, 49201 Dissen, Germany |
| Ampr: dl8bcu@db0lj.#rpl.deu.eu, dl8bcu@marvin.dl8bcu.ampr.org [44.130.8.19]  |


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

* Re: axp patch for 2.3.41
  2000-02-01 14:19   ` Ivan Kokshaysky
  2000-02-01 16:00     ` Thorsten Kranzkowski
@ 2000-02-01 20:16     ` Richard Henderson
  2000-02-02 10:05       ` Ivan Kokshaysky
  1 sibling, 1 reply; 18+ messages in thread
From: Richard Henderson @ 2000-02-01 20:16 UTC (permalink / raw)
  To: axp-list

On Tue, Feb 01, 2000 at 05:19:49PM +0300, Ivan Kokshaysky wrote:
> And crashes right after "Freeing unused kernel memory" on SX164...

What config & compiler?  It's been up for 9 hours on an sx164 here.


r~


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

* Re: axp patch for 2.3.41
  2000-02-01 16:00     ` Thorsten Kranzkowski
@ 2000-02-01 20:16       ` Richard Henderson
  2000-02-02  0:17         ` Thorsten Kranzkowski
  0 siblings, 1 reply; 18+ messages in thread
From: Richard Henderson @ 2000-02-01 20:16 UTC (permalink / raw)
  To: axp-list

On Tue, Feb 01, 2000 at 04:00:25PM +0000, Thorsten Kranzkowski wrote:
> DU-netscape (stuck right after exec, with 100% cpu-time).

Can you strace it?


r~


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

* Re: axp patch for 2.3.41
  2000-02-01 20:16       ` Richard Henderson
@ 2000-02-02  0:17         ` Thorsten Kranzkowski
  2000-02-02  7:59           ` Jean-Baptiste Vignaud
  2000-02-04  8:14           ` Mysterious exec bug [Re: axp patch for 2.3.41] Ivan Kokshaysky
  0 siblings, 2 replies; 18+ messages in thread
From: Thorsten Kranzkowski @ 2000-02-02  0:17 UTC (permalink / raw)
  To: axp-list; +Cc: rth

On Tue, Feb 01, 2000 at 12:16:46PM -0800, Richard Henderson wrote:
> On Tue, Feb 01, 2000 at 04:00:25PM +0000, Thorsten Kranzkowski wrote:
> > DU-netscape (stuck right after exec, with 100% cpu-time).
> 
> Can you strace it?

of course :-) :


Marvin:~$ uname -a
Linux Marvin 2.3.42 #1 Tue Feb 1 12:22:41 UTC 2000 alpha unknown
Marvin:~$ export LD_LIBRARY_PATH=/usr/shlib
Marvin:~$ export MOZILLA_HOME=/usr/local/netscape
Marvin:~$ ldd /usr/local/netscape/netscape
        not a dynamic executable
Marvin:~$ file /usr/local/netscape/netscape
/usr/local/netscape/netscape: COFF format alpha executable paged dynamically linked stripped - version 3.11-10
Marvin:~$ strace /usr/local/netscape/netscape
execve("/usr/local/netscape/netscape", ["/usr/local/netscape/netscape"], [/* 29
vars */]) = 0

## Unfortunately that's all ... 
## Some other info you might find interesting:

Marvin:~$ top
 11:16pm  up 5 min,  3 users,  load average: 0.75, 0.36, 0.15
43 processes: 41 sleeping, 2 running, 0 zombie, 0 stopped
CPU states: 11.3% user, 88.6% system,  0.0% nice,  0.0% idle
Mem:  122256K av,  72944K used,  49312K free,      0K shrd,   2752K buff
Swap: 263864K av,      0K used, 263864K free                 36168K cached

  PID USER     PRI  NI  SIZE  RSS SHARE STAT  LIB %CPU %MEM   TIME COMMAND
  295 th        18   0    16   16     8 R       0 94.9  0.0   1:15 netscape
  302 th         9   0  2064 2064  1720 R    1984  4.3  0.8   0:02 top
  234 root       0   0   808  808   680 S     728  0.6  0.3   0:00 gpm
    1 root       0   0   856  856   720 S     784  0.0  0.3   0:06 init
    2 root       0   0     0    0     0 SW      0  0.0  0.0   0:00 kswapd
[...]

## Now I started 3 other netscapes so I can catch a PC-address:


<SysRq-T>:
strace    S fffffc000032bb0c  7056   294    262   295  (NOTLB)
   sig: 0 0000000000000000 0000000000000000 : X
netscape  R fffffc0000310e74   632   295    294        (NOTLB)
   sig: 0 0000000000000000 0000000000000000 : X
netscape  R fffffc0000310e74     0   314    265        (NOTLB)
   sig: 0 0000000000000000 0000000000000000 : X
netscape  R   current task       0   321    266        (NOTLB)
   sig: 0 0000000000000000 0000000000000000 : X
netscape  R fffffc0000310e74     0   328    267        (NOTLB)
   sig: 0 0000000000000000 0000000000000000 : X

Marvin:/usr/src/linux-2.3.42-work$ grep fffffc0000310e System.map
fffffc0000310e10 t syscall_error
fffffc0000310e34 t ret_success
fffffc0000310e40 t signal_return
fffffc0000310e60 t reschedule
fffffc0000310e88 t sys_sigreturn
fffffc0000310ea8 t sys_rt_sigreturn
fffffc0000310ec8 t sys_sigsuspend
fffffc0000310ee8 t sys_rt_sigsuspend

Marvin:/proc/295$ cat maps
000000011fffe000-0000000120000000 rwxp 0000000000000000 00:00 0
000003ff80000000-000003ff80020000 r-xp 0000000000000000 08:01 7832       /sbin/loader
000003ffc0000000-000003ffc0002000 rwxp 0000000000020000 08:01 7832       /sbin/loader
000003ffc0002000-000003ffc0004000 rwxp 0000000000000000 00:00 0

Marvin:/proc/295$ cat status
Name:   netscape
State:  R (running)
Pid:    295
PPid:   294
Uid:    101     101     101     101
Gid:    100     100     100     100
FDSize: 64
Groups: 100 11 12 16 40 41 80 81 82 84 85 200
VmSize:        8 kB
VmLck:         0 kB
VmRSS:        16 kB
VmData:        8 kB
VmStk:         8 kB
VmExe:       128 kB
VmLib:         0 kB
SigPnd: 0000000000000000
SigBlk: 0000000000000000
SigIgn: 0000000000000000
SigCgt: 0000000000000000
CapInh: 00000000fffffeff
CapPrm: 0000000000000000
CapEff: 0000000000000000


## Calling /sbin/loader directly shows similar behaviour.

[Marvin:/sbin#] gdb loader
GNU gdb 4.18
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "alpha-unknown-linux-gnu"...
(no debugging symbols found)...
(gdb) info files
Symbols from "/sbin/loader".
Local exec file:
        `/sbin/loader', file type ecoff-littlealpha.
        Entry point: 0x3ff80005cd0
        0x3ff80005cd0 - 0x3ff8001f160 is .text
        0x3ffc0000000 - 0x3ffc0000540 is .data
        0x3ff80000270 - 0x3ff80005cd0 is .rconst
        0x3ffc0000540 - 0x3ffc00017d0 is .lita
        0x3ffc00017d0 - 0x3ffc0001920 is .sdata
        0x3ffc0001920 - 0x3ffc0001d30 is .sbss
        0x3ffc0001d30 - 0x3ffc0002490 is .bss
(gdb) run
Starting program: /sbin/loader
warning: shared library handler failed to enable breakpoint

Program received signal SIGTSTP, Stopped (user).
warning: Hit heuristic-fence-post without finding
warning: enclosing function for address 0x3ff80005cd0
This warning occurs if you are debugging a function without any symbols
(for example, in a stripped executable).  In that case, you may wish to
increase the size of the search with the `set heuristic-fence-post' command.

Otherwise, you told GDB there was a function where there isn't one, or
(more likely) you have encountered a bug in GDB.
0x3ff80005cd0 in ?? ()
(gdb)

## After 'run' I waited about 20 seconds, then pressed ^z . The PC is still at
## the entry point ??!!
##
## With kernel 2.3.10 /sbin/loader shows a message (that it doesn't want to
## be called directly :-) and netscape works just fine.
##
## Anything else that I can test?

Thorsten

-- 
| Thorsten Kranzkowski         Internet: dl8bcu@gmx.net                        |
| Mobile: ++49 161 7210230        Snail: Niemannsweg 30, 49201 Dissen, Germany |
| Ampr: dl8bcu@db0lj.#rpl.deu.eu, dl8bcu@marvin.dl8bcu.ampr.org [44.130.8.19]  |


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

* Re: axp patch for 2.3.41
  2000-02-02  0:17         ` Thorsten Kranzkowski
@ 2000-02-02  7:59           ` Jean-Baptiste Vignaud
  2000-02-04  8:14           ` Mysterious exec bug [Re: axp patch for 2.3.41] Ivan Kokshaysky
  1 sibling, 0 replies; 18+ messages in thread
From: Jean-Baptiste Vignaud @ 2000-02-02  7:59 UTC (permalink / raw)
  To: axp-list

> On Tue, Feb 01, 2000 at 12:16:46PM -0800, Richard Henderson wrote:
> > On Tue, Feb 01, 2000 at 04:00:25PM +0000, Thorsten Kranzkowski wrote:
> > > DU-netscape (stuck right after exec, with 100% cpu-time).

It's the same for me; strace say nothing.
Netscape DU seems stop working between 2.3.23 and 2.3.36.
2.3.23 is the actual kernel i'm using on sx164
2.3.36 is the next kernel that i'v successfully compilled and DU Netscape
stop to work.

--
Jean-Baptiste Vignaud



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

* Re: axp patch for 2.3.41
  2000-02-01 20:16     ` axp patch for 2.3.41 Richard Henderson
@ 2000-02-02 10:05       ` Ivan Kokshaysky
  2000-02-02 19:52         ` Richard Henderson
  2000-02-03  3:44         ` Richard Henderson
  0 siblings, 2 replies; 18+ messages in thread
From: Ivan Kokshaysky @ 2000-02-02 10:05 UTC (permalink / raw)
  To: axp-list

On Tue, Feb 01, 2000 at 12:16:15PM -0800, Richard Henderson wrote:
> On Tue, Feb 01, 2000 at 05:19:49PM +0300, Ivan Kokshaysky wrote:
> > And crashes right after "Freeing unused kernel memory" on SX164...
> 
> What config & compiler?  It's been up for 9 hours on an sx164 here.
> 
It turned to be ide-dma driver (which does use sg stuff). I can
boot with dma disabled, but kernel panics as soon as I enable it.
The box has the only IDE disk, so debugging is not a fun :-(

Ivan.


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

* Re: axp patch for 2.3.41
  2000-02-02 10:05       ` Ivan Kokshaysky
@ 2000-02-02 19:52         ` Richard Henderson
  2000-02-02 21:37           ` Peter Rival
  2000-02-03  3:44         ` Richard Henderson
  1 sibling, 1 reply; 18+ messages in thread
From: Richard Henderson @ 2000-02-02 19:52 UTC (permalink / raw)
  To: axp-list

On Wed, Feb 02, 2000 at 01:05:48PM +0300, Ivan Kokshaysky wrote:
> It turned to be ide-dma driver (which does use sg stuff). I can
> boot with dma disabled, but kernel panics as soon as I enable it.
> The box has the only IDE disk, so debugging is not a fun :-(

Ah hah.  Yes, I can reproduce that here.  Fortunately, on a
machine with just an IDE cdrom.


r~


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

* Re: axp patch for 2.3.41
  2000-02-02 19:52         ` Richard Henderson
@ 2000-02-02 21:37           ` Peter Rival
  0 siblings, 0 replies; 18+ messages in thread
From: Peter Rival @ 2000-02-02 21:37 UTC (permalink / raw)
  To: axp-list, rth

Richard Henderson wrote:

> On Wed, Feb 02, 2000 at 01:05:48PM +0300, Ivan Kokshaysky wrote:
> > It turned to be ide-dma driver (which does use sg stuff). I can
> > boot with dma disabled, but kernel panics as soon as I enable it.
> > The box has the only IDE disk, so debugging is not a fun :-(
>
> Ah hah.  Yes, I can reproduce that here.  Fortunately, on a
> machine with just an IDE cdrom.
>

I just got a chance to test this on our 4CPU/4GB ES40 (EV67/667s).  Both 2.3.41 and .42 hang right after the "Freeing unused kernel
memory" message, where we unlock_kernel() and then open the console.  The system _is_ trying to use a serial console - could that be
it?  Further details as/if I find them.

 - Pete


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

* Re: axp patch for 2.3.41
  2000-02-02 10:05       ` Ivan Kokshaysky
  2000-02-02 19:52         ` Richard Henderson
@ 2000-02-03  3:44         ` Richard Henderson
  2000-02-03  4:32           ` Mitchell Blank Jr
                             ` (2 more replies)
  1 sibling, 3 replies; 18+ messages in thread
From: Richard Henderson @ 2000-02-03  3:44 UTC (permalink / raw)
  To: axp-list; +Cc: frival, torvalds

[-- Attachment #1: Type: text/plain, Size: 565 bytes --]

On Wed, Feb 02, 2000 at 01:05:48PM +0300, Ivan Kokshaysky wrote:
> It turned to be ide-dma driver (which does use sg stuff). I can
> boot with dma disabled, but kernel panics as soon as I enable it.
> The box has the only IDE disk, so debugging is not a fun :-(

Ok, this stood up to an hour's pounding of an ide cdrom.
It's a delta from the previous patch.

Pete, beware I also turned off the 2G memory clamp.  I believe
vger's cvs has a lot more drivers reworked to use the new dma
interface, so you should be able to get everything in the machine
using it.


r~

[-- Attachment #2: axp-dyndma-4-5.gz --]
[-- Type: application/octet-stream, Size: 6175 bytes --]

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

* Re: axp patch for 2.3.41
  2000-02-03  3:44         ` Richard Henderson
@ 2000-02-03  4:32           ` Mitchell Blank Jr
  2000-02-03  9:50           ` Ivan Kokshaysky
  2000-02-03 13:50           ` Peter Rival
  2 siblings, 0 replies; 18+ messages in thread
From: Mitchell Blank Jr @ 2000-02-03  4:32 UTC (permalink / raw)
  To: axp-list; +Cc: frival

Richard Henderson wrote:
> It's a delta from the previous patch.

OK, my SX-164 now seems happy on 2.3.41+patches.

-Mitch


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

* Re: axp patch for 2.3.41
  2000-02-03  3:44         ` Richard Henderson
  2000-02-03  4:32           ` Mitchell Blank Jr
@ 2000-02-03  9:50           ` Ivan Kokshaysky
  2000-02-03 10:23             ` Mitchell Blank Jr
  2000-02-03 13:50           ` Peter Rival
  2 siblings, 1 reply; 18+ messages in thread
From: Ivan Kokshaysky @ 2000-02-03  9:50 UTC (permalink / raw)
  To: Richard Henderson; +Cc: axp-list, frival, torvalds

On Wed, Feb 02, 2000 at 07:44:45PM -0800, Richard Henderson wrote:
> Ok, this stood up to an hour's pounding of an ide cdrom.
> It's a delta from the previous patch.

Works just great, thanks!
This minor addition fixes unresolved symbols in some of my modules.

Ivan.

--- linux/arch/alpha/kernel/alpha_ksyms.c.orig	Thu Feb  3 12:30:58 2000
+++ linux/arch/alpha/kernel/alpha_ksyms.c	Thu Feb  3 12:31:08 2000
@@ -95,6 +95,10 @@
 EXPORT_SYMBOL(__memset);
 EXPORT_SYMBOL(__memsetw);
 EXPORT_SYMBOL(__constant_c_memset);
+EXPORT_SYMBOL(__direct_map_base);
+EXPORT_SYMBOL(__direct_map_size);
+EXPORT_SYMBOL(pci_alloc_consistent);
+EXPORT_SYMBOL(pci_free_consistent);
 
 EXPORT_SYMBOL(dump_thread);
 EXPORT_SYMBOL(dump_fpu);


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

* Re: axp patch for 2.3.41
  2000-02-03  9:50           ` Ivan Kokshaysky
@ 2000-02-03 10:23             ` Mitchell Blank Jr
  0 siblings, 0 replies; 18+ messages in thread
From: Mitchell Blank Jr @ 2000-02-03 10:23 UTC (permalink / raw)
  To: axp-list; +Cc: Richard Henderson

Ivan Kokshaysky wrote:
> On Wed, Feb 02, 2000 at 07:44:45PM -0800, Richard Henderson wrote:
> > Ok, this stood up to an hour's pounding of an ide cdrom.
> > It's a delta from the previous patch.
> 
> Works just great, thanks!
> This minor addition fixes unresolved symbols in some of my modules.

Also in the anal-retentive department (actually found this because
I was grep'ing for the implementation and I can't spell either...)

-Mitch

--- include/asm-alpha/pci.h.OLD	Fri Feb  4 10:35:37 2000
+++ include/asm-alpha/pci.h	Fri Feb  4 10:36:04 2000
@@ -56,16 +56,16 @@
 
 /* IOMMU controls.  */
 
-/* Allocate and map kernel buffer using consistant mode DMA for PCI
+/* Allocate and map kernel buffer using consistent mode DMA for PCI
    device.  Returns non-NULL cpu-view pointer to the buffer if
    successful and sets *DMA_ADDRP to the pci side dma address as well,
    else DMA_ADDRP is undefined.  */
 
 extern void *pci_alloc_consistent(struct pci_dev *, long, dma_addr_t *);
 
-/* Free and unmap a consistant DMA buffer.  CPU_ADDR and DMA_ADDR must
-   be values that were returned from pci_alloc_consistant.  SIZE must
-   be the same as what as passed into pci_alloc_consistant.
+/* Free and unmap a consistent DMA buffer.  CPU_ADDR and DMA_ADDR must
+   be values that were returned from pci_alloc_consistent.  SIZE must
+   be the same as what as passed into pci_alloc_consistent.
    References to the memory and mappings assosciated with CPU_ADDR or
    DMA_ADDR past this call are illegal.  */
 
@@ -108,7 +108,7 @@
 
 extern void pci_unmap_sg(struct pci_dev *, struct scatterlist *, int);
 
-/* Make physical memory consistant for a single streaming mode DMA
+/* Make physical memory consistent for a single streaming mode DMA
    translation after a transfer.
 
    If you perform a pci_map_single() but wish to interrogate the
@@ -123,7 +123,7 @@
 	/* Nothing to do.  */
 }
 
-/* Make physical memory consistant for a set of streaming mode DMA
+/* Make physical memory consistent for a set of streaming mode DMA
    translations after a transfer.  The same as pci_dma_sync_single but
    for a scatter-gather list, same rules and usage.  */
 


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

* Re: axp patch for 2.3.41
  2000-02-03  3:44         ` Richard Henderson
  2000-02-03  4:32           ` Mitchell Blank Jr
  2000-02-03  9:50           ` Ivan Kokshaysky
@ 2000-02-03 13:50           ` Peter Rival
  2000-02-03 20:36             ` Peter Rival
  2 siblings, 1 reply; 18+ messages in thread
From: Peter Rival @ 2000-02-03 13:50 UTC (permalink / raw)
  To: axp-list, rth

Richard Henderson wrote:

> On Wed, Feb 02, 2000 at 01:05:48PM +0300, Ivan Kokshaysky wrote:
> > It turned to be ide-dma driver (which does use sg stuff). I can
> > boot with dma disabled, but kernel panics as soon as I enable it.
> > The box has the only IDE disk, so debugging is not a fun :-(
>
> Ok, this stood up to an hour's pounding of an ide cdrom.
> It's a delta from the previous patch.
>
> Pete, beware I also turned off the 2G memory clamp.  I believe
> vger's cvs has a lot more drivers reworked to use the new dma
> interface, so you should be able to get everything in the machine
> using it.
>

Well, it blew up with a nice, shiny oops right after detecting all the SCSI
adapters (5 QLogic, 1 Symbios), and right as it would start to detect each
SCSI disk.  My guess is that the qlogic driver isn't updated yet - could you
remind me how to get to vger's cvs?  (It's amazing...all this technology and
I can't figure it out - doesn't help that cvs.on.openprojects.net hasn't been
updated in months... ;)

 - Pete


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

* Re: axp patch for 2.3.41
  2000-02-03 13:50           ` Peter Rival
@ 2000-02-03 20:36             ` Peter Rival
  0 siblings, 0 replies; 18+ messages in thread
From: Peter Rival @ 2000-02-03 20:36 UTC (permalink / raw)
  To: axp-list, rth

I managed to get access to the formerly-vger cvs tree, and have copied the
updated qlogicisp and sym53c8xx driver files over and built a new vmlinux.  I
now don't get an oops at the device detection stage, I get a continued string of
"qlogicisp: mbox_command loop timeout" messages and adapter resets.  Anyone have
any ideas on what caused this/how further to debug?  (Admit my lack of expertise
on SCSI drivers...*sigh*)

 - Pete

Peter Rival wrote:

> Richard Henderson wrote:
>
> > On Wed, Feb 02, 2000 at 01:05:48PM +0300, Ivan Kokshaysky wrote:
> > > It turned to be ide-dma driver (which does use sg stuff). I can
> > > boot with dma disabled, but kernel panics as soon as I enable it.
> > > The box has the only IDE disk, so debugging is not a fun :-(
> >
> > Ok, this stood up to an hour's pounding of an ide cdrom.
> > It's a delta from the previous patch.
> >
> > Pete, beware I also turned off the 2G memory clamp.  I believe
> > vger's cvs has a lot more drivers reworked to use the new dma
> > interface, so you should be able to get everything in the machine
> > using it.
> >
>
> Well, it blew up with a nice, shiny oops right after detecting all the SCSI
> adapters (5 QLogic, 1 Symbios), and right as it would start to detect each
> SCSI disk.  My guess is that the qlogic driver isn't updated yet - could you
> remind me how to get to vger's cvs?  (It's amazing...all this technology and
> I can't figure it out - doesn't help that cvs.on.openprojects.net hasn't been
> updated in months... ;)
>
>  - Pete


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

* Mysterious exec bug [Re: axp patch for 2.3.41]
  2000-02-02  0:17         ` Thorsten Kranzkowski
  2000-02-02  7:59           ` Jean-Baptiste Vignaud
@ 2000-02-04  8:14           ` Ivan Kokshaysky
  1 sibling, 0 replies; 18+ messages in thread
From: Ivan Kokshaysky @ 2000-02-04  8:14 UTC (permalink / raw)
  To: axp-list, rth

On Wed, Feb 02, 2000 at 12:17:08AM +0000, Thorsten Kranzkowski wrote:
> > > DU-netscape (stuck right after exec, with 100% cpu-time).
> > 
> > Can you strace it?
> 
> of course :-) :
> 

[ lots of info deleted ]

I've found that any ecoff executable with .text address =
(any_address | 0x200000000) behaves exactly like Thorsten described
(100% system time, not even jumping into the executable).
But it's killable.
Situation is much worse with elf binaries whose start address has
this evil bit set, they cause hard lockup.
The bug appeared somewhere between 2.3.23 and 2.3.30.

[ink@jurassic tst]$ cat a.c
int __start()
{
	return 0;
}
[ink@jurassic tst]$ gcc -c -o a.o a.c
[ink@jurassic tst]$ ld -oformat ecoff-littlealpha -o a a.o -Ttext 0x124000001c0
[ink@jurassic tst]$ ./a
Segmentation fault (core dumped)
			^ thats ok, return address is bogus
[ink@jurassic tst]$ ld -oformat ecoff-littlealpha -o a a.o -Ttext 0x126000001c0
[ink@jurassic tst]$ ./a
			^ stuck here...
^C
[ink@jurassic tst]$

Any ideas?

Ivan.


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

end of thread, other threads:[~2000-02-04  8:14 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-02-01 10:28 axp patch for 2.3.41 Richard Henderson
2000-02-01 13:51 ` Dr. Andrew Almond
2000-02-01 14:19   ` Ivan Kokshaysky
2000-02-01 16:00     ` Thorsten Kranzkowski
2000-02-01 20:16       ` Richard Henderson
2000-02-02  0:17         ` Thorsten Kranzkowski
2000-02-02  7:59           ` Jean-Baptiste Vignaud
2000-02-04  8:14           ` Mysterious exec bug [Re: axp patch for 2.3.41] Ivan Kokshaysky
2000-02-01 20:16     ` axp patch for 2.3.41 Richard Henderson
2000-02-02 10:05       ` Ivan Kokshaysky
2000-02-02 19:52         ` Richard Henderson
2000-02-02 21:37           ` Peter Rival
2000-02-03  3:44         ` Richard Henderson
2000-02-03  4:32           ` Mitchell Blank Jr
2000-02-03  9:50           ` Ivan Kokshaysky
2000-02-03 10:23             ` Mitchell Blank Jr
2000-02-03 13:50           ` Peter Rival
2000-02-03 20:36             ` Peter Rival

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