From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <16ff6b980803131738s657c6138nc75601b8c69b65cf@mail.gmail.com> Date: Fri, 14 Mar 2008 01:38:29 +0100 From: "Mathieu Lonjaret" To: "Fans of the OS Plan 9 from Bell Labs" <9fans@9fans.net> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <16ff6b980803121048u2029b16h33deb7da3b1ae734@mail.gmail.com> Subject: Re: [9fans] kernel panic with fresh sources Topicbox-Message-UUID: 78c74a12-ead3-11e9-9d60-3106f5b1d025 On Wed, Mar 12, 2008 at 6:54 PM, erik quanstrom wrote: > > Just for kicks, I have tried rebuilding another kernel with the fresh > > sources and this modified sdiahci.c but it fails with the errors > > attached in build.txt. > > the build warnings are harmless. it has to do with the fact that > u32int is considerd a uint by the print format checking while > ulong is considerd a ulong. > > i'll take a look at the other stuff this p.m. > > assuming that you have venti or kenfs on your machine, you > can do this > cp `{yesterday ahci.h sdiahci.c} . ; mk clean ; mk 'CONF=pcf' I have neither, but I had a backup of the sources. So yeah if I put those two back in the fresh sources and I build the kernel it goes fine. And then that kernel boots fine as well. So could it be possible to have the changes you made in that driver integrated to the distribution driver? Surely it'd be cleaner this way rather than me keeping that copy. Besides, I guess it could happen that one day it doesn't even build anymore after a pull because it's not compatible anymore with the distribution, right? Now another problem is the ethernet driver, I'm still getting a mac address of 0000000000 with the distribution driver, which seems to be a problem to reach the outside world depending on which LAN I'm connected to. I guess I could also rebuild a kernel with my previous working driver (which has the hw address hardcoded in), but it also seems like something you had fixed I think, and which could as well be added to the sources if it works... Mathieu. -- GPG key on subkeys.pgp.net: KeyID: | Fingerprint: 683DE5F3 | 4324 5818 39AA 9545 95C6 09AF B0A4 DFEA 683D E5F3