* after the kernel seems to live @ 1999-05-26 19:05 Robert Keller 1999-05-26 20:22 ` Harald Koerfgen 1999-05-27 10:18 ` Ralf Baechle 0 siblings, 2 replies; 9+ messages in thread From: Robert Keller @ 1999-05-26 19:05 UTC (permalink / raw) To: linux It looks like I've finally been able to get the 2.2.1 kernel booting and trying to access its root filesystem over NFS on an NEC DDB-VRC5074 development board. I'm at the point where the kernel is trying to run /sbin/init and things die because of illegal instructions in init (I'm using the little endian mips root from linux.sgi.com) Where do I get the code for init, ld.so and all those vital root filesystem friends so that I can be sure that they are compiled the way I want them? ...robert ^ permalink raw reply [flat|nested] 9+ messages in thread
* RE: after the kernel seems to live 1999-05-26 19:05 after the kernel seems to live Robert Keller @ 1999-05-26 20:22 ` Harald Koerfgen 1999-05-27 10:18 ` Ralf Baechle 1 sibling, 0 replies; 9+ messages in thread From: Harald Koerfgen @ 1999-05-26 20:22 UTC (permalink / raw) To: Robert Keller; +Cc: linux Robert, On 26-May-99 Robert Keller wrote: > > It looks like I've finally been able to get the 2.2.1 kernel booting > and trying to access its root filesystem over NFS on an NEC > DDB-VRC5074 development board. I'm at the point where the > kernel is trying to run /sbin/init and things die because of illegal > instructions in init (I'm using the little endian mips root from > linux.sgi.com) > > Where do I get the code for init, ld.so and all those vital root > filesystem friends so that I can be sure that they are compiled > the way I want them? this is probably not the right place to ask this question, linux-mips@fnet.fr would have been better, but I'll try to answer your question anyway :-) You may want to give ftp://ftp.linux.sgi.com/pub/linux/mips/mipsel-linux/root/declinuxroot-99051 8.tgz a try. This rootimage is known to work on R3000 and R4000 DECstations and should in theory work on all little endian MIPS boxen. --- Regards, Harald ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: after the kernel seems to live 1999-05-26 19:05 after the kernel seems to live Robert Keller 1999-05-26 20:22 ` Harald Koerfgen @ 1999-05-27 10:18 ` Ralf Baechle 1999-05-27 20:03 ` Robert Keller 1 sibling, 1 reply; 9+ messages in thread From: Ralf Baechle @ 1999-05-27 10:18 UTC (permalink / raw) To: Robert Keller; +Cc: linux On Wed, May 26, 1999 at 12:05:33PM -0700, Robert Keller wrote: > It looks like I've finally been able to get the 2.2.1 kernel booting > and trying to access its root filesystem over NFS on an NEC > DDB-VRC5074 development board. I'm at the point where the > kernel is trying to run /sbin/init and things die because of illegal > instructions in init (I'm using the little endian mips root from > linux.sgi.com) What CPU is being used on that eval board? If it's one that isn't yet supported in our sources then I suspect you have a problem either with the cacheflushing routines themselfes or the calls to them in the network driver. What NIC are you using, btw? We've got patches around for a couple of those which are most often being used with MIPS machines. > Where do I get the code for init, ld.so and all those vital root > filesystem friends so that I can be sure that they are compiled > the way I want them? Unless you're using extremly old binaries I'm highly confident that the binaries which you are using are ok. Ralf ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: after the kernel seems to live 1999-05-27 10:18 ` Ralf Baechle @ 1999-05-27 20:03 ` Robert Keller 1999-05-27 22:46 ` Ralf Baechle 0 siblings, 1 reply; 9+ messages in thread From: Robert Keller @ 1999-05-27 20:03 UTC (permalink / raw) To: Ralf Baechle, Robert Keller; +Cc: linux At 12:18 PM 5/27/99 +0200, Ralf Baechle wrote: >What CPU is being used on that eval board? If it's one that isn't yet >supported in our sources then I suspect you have a problem either with the >cacheflushing routines themselfes or the calls to them in the network >driver. What NIC are you using, btw? We've got patches around for a >couple of those which are most often being used with MIPS machines. Its a VR5000 (D30500S2), 2.2.1 seems to recognize it as a type 24 (0x18). Presently, I'm using a PCI 3c905 despite the fact that the eval board has a 21140 (albeit with a completely bogus SROM) built in to it. I have my own patches to 3c59x.c tulip.c and even tlan.c to get them working to varying degrees. I'd still be interested in comparing my patches with the ones you have... How can I make sure that I'm not haveing cacheflushing problems? >Unless you're using extremly old binaries I'm highly confident that the >binaries which you are using are ok. I'm presently using declinuxroot-990518.tgz from ftp.linux.sgi.com, so should I assume that it should just work? I'll include the boot sequence below... ...robert hello world prom: start_kernel prom: altuna_setup prom: setup_arch done prom: paging_init done prom: trap_init done prom: init_IRQ done prom: sched_init done prom: time_init done prom: parse_options done Loading R4000 MMU routines. CPU revision is: 00002321 Primary instruction cache 32kb, linesize 32 bytes) Primary data cache 32kb, linesize 32 bytes) Linux version 2.2.1 (rck@senna.rest.home.net) (gcc version egcs-2.90.27 980315 (egcs-1.0.2 release)) #393 Wed May 26 17:23:24 PDT 1999 hello world (printk) mips_cputype = 0x18 mips_machtype = 0x0 PCI controller (vendor 0x1033 - device 0x5a), revision 2. calling paging_init with start = 0xa021f5c4, end = 0xa3fff000 pcictrl_l = 0x80000000 pcictrl_h = 0x20000000 intctrl_l = 0x30000000 intctrl_h = 0x000000a0 intstat0_l = 0x00000000 intstat0_h = 0x00000000 intstat1_l = 0x00000000 intstat1_h = 0x00040000 intclr_l = 0x00000000 intclr_h = 0x00000000 intppes_l = 0x00000004 inside time_init calculating r4koff... 000f425c(1000028) parse_options, parsing '' calling console_init with start = 0xa07c835c, end = 0xa3fff000 prom: console_init done calling kmem_cache_init with start = 0xa07c835c, end = 0xa3fff000 kmem_cache_init done Calibrating delay loop... 6.55 BogoMIPS calibrate_delay done Memory: 57556k/589820k available (924k kernel code, 6024k data) mem_init done kmem_cache_sizes_init 0xa07c9020/0xa07c9020 kmem_cache_sizes_init done uidcache_init done filescache_init done dcache_init done vma_init done buffer_init done signals_init done inode_init done file_table_init done ipc_init done Checking for 'wait' instruction... available. check_bugs done POSIX conformance testing by UNIFIX smp_init done kernel_thread done init do_basic_setup PCI: Probing PCI hardware Linux NET4.0 for Linux 2.2 Based upon Swansea University Computer Society NET3.039 NET4: Unix domain sockets 1.0 for Linux NET4.0. NET4: Linux TCP/IP 1.0 for NET4.0 IP Protocols: ICMP, UDP, TCP Starting kswapd v 1.5 chr_dev_init tty_init calling rs_init Serial driver version 4.27 with no serial options enabled autoconfig - port = 0xa60003f8 autoconfig - port = 0xbfa00300 ttyS00 at 0xa60003f8 (irq = 2) is a 16550A ttyS01 at 0xbfa00300 (irq = 0) is a 8250 returned from rs_init tty_init done chr_dev_init done RAM disk driver initialized: 16 RAM disks of 4096K size loop: registered device at major 7 3c59x.c:v0.99H-WOL 2/24/99 Donald Becker http://cesdis.gsfc.nasa.gov/linux/drivers/vortex.html eth0: 3Com 3c905 Boomerang 100baseTx at 0xa7000000, 00:60:08:31:06:75, IRQ 4 Internal config register is 16302d8, transceivers 0xe040. 8K word-wide RAM 3:5 Rx:Tx split, autoselect/MII interface. MII transceiver found at address 24, status 786d. Enabling bus-master transmits and whole-frame receives. eth0: Overriding PCI latency timer (CFLT) setting of 0, new value is 32. 3c59x.c:v0.99H-WOL 2/24/99 Donald Becker http://cesdis.gsfc.nasa.gov/linux/drivers/vortex.html 3c59x.c:v0.99H-WOL 2/24/99 Donald Becker http://cesdis.gsfc.nasa.gov/linux/drivers/vortex.html 3c59x.c:v0.99H-WOL 2/24/99 Donald Becker http://cesdis.gsfc.nasa.gov/linux/drivers/vortex.html 3c59x.c:v0.99H-WOL 2/24/99 Donald Becker http://cesdis.gsfc.nasa.gov/linux/drivers/vortex.html 3c59x.c:v0.99H-WOL 2/24/99 Donald Becker http://cesdis.gsfc.nasa.gov/linux/drivers/vortex.html 3c59x.c:v0.99H-WOL 2/24/99 Donald Becker http://cesdis.gsfc.nasa.gov/linux/drivers/vortex.html 3c59x.c:v0.99H-WOL 2/24/99 Donald Becker http://cesdis.gsfc.nasa.gov/linux/drivers/vortex.html 3c59x.c:v0.99H-WOL 2/24/99 Donald Becker http://cesdis.gsfc.nasa.gov/linux/drivers/vortex.html IP-Config: Entered. eth0: Initial media type MII. eth0: MII #24 status 786d, link partner capability 0021, setting half-duplex. eth0: vortex_open() InternalConfig 016302d8. request_irq 4, eth0 -> 0xa3ff7160 eth0: vortex_open() irq 4 media status 8802. eth0: Filling in the Rx ring. IP-Config: Opened eth0 (able=3) BOOTP: XID=e7505dc7 Sending BOOTP and RARP requests...<7>eth0: Trying to send a packet, Tx index 0. ic_rarp_send BOOTP: Got extension 01 ff ff ff 80 BOOTP: Got extension 03 18 00 13 81 BOOTP: Got extension 06 18 00 13 87 eth0: Trying to send a packet, Tx index 1. . OK ic_rarp_recv IP-Config: Got BOOTP answer from 24.0.19.146, my address is 24.0.19.228 IP-Config: device=eth0, local=e4130018, server=92130018, boot=92130018, gw=81130018, mask=80ffffff IP-Config: host=24.0.19.228, domain=(none), path=`' Looking up port of RPC 100003/2 on 24.0.19.146 eth0: Trying to send a packet, Tx index 2. eth0: Trying to send a packet, Tx index 3. Looking up port of RPC 100005/1 on 24.0.19.146 eth0: Trying to send a packet, Tx index 4. eth0: Trying to send a packet, Tx index 5. eth0: Trying to send a packet, Tx index 6. VFS: Mounted root (NFS filesystem) readonly. Freeing unused kernel memory: 44k freed eth0: Trying to send a packet, Tx index 7. eth0: Trying to send a packet, Tx index 8. request_irq 2, serial -> 0xa3ff7a60 eth0: Trying to send a packet, Tx index 9. eth0: Trying to send a packet, Tx index 10. eth0: Trying to send a packet, Tx index 11. eth0: Trying to send a packet, Tx index 12. eth0: Trying to send a packet, Tx index 13. eth0: Trying to send a packet, Tx index 14. eth0: Trying to send a packet, Tx index 15. eth0: Trying to send a packet, Tx index 16. [init:1] Illegal instruction at a01cd3d4 ra=a01459b8 [init:1] Illegal instruction at a01cd3d8 ra=a01459b8 [init:1] Illegal instruction at a01cd3dc ra=a01459b8 [init:1] Illegal instruction at a01cd3e0 ra=a01459b8 [init:1] Illegal instruction at a01cd3e4 ra=a01459b8 [init:1] Illegal instruction at a01cd3e8 ra=a01459b8 [init:1] Illegal instruction at a01cd3ec ra=a01459b8 [init:1] Illegal instruction at a01cd3f0 ra=a01459b8 [init:1] Illegal instruction at a01cd3f4 ra=a01459b8 [init:1] Illegal instruction at a01cd3f8 ra=a01459b8 [init:1] Illegal instruction at a01cd3fc ra=a01459b8 [init:1] Illegal instruction at a01cd400 ra=a01459b8 [init:1] Illegal instruction at a01cd404 ra=a01459b8 [init:1] Illegal instruction at a01cd408 ra=a01459b8 ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: after the kernel seems to live 1999-05-27 20:03 ` Robert Keller @ 1999-05-27 22:46 ` Ralf Baechle 1999-06-02 16:35 ` Robert Keller 0 siblings, 1 reply; 9+ messages in thread From: Ralf Baechle @ 1999-05-27 22:46 UTC (permalink / raw) To: Robert Keller; +Cc: linux On Thu, May 27, 1999 at 01:03:32PM -0700, Robert Keller wrote: > At 12:18 PM 5/27/99 +0200, Ralf Baechle wrote: > >What CPU is being used on that eval board? If it's one that isn't yet > >supported in our sources then I suspect you have a problem either with the > >cacheflushing routines themselfes or the calls to them in the network > >driver. What NIC are you using, btw? We've got patches around for a > >couple of those which are most often being used with MIPS machines. > > Its a VR5000 (D30500S2), 2.2.1 seems to recognize it as a > type 24 (0x18). Presently, I'm using a PCI 3c905 despite the > fact that the eval board has a 21140 (albeit with a completely > bogus SROM) built in to it. I have my own patches to 3c59x.c > tulip.c and even tlan.c to get them working to varying degrees. > I'd still be interested in comparing my patches with the ones > you have... The R5000 is supported and known to work. You happen to have a second level cache on that board? > How can I make sure that I'm not haveing cacheflushing problems? Debugging :-) In particular the ring structures are nasty, allocate them as uncached memory in KSEG1. In general the rule is that you should try to handle as much in uncached memory as possible when debugging such problems. That's of course very bad for performance but it helps. > I'm presently using declinuxroot-990518.tgz from ftp.linux.sgi.com, > so should I assume that it should just work? Yes, it should. Ralf ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: after the kernel seems to live 1999-05-27 22:46 ` Ralf Baechle @ 1999-06-02 16:35 ` Robert Keller 1999-06-02 17:56 ` William J. Earl 0 siblings, 1 reply; 9+ messages in thread From: Robert Keller @ 1999-06-02 16:35 UTC (permalink / raw) To: Ralf Baechle, Robert Keller; +Cc: linux At 12:46 AM 5/28/99 +0200, Ralf Baechle wrote: >The R5000 is supported and known to work. You happen to have a >second level cache on that board? how convinced are people that the VR5000 is supported? I'm running the latest code off the linux.sgi.com cvs server and I'm getting *very* weird page faulting problems when doing the kernel/user space hazard shuffle. Its really hard to describe the problems as they are not deterministic: sometimes the right thing happens, other times I get restricted instruction exceptions... Both of these can happen on the very same kernel binary... Which of the vec0 routines should be used on the VR5K? ...robert ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: after the kernel seems to live 1999-06-02 16:35 ` Robert Keller @ 1999-06-02 17:56 ` William J. Earl 1999-06-02 21:32 ` Robert Keller 0 siblings, 1 reply; 9+ messages in thread From: William J. Earl @ 1999-06-02 17:56 UTC (permalink / raw) To: Robert Keller; +Cc: Ralf Baechle, linux Robert Keller writes: > At 12:46 AM 5/28/99 +0200, Ralf Baechle wrote: > >The R5000 is supported and known to work. You happen to have a > >second level cache on that board? > > how convinced are people that the VR5000 is supported? I'm running > the latest code off the linux.sgi.com cvs server and I'm getting *very* > weird page faulting problems when doing the kernel/user space > hazard shuffle. Its really hard to describe the problems as they are > not deterministic: sometimes the right thing happens, other times > I get restricted instruction exceptions... Both of these can happen on > the very same kernel binary... What sort of system are you using, and what is the hardware configuration (including caches)? ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: after the kernel seems to live 1999-06-02 17:56 ` William J. Earl @ 1999-06-02 21:32 ` Robert Keller 1999-06-02 22:33 ` Ralf Baechle 0 siblings, 1 reply; 9+ messages in thread From: Robert Keller @ 1999-06-02 21:32 UTC (permalink / raw) To: William J. Earl, Robert Keller; +Cc: Ralf Baechle, linux At 10:56 AM 6/2/99 -0700, William J. Earl wrote: >Robert Keller writes: > > At 12:46 AM 5/28/99 +0200, Ralf Baechle wrote: > > >The R5000 is supported and known to work. You happen to have a > > >second level cache on that board? > > > > how convinced are people that the VR5000 is supported? I'm running > > the latest code off the linux.sgi.com cvs server and I'm getting *very* > > weird page faulting problems when doing the kernel/user space > > hazard shuffle. Its really hard to describe the problems as they are > > not deterministic: sometimes the right thing happens, other times > > I get restricted instruction exceptions... Both of these can happen on > > the very same kernel binary... > > What sort of system are you using, and what is the hardware >configuration (including caches)? Its an NEC 5074 development board with an VR5000 -- 32K I and 32K D Primary cache no secondary cache. which vec0 code should I be using? NEC seems to have a bunch of errata and hazards in this part when dealing with TLBWR and friends... Is any of the existing code supposed to respect these? Also, arch/mips/Makefile makes the compiler use -r8000 -mips2, is that right? ...robert ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: after the kernel seems to live 1999-06-02 21:32 ` Robert Keller @ 1999-06-02 22:33 ` Ralf Baechle 0 siblings, 0 replies; 9+ messages in thread From: Ralf Baechle @ 1999-06-02 22:33 UTC (permalink / raw) To: Robert Keller; +Cc: William J. Earl, linux On Wed, Jun 02, 1999 at 02:32:31PM -0700, Robert Keller wrote: > At 10:56 AM 6/2/99 -0700, William J. Earl wrote: > >Robert Keller writes: > > > At 12:46 AM 5/28/99 +0200, Ralf Baechle wrote: > > > >The R5000 is supported and known to work. You happen to have a > > > >second level cache on that board? > > > > > > how convinced are people that the VR5000 is supported? I'm running > > > the latest code off the linux.sgi.com cvs server and I'm getting *very* > > > weird page faulting problems when doing the kernel/user space > > > hazard shuffle. Its really hard to describe the problems as they are > > > not deterministic: sometimes the right thing happens, other times > > > I get restricted instruction exceptions... Both of these can happen on > > > the very same kernel binary... > > > > What sort of system are you using, and what is the hardware > >configuration (including caches)? > > Its an NEC 5074 development board with an VR5000 -- > 32K I and 32K D Primary cache > no secondary cache. > > which vec0 code should I be using? Like R4k. > NEC seems to have a bunch of errata and hazards in this part when > dealing with TLBWR and friends... Is any of the existing code supposed > to respect these? I don't have the errata at hand but as I remember we deal correctly with all the cache and TLB errata documented by IDT/QED. Otherwise for shure Linux wouldn't run on my R5k Indy. Is NEC's VR5000 different from the IDT/QED version? > Also, arch/mips/Makefile makes the compiler use -r8000 -mips2, is > that right? Yes. Ralf ^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~1999-06-02 22:36 UTC | newest] Thread overview: 9+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 1999-05-26 19:05 after the kernel seems to live Robert Keller 1999-05-26 20:22 ` Harald Koerfgen 1999-05-27 10:18 ` Ralf Baechle 1999-05-27 20:03 ` Robert Keller 1999-05-27 22:46 ` Ralf Baechle 1999-06-02 16:35 ` Robert Keller 1999-06-02 17:56 ` William J. Earl 1999-06-02 21:32 ` Robert Keller 1999-06-02 22:33 ` Ralf Baechle
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox