* kernel panic @ 1998-04-02 17:31 Ulf Carlsson 1998-04-02 17:29 ` ralf 1998-04-02 18:55 ` Dong Liu 0 siblings, 2 replies; 13+ messages in thread From: Ulf Carlsson @ 1998-04-02 17:31 UTC (permalink / raw) To: linux, ralf Hello again... we're updating the internet connection to my mail server so I can't read what you've written today. But I've downloaded patch-3 of the sgi-kernel. I get further, but it still doesn't work.. well, I think it's almost fixed now. Here's the output: IP-Config: Got BOOTP answer from 192.168.0.1, my address is 192.168.0.3 Partition check: sda: sda1 sda2 sda3 sda4 sdb: sdb1 sdb2 sdb3 VFS: Mounted root (ext2 filesystem) readonly. Warning: unable to open an initial console. Got vced at 8801a2a4. Kernel panic: Caught VCE exception - should not happen That's the end of it.. tell me if you need some info above those lines.. Can it be my partition which is screwed? I reinstalled sgi-linux two days ago... We're atleast getting somewhere! Great work :-) - Ulf ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: kernel panic 1998-04-02 17:31 kernel panic Ulf Carlsson @ 1998-04-02 17:29 ` ralf 1998-04-02 18:55 ` Dong Liu 1 sibling, 0 replies; 13+ messages in thread From: ralf @ 1998-04-02 17:29 UTC (permalink / raw) To: Ulf Carlsson; +Cc: linux On Thu, Apr 02, 1998 at 07:31:00PM +0200, Ulf Carlsson wrote: > IP-Config: Got BOOTP answer from 192.168.0.1, my address is 192.168.0.3 > Partition check: > sda: sda1 sda2 sda3 sda4 > sdb: sdb1 sdb2 sdb3 > VFS: Mounted root (ext2 filesystem) readonly. > Warning: unable to open an initial console. > Got vced at 8801a2a4. > Kernel panic: Caught VCE exception - should not happen > > That's the end of it.. tell me if you need some info above those lines.. > Can it be my partition which is screwed? I reinstalled sgi-linux two days ago... No. Your report indicates that my last two fixes seem to work. Now we've got problem #3 in the MC/SC support to fix and I think I've got an idea what's wrong. Again I'll go for an simple fix because I don't have SC CPUs at hand but we're definately on the right way. Ralf ^ permalink raw reply [flat|nested] 13+ messages in thread
* kernel panic 1998-04-02 17:31 kernel panic Ulf Carlsson 1998-04-02 17:29 ` ralf @ 1998-04-02 18:55 ` Dong Liu 1998-04-02 18:47 ` ralf 1 sibling, 1 reply; 13+ messages in thread From: Dong Liu @ 1998-04-02 18:55 UTC (permalink / raw) To: linux, ralf Ulf Carlsson writes: > Hello again... we're updating the internet connection to my mail server so > I can't read what you've written today. But I've downloaded patch-3 of the > sgi-kernel. I get further, but it still doesn't work.. well, I think it's > almost fixed now. Here's the output: > > IP-Config: Got BOOTP answer from 192.168.0.1, my address is 192.168.0.3 > Partition check: > sda: sda1 sda2 sda3 sda4 > sdb: sdb1 sdb2 sdb3 > VFS: Mounted root (ext2 filesystem) readonly. > Warning: unable to open an initial console. > Got vced at 8801a2a4. > Kernel panic: Caught VCE exception - should not happen > Same here, only difference is I'm using nfsroot. Good work! Now only I can find a serial cable for this damn Indy:=). Dong ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: kernel panic 1998-04-02 18:55 ` Dong Liu @ 1998-04-02 18:47 ` ralf 1998-04-02 19:22 ` Dong Liu 1998-04-02 20:06 ` serial console Dong Liu 0 siblings, 2 replies; 13+ messages in thread From: ralf @ 1998-04-02 18:47 UTC (permalink / raw) To: Dong Liu; +Cc: linux On Thu, Apr 02, 1998 at 01:55:41PM -0500, Dong Liu wrote: > Ulf Carlsson writes: > > Hello again... we're updating the internet connection to my mail server so > > I can't read what you've written today. But I've downloaded patch-3 of the > > sgi-kernel. I get further, but it still doesn't work.. well, I think it's > > almost fixed now. Here's the output: > > > > IP-Config: Got BOOTP answer from 192.168.0.1, my address is 192.168.0.3 > > Partition check: > > sda: sda1 sda2 sda3 sda4 > > sdb: sdb1 sdb2 sdb3 > > VFS: Mounted root (ext2 filesystem) readonly. > > Warning: unable to open an initial console. > > Got vced at 8801a2a4. > > Kernel panic: Caught VCE exception - should not happen > > > > Same here, only difference is I'm using nfsroot. > > Good work! Now only I can find a serial cable for this damn Indy:=). Surprise, the support for the serial console does not compile :-) Ralf ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: kernel panic 1998-04-02 18:47 ` ralf @ 1998-04-02 19:22 ` Dong Liu 1998-04-02 20:37 ` ralf 1998-04-02 20:06 ` serial console Dong Liu 1 sibling, 1 reply; 13+ messages in thread From: Dong Liu @ 1998-04-02 19:22 UTC (permalink / raw) To: ralf; +Cc: Dong Liu, linux ralf@uni-koblenz.de writes: > > Surprise, the support for the serial console does not compile :-) I know, but look at drivers/char/console.c, you don't need CONFIG_SERIAL_CONSOLE to be defined, it will always call rs_cons_hook() if CONFIG_SGI or CONFIG_SUN_SERIAL is set, and in arch/mips/sgi/setup.c serial_console is set if prom_getenv("console") returns "d" or "d2". Maybe it should be changed to be use CONFIG_SUN_SERIAL and implement function serial_console_init(). Dong ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: kernel panic 1998-04-02 19:22 ` Dong Liu @ 1998-04-02 20:37 ` ralf 1998-04-02 21:10 ` Dong Liu 0 siblings, 1 reply; 13+ messages in thread From: ralf @ 1998-04-02 20:37 UTC (permalink / raw) To: Dong Liu; +Cc: linux On Thu, Apr 02, 1998 at 02:22:46PM -0500, Dong Liu wrote: > ralf@uni-koblenz.de writes: > > > > Surprise, the support for the serial console does not compile :-) > > I know, but look at drivers/char/console.c, you don't need > CONFIG_SERIAL_CONSOLE to be defined, it will always call > rs_cons_hook() if CONFIG_SGI or CONFIG_SUN_SERIAL is set, and > in arch/mips/sgi/setup.c serial_console is set if > prom_getenv("console") returns "d" or "d2". > > Maybe it should be changed to be use CONFIG_SUN_SERIAL and implement > function serial_console_init(). For shure not CONFIG_STUN_SERIAL :-) Ralf ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: kernel panic 1998-04-02 20:37 ` ralf @ 1998-04-02 21:10 ` Dong Liu 0 siblings, 0 replies; 13+ messages in thread From: Dong Liu @ 1998-04-02 21:10 UTC (permalink / raw) To: ralf; +Cc: linux ralf@uni-koblenz.de writes: > On Thu, Apr 02, 1998 at 02:22:46PM -0500, Dong Liu wrote: > > > ralf@uni-koblenz.de writes: > > > > > > Surprise, the support for the serial console does not compile :-) > > > > I know, but look at drivers/char/console.c, you don't need > > CONFIG_SERIAL_CONSOLE to be defined, it will always call > > rs_cons_hook() if CONFIG_SGI or CONFIG_SUN_SERIAL is set, and > > in arch/mips/sgi/setup.c serial_console is set if > > prom_getenv("console") returns "d" or "d2". > > > > Maybe it should be changed to be use CONFIG_SUN_SERIAL and implement > > function serial_console_init(). > > For shure not CONFIG_STUN_SERIAL :-) > Sorry, I meant CONFIG_SERIAL_CONSOLE, victim of emacs' dabbrev-expand :=). Dong ^ permalink raw reply [flat|nested] 13+ messages in thread
* serial console 1998-04-02 18:47 ` ralf 1998-04-02 19:22 ` Dong Liu @ 1998-04-02 20:06 ` Dong Liu 1998-04-02 21:35 ` ralf 1 sibling, 1 reply; 13+ messages in thread From: Dong Liu @ 1998-04-02 20:06 UTC (permalink / raw) To: linux Ok, I got a serial cable , connect it, type "nvram console d", now I can boot irix from a serial terminal, but for linux, the message didn't come out, maybe all the serial parameters are not set right. Dong. ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: serial console 1998-04-02 20:06 ` serial console Dong Liu @ 1998-04-02 21:35 ` ralf 1998-04-02 23:16 ` William J. Earl 1998-04-04 20:27 ` Oliver Frommel 0 siblings, 2 replies; 13+ messages in thread From: ralf @ 1998-04-02 21:35 UTC (permalink / raw) To: Dong Liu; +Cc: linux On Thu, Apr 02, 1998 at 03:06:21PM -0500, Dong Liu wrote: > Ok, I got a serial cable , connect it, type "nvram console d", now I > can boot irix from a serial terminal, but for linux, the message > didn't come out, maybe all the serial parameters are not set right. Linux doesn't accept the value ``dd'' for the console variable. If you try, Linux should complain about the setting and enter the interactive firmware mode again. Could you try setting console to either d1 or d2 according to the serial line you're using? Thanks for testing this; having working serial consoles is on of the missing parts in supporting the Challenge S. Ralf ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: serial console 1998-04-02 21:35 ` ralf @ 1998-04-02 23:16 ` William J. Earl 1998-04-02 23:53 ` Dong Liu 1998-04-04 20:27 ` Oliver Frommel 1 sibling, 1 reply; 13+ messages in thread From: William J. Earl @ 1998-04-02 23:16 UTC (permalink / raw) To: ralf; +Cc: Dong Liu, linux ralf@uni-koblenz.de writes: > On Thu, Apr 02, 1998 at 03:06:21PM -0500, Dong Liu wrote: > > > Ok, I got a serial cable , connect it, type "nvram console d", now I > > can boot irix from a serial terminal, but for linux, the message > > didn't come out, maybe all the serial parameters are not set right. > > Linux doesn't accept the value ``dd'' for the console variable. If you > try, Linux should complain about the setting and enter the interactive > firmware mode again. Could you try setting console to either d1 or d2 > according to the serial line you're using? For reduced user confusion, accepting "console=d" as an alias for "console=d1" might reduce user confusion. ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: serial console 1998-04-02 23:16 ` William J. Earl @ 1998-04-02 23:53 ` Dong Liu 1998-04-03 0:47 ` ralf 0 siblings, 1 reply; 13+ messages in thread From: Dong Liu @ 1998-04-02 23:53 UTC (permalink / raw) To: William J. Earl; +Cc: ralf, linux William J. Earl writes: > ralf@uni-koblenz.de writes: > > On Thu, Apr 02, 1998 at 03:06:21PM -0500, Dong Liu wrote: > > > > > Ok, I got a serial cable , connect it, type "nvram console d", now I > > > can boot irix from a serial terminal, but for linux, the message > > > didn't come out, maybe all the serial parameters are not set right. > > > > Linux doesn't accept the value ``dd'' for the console variable. If you > > try, Linux should complain about the setting and enter the interactive > > firmware mode again. Could you try setting console to either d1 or d2 > > according to the serial line you're using? > > For reduced user confusion, accepting "console=d" as an alias > for "console=d1" might reduce user confusion. > Yes, but from arch/mips/sgi/setup.c ctype = prom_getenv("console"); serial_console = 0; if(*ctype == 'd') { if(*(ctype+1)=='2') serial_console = 1; else serial_console = 2; if(!serial_console) { prom_printf("Weird console env setting %s\n", ctype); prom_printf("Press a key to reboot.\n"); prom_getchar(); prom_imode(); } } It got it the wrong serial_console, "d2" means serial port 1, "d" means serial port 2. Any way, I think I found out why serial port doesn't work, con_init() call rs_cons_hook() before rs_init got called. But now I got another problem, I got the patch from ftp://zero.aec.at/pub/sgi-linux, using the same .config file from the same ftp site, I got Exception: <vector=UTLB Miss> Status register: 0x30044803<CU1,CU0,CH,IM7,IM4,IPL=???,MODE=KERNEL,EXL,IE> Cause register: 0x8008<CE=0,IP8,EXC=RMISS> Exception PC: 0x880ec7f0, Exception RA: 0x880f0294 exception, bad address: 0x0 Local I/O interrupt register 1: 0x80 <VR/GIO2> Saved user regs in hex (&gpda 0xa8740e08, &_regs 0xa8741008): arg: 0 8bfffcae 8bfffc24 88107498 tmp: e 8813e5bc a 8811216c 100000 88100000 0 48 sve: 88121228 2 8813e570 4 4 1 88121220 9fc47a40 t8 48 t9 bfbd9833 at 4f v0 1 v1 88107498 k1 bad11bad gp 8bf70000 fp 9fc47bac sp 8bfff840 ra 880f0294 PANIC: Unexpected exception [Press reset or ENTER to restart.] So I can't compile the kernel my self:=(. Dong ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: serial console 1998-04-02 23:53 ` Dong Liu @ 1998-04-03 0:47 ` ralf 0 siblings, 0 replies; 13+ messages in thread From: ralf @ 1998-04-03 0:47 UTC (permalink / raw) To: Dong Liu; +Cc: linux On Thu, Apr 02, 1998 at 06:53:46PM -0500, Dong Liu wrote: > > For reduced user confusion, accepting "console=d" as an alias > > for "console=d1" might reduce user confusion. Correct. > Yes, but from arch/mips/sgi/setup.c > > ctype = prom_getenv("console"); > serial_console = 0; > if(*ctype == 'd') { > if(*(ctype+1)=='2') > serial_console = 1; > else > serial_console = 2; > if(!serial_console) { > prom_printf("Weird console env setting %s\n", ctype); > prom_printf("Press a key to reboot.\n"); > prom_getchar(); > prom_imode(); > } > } > > It got it the wrong serial_console, "d2" means serial port 1, "d" > means serial port 2. Ooops. > Any way, I think I found out why serial port doesn't work, con_init() > call rs_cons_hook() before rs_init got called. > > But now I got another problem, I got the patch from > ftp://zero.aec.at/pub/sgi-linux, using the same .config file from the > same ftp site, I got > > Exception: <vector=UTLB Miss> > Status register: 0x30044803<CU1,CU0,CH,IM7,IM4,IPL=???,MODE=KERNEL,EXL,IE> > Cause register: 0x8008<CE=0,IP8,EXC=RMISS> > Exception PC: 0x880ec7f0, Exception RA: 0x880f0294 > exception, bad address: 0x0 > Local I/O interrupt register 1: 0x80 <VR/GIO2> > Saved user regs in hex (&gpda 0xa8740e08, &_regs 0xa8741008): > arg: 0 8bfffcae 8bfffc24 88107498 > tmp: e 8813e5bc a 8811216c 100000 88100000 0 48 > sve: 88121228 2 8813e570 4 4 1 88121220 9fc47a40 > t8 48 t9 bfbd9833 at 4f v0 1 v1 88107498 k1 bad11bad > gp 8bf70000 fp 9fc47bac sp 8bfff840 ra 880f0294 Which looks similar to the Challenge S report recently posted to this list, but not the same. Ralf ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: serial console 1998-04-02 21:35 ` ralf 1998-04-02 23:16 ` William J. Earl @ 1998-04-04 20:27 ` Oliver Frommel 1 sibling, 0 replies; 13+ messages in thread From: Oliver Frommel @ 1998-04-04 20:27 UTC (permalink / raw) To: linux Hi, i think i fixed the serial console, at least it works here after linking /dev/console to /dev/ttyS1 (i have no idea if this is the correct behaviour however) you can find the patch on ftp://zero.aec.at/pub/sgi-linux/serial-patch.gz bye -oliver ^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~1998-04-04 20:29 UTC | newest] Thread overview: 13+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 1998-04-02 17:31 kernel panic Ulf Carlsson 1998-04-02 17:29 ` ralf 1998-04-02 18:55 ` Dong Liu 1998-04-02 18:47 ` ralf 1998-04-02 19:22 ` Dong Liu 1998-04-02 20:37 ` ralf 1998-04-02 21:10 ` Dong Liu 1998-04-02 20:06 ` serial console Dong Liu 1998-04-02 21:35 ` ralf 1998-04-02 23:16 ` William J. Earl 1998-04-02 23:53 ` Dong Liu 1998-04-03 0:47 ` ralf 1998-04-04 20:27 ` Oliver Frommel
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox