From guidoj2269 at gmail.com Mon Jul 13 20:49:11 2015 From: guidoj2269 at gmail.com (Guido) Date: Mon, 13 Jul 2015 20:49:11 +0200 Subject: [FreeVMS] Debian 8 build broken Message-ID: <55A40827.2090402@gmail.com> Hi, In case you had not noticed: the Debian 8 builds in my branch are currently broken. I have been trying to find out what is wrong, but so far without much success. I am afraid it has something to do with some of the recent Debian package updates, though I am not sure which one. I have not tried going back to Debian 7 yet, maybe that will be my next step. Anyway all help is appreciated. I guess that porting the standard libraries (like libc, libelf, etc.) to FreeVMS, in stead of using those from the Debian build host, is the best way to prevent this from happening again. Regards, Guido From roart at nvg.ntnu.no Tue Jul 14 09:35:25 2015 From: roart at nvg.ntnu.no (Roar =?iso-8859-1?Q?Thron=C3=A6s?=) Date: Tue, 14 Jul 2015 09:35:25 +0200 Subject: [FreeVMS] Debian 8 build broken In-Reply-To: <55A40827.2090402@gmail.com> References: <55A40827.2090402@gmail.com> Message-ID: <20150714073525.GC24151@sabre-wulf.nvg.ntnu.no> On Mon, Jul 13, 2015 at 08:49:11PM +0200, Guido wrote: > > In case you had not noticed: the Debian 8 builds in my branch are > currently broken. I have been trying to find out what is wrong, but so > far without much success. I am afraid it has something to do with some > of the recent Debian package updates, though I am not sure which one. I > have not tried going back to Debian 7 yet, maybe that will be my next > step. Anyway all help is appreciated. Something had changed for me, too, so it did not build. I installed libiberty-dev on Debian 8, then it worked again. (Just add that in the howto.) Debain 7 does not need any change. > I guess that porting the standard libraries (like libc, libelf, etc.) to > FreeVMS, in stead of using those from the Debian build host, is the best > way to prevent this from happening again. Yes, at some time later, I guess. -- Regards, Roar From guidoj2269 at gmail.com Tue Jul 14 11:22:33 2015 From: guidoj2269 at gmail.com (Guido) Date: Tue, 14 Jul 2015 11:22:33 +0200 Subject: [FreeVMS] Debian 8 build broken In-Reply-To: <20150714073525.GC24151@sabre-wulf.nvg.ntnu.no> References: <55A40827.2090402@gmail.com> <20150714073525.GC24151@sabre-wulf.nvg.ntnu.no> Message-ID: <55A4D4D9.5050109@gmail.com> On 07/14/2015 09:35 AM, Roar Thronæs wrote: > On Mon, Jul 13, 2015 at 08:49:11PM +0200, Guido wrote: >> In case you had not noticed: the Debian 8 builds in my branch are >> currently broken. I have been trying to find out what is wrong, but so >> far without much success. I am afraid it has something to do with some >> of the recent Debian package updates, though I am not sure which one. I >> have not tried going back to Debian 7 yet, maybe that will be my next >> step. Anyway all help is appreciated. > Something had changed for me, too, so it did not build. > I installed libiberty-dev on Debian 8, then it worked again. > (Just add that in the howto.) > Debain 7 does not need any change. Sorry for being unclear. Compiling and linking is not the problem, it crashes when run. The kernel itself seems to work fine, but running any applications like the CLI make the kernel go oops ... Regards, Guido From guidoj2269 at gmail.com Tue Jul 14 12:17:35 2015 From: guidoj2269 at gmail.com (Guido) Date: Tue, 14 Jul 2015 12:17:35 +0200 Subject: [FreeVMS] Debian 8 build broken In-Reply-To: <55A4D4D9.5050109@gmail.com> References: <55A40827.2090402@gmail.com> <20150714073525.GC24151@sabre-wulf.nvg.ntnu.no> <55A4D4D9.5050109@gmail.com> Message-ID: <55A4E1BF.6070209@gmail.com> On 07/14/2015 11:22 AM, Guido wrote: > On 07/14/2015 09:35 AM, Roar Thronæs wrote: >> On Mon, Jul 13, 2015 at 08:49:11PM +0200, Guido wrote: >>> In case you had not noticed: the Debian 8 builds in my branch are >>> currently broken. I have been trying to find out what is wrong, but so >>> far without much success. I am afraid it has something to do with some >>> of the recent Debian package updates, though I am not sure which one. I >>> have not tried going back to Debian 7 yet, maybe that will be my next >>> step. Anyway all help is appreciated. >> Something had changed for me, too, so it did not build. >> I installed libiberty-dev on Debian 8, then it worked again. >> (Just add that in the howto.) >> Debain 7 does not need any change. > > Sorry for being unclear. Compiling and linking is not the problem, it > crashes when run. The kernel itself seems to work fine, but running > any applications like the CLI make the kernel go oops ... Just verified that my FreeVMS branch still boots fine when built on Debian 7 ... Guido From roart at nvg.ntnu.no Tue Jul 14 18:40:32 2015 From: roart at nvg.ntnu.no (Roar =?iso-8859-1?Q?Thron=C3=A6s?=) Date: Tue, 14 Jul 2015 18:40:32 +0200 Subject: [FreeVMS] Debian 8 build broken In-Reply-To: <55A4D4D9.5050109@gmail.com> References: <55A40827.2090402@gmail.com> <20150714073525.GC24151@sabre-wulf.nvg.ntnu.no> <55A4D4D9.5050109@gmail.com> Message-ID: <20150714164032.GD24151@sabre-wulf.nvg.ntnu.no> On Tue, Jul 14, 2015 at 11:22:33AM +0200, Guido wrote: > > Sorry for being unclear. Compiling and linking is not the problem, it > crashes when run. The kernel itself seems to work fine, but running any > applications like the CLI make the kernel go oops ... I just did a fresh, clean build (from the latest in git, from June 7), and I did not notice anything. (Did not do all the tests I do before release, though.) Good work, btw, thanks. -- Regards, Roar From guidoj2269 at gmail.com Wed Jul 15 22:43:08 2015 From: guidoj2269 at gmail.com (Guido) Date: Wed, 15 Jul 2015 22:43:08 +0200 Subject: [FreeVMS] Debian 8 build broken In-Reply-To: <20150714164032.GD24151@sabre-wulf.nvg.ntnu.no> References: <55A40827.2090402@gmail.com> <20150714073525.GC24151@sabre-wulf.nvg.ntnu.no> <55A4D4D9.5050109@gmail.com> <20150714164032.GD24151@sabre-wulf.nvg.ntnu.no> Message-ID: <55A6C5DC.1060903@gmail.com> On 07/14/2015 06:40 PM, Roar Thronæs wrote: > On Tue, Jul 14, 2015 at 11:22:33AM +0200, Guido wrote: >> Sorry for being unclear. Compiling and linking is not the problem, it >> crashes when run. The kernel itself seems to work fine, but running any >> applications like the CLI make the kernel go oops ... > I just did a fresh, clean build (from the latest in git, from June 7), > and I did not notice anything. OK, x86_64 works for me too, i386 still crashes (Debian 8 build, did not try Debian 7 yet). I have another update waiting, but I would prefer to get my i386 build working again first. > Good work, btw, thanks. Thank you. Mostly just janitorial stuff though, fixed only a few small things, hope I did not break too much ... Regards, Guido From guidoj2269 at gmail.com Wed Jul 22 21:09:46 2015 From: guidoj2269 at gmail.com (Guido) Date: Wed, 22 Jul 2015 21:09:46 +0200 Subject: [FreeVMS] Debian 8 build broken In-Reply-To: <55A6C5DC.1060903@gmail.com> References: <55A40827.2090402@gmail.com> <20150714073525.GC24151@sabre-wulf.nvg.ntnu.no> <55A4D4D9.5050109@gmail.com> <20150714164032.GD24151@sabre-wulf.nvg.ntnu.no> <55A6C5DC.1060903@gmail.com> Message-ID: <55AFEA7A.1040809@gmail.com> On 07/15/2015 10:43 PM, Guido wrote: > On 07/14/2015 06:40 PM, Roar Thronæs wrote: >> On Tue, Jul 14, 2015 at 11:22:33AM +0200, Guido wrote: >>> Sorry for being unclear. Compiling and linking is not the problem, it >>> crashes when run. The kernel itself seems to work fine, but running any >>> applications like the CLI make the kernel go oops ... >> I just did a fresh, clean build (from the latest in git, from June 7), >> and I did not notice anything. > OK, x86_64 works for me too, i386 still crashes (Debian 8 build, did > not try Debian 7 yet). I have another update waiting, but I would > prefer to get my i386 build working again first. > Update: My 32 bit FreeVMS still crashes, but I do have some info on what is going wrong. The most simple test that will reproduce a crash is to call sys$assign() with a device name that contains at least one capital. Internally the device name will be converted to lower case and trying to write the device name descriptor causes a page fault. The sys$assign() system service works as expected when called with the device name entirely in lower case. I am afraid that this bug is more generic and that similar crashes happen besides this sys$assign() example. I will create an issue in bugzilla. Note that this only occurs in the 32 bit version, both Debian 7 and Debian 8 builds, the 64 bit version runs just fine. Regards, Guido From roart at nvg.ntnu.no Mon Jul 27 16:35:09 2015 From: roart at nvg.ntnu.no (Roar =?iso-8859-1?Q?Thron=C3=A6s?=) Date: Mon, 27 Jul 2015 16:35:09 +0200 Subject: [FreeVMS] Debian 8 build broken In-Reply-To: <55AFEA7A.1040809@gmail.com> References: <55A40827.2090402@gmail.com> <20150714073525.GC24151@sabre-wulf.nvg.ntnu.no> <55A4D4D9.5050109@gmail.com> <20150714164032.GD24151@sabre-wulf.nvg.ntnu.no> <55A6C5DC.1060903@gmail.com> <55AFEA7A.1040809@gmail.com> Message-ID: <20150727143509.GE24151@sabre-wulf.nvg.ntnu.no> On Wed, Jul 22, 2015 at 09:09:46PM +0200, Guido wrote: > My 32 bit FreeVMS still crashes, but I do have some info on what is > going wrong. The most simple test that will reproduce a crash is to call > sys$assign() with a device name that contains at least one capital. > Internally the device name will be converted to lower case and trying to > write the device name descriptor causes a page fault. The sys$assign() > system service works as expected when called with the device name > entirely in lower case. You have seen exactly where and with which data the error happens? Do you use a debugger with breakpoints? -- Regards, Roar Thronæs From guidoj2269 at gmail.com Mon Jul 27 19:10:54 2015 From: guidoj2269 at gmail.com (Guido) Date: Mon, 27 Jul 2015 19:10:54 +0200 Subject: [FreeVMS] Debian 8 build broken In-Reply-To: <20150727143509.GE24151@sabre-wulf.nvg.ntnu.no> References: <55A40827.2090402@gmail.com> <20150714073525.GC24151@sabre-wulf.nvg.ntnu.no> <55A4D4D9.5050109@gmail.com> <20150714164032.GD24151@sabre-wulf.nvg.ntnu.no> <55A6C5DC.1060903@gmail.com> <55AFEA7A.1040809@gmail.com> <20150727143509.GE24151@sabre-wulf.nvg.ntnu.no> Message-ID: <55B6661E.90807@gmail.com> On 07/27/2015 04:35 PM, Roar Thronæs wrote: > On Wed, Jul 22, 2015 at 09:09:46PM +0200, Guido wrote: >> My 32 bit FreeVMS still crashes, but I do have some info on what is >> going wrong. The most simple test that will reproduce a crash is to call >> sys$assign() with a device name that contains at least one capital. >> Internally the device name will be converted to lower case and trying to >> write the device name descriptor causes a page fault. The sys$assign() >> system service works as expected when called with the device name >> entirely in lower case. > You have seen exactly where and with which data the error happens? > > Do you use a debugger with breakpoints? > In sys/src/iosubpagd..c, function ioc$search(), about have way there is a for-loop that converts the first three characters to lower case. It fails at the |= assignment. Guido From roart at nvg.ntnu.no Mon Jul 27 20:27:09 2015 From: roart at nvg.ntnu.no (Roar =?iso-8859-1?Q?Thron=C3=A6s?=) Date: Mon, 27 Jul 2015 20:27:09 +0200 Subject: [FreeVMS] Debian 8 build broken In-Reply-To: <55B6661E.90807@gmail.com> References: <55A40827.2090402@gmail.com> <20150714073525.GC24151@sabre-wulf.nvg.ntnu.no> <55A4D4D9.5050109@gmail.com> <20150714164032.GD24151@sabre-wulf.nvg.ntnu.no> <55A6C5DC.1060903@gmail.com> <55AFEA7A.1040809@gmail.com> <20150727143509.GE24151@sabre-wulf.nvg.ntnu.no> <55B6661E.90807@gmail.com> Message-ID: <20150727182709.GF24151@sabre-wulf.nvg.ntnu.no> On Mon, Jul 27, 2015 at 07:10:54PM +0200, Guido wrote: > > > In sys/src/iosubpagd..c, function ioc$search(), about have way there is > a for-loop that converts the first three characters to lower case. It > fails at the |= assignment. Is the device array in some read-only page, that it can not/fails to convert? And how is it with Debian 7, compare wise? -- -Roar From guidoj2269 at gmail.com Mon Jul 27 22:29:23 2015 From: guidoj2269 at gmail.com (Guido) Date: Mon, 27 Jul 2015 22:29:23 +0200 Subject: [FreeVMS] Debian 8 build broken In-Reply-To: <20150727182709.GF24151@sabre-wulf.nvg.ntnu.no> References: <55A40827.2090402@gmail.com> <20150714073525.GC24151@sabre-wulf.nvg.ntnu.no> <55A4D4D9.5050109@gmail.com> <20150714164032.GD24151@sabre-wulf.nvg.ntnu.no> <55A6C5DC.1060903@gmail.com> <55AFEA7A.1040809@gmail.com> <20150727143509.GE24151@sabre-wulf.nvg.ntnu.no> <55B6661E.90807@gmail.com> <20150727182709.GF24151@sabre-wulf.nvg.ntnu.no> Message-ID: <55B694A3.8000200@gmail.com> On 07/27/2015 08:27 PM, Roar Thronæs wrote: > Is the device array in some read-only page, that it can not/fails to > convert? Address in the range 0x60000000 > And how is it with Debian 7, compare wise? The same