Re: emulators/rtc and vmware2

2002-08-16 Thread dmk
On Fri, Aug 16, 2002 at 04:31:49PM -0700 I heard the voice of Nate Lawson, and lo! it spake thus: > On Fri, 16 Aug 2002, dmk wrote: [...] > > The attached diff effectively restructures the rtc device driver to > > perform the make_dev() at module load. The driver may have problems, but > > it does

Re: emulators/rtc and vmware2

2002-08-16 Thread Nate Lawson
On Fri, 16 Aug 2002, dmk wrote: > On Thu, 15 Aug 2002, dmk wrote: > > > > Is anybody successfully using the port emulators/rtc with vmware2 on > > -current? > [...] > > On Thu, Aug 15, 2002 at 01:36:46PM -0400 Robert Watson wrote: > > My recollection is that the problem relates to calling make_d

Re: emulators/rtc and vmware2

2002-08-16 Thread dmk
On Thu, 15 Aug 2002, dmk wrote: > > Is anybody successfully using the port emulators/rtc with vmware2 on > -current? [...] On Thu, Aug 15, 2002 at 01:36:46PM -0400 Robert Watson wrote: > My recollection is that the problem relates to calling make_dev() from the > attach routine, and attach from

Re: emulators/rtc and vmware2

2002-08-15 Thread Josef Karthauser
On Thu, Aug 15, 2002 at 07:09:26PM -0400, Garance A Drosihn wrote: > > Someone had posted fixes to rtc for -current awhile back, and I > have those updates saved away somewhere. If Josef's recent > changes haven't fixed everything, I'll try to dig up that message. > My recent commit just fixed

Re: emulators/rtc and vmware2

2002-08-15 Thread Garance A Drosihn
At 1:36 PM -0400 8/15/02, Robert Watson wrote: >Someone needs to restructure the driver to match some our other >pseudo-device drivers where the device is properly created as >part of module initialization. If fixed this and other things >locally at one point on my notebook, but eventually got >s

Re: emulators/rtc and vmware2

2002-08-15 Thread Josef Karthauser
On Thu, Aug 15, 2002 at 07:11:05AM -0500, dmk wrote: > > Is anybody successfully using the port emulators/rtc with vmware2 on > -current? > > While the port builds and installs fine, a /dev/rtc device never appears. > > ISTM that the rtc device does a make_dev as part of the device open() > rat

Re: emulators/rtc and vmware2

2002-08-15 Thread Robert Watson
My recollection is that the problem relates to calling make_dev() from the attach routine, and attach from the open call, and of course you can't open before you make_dev with devfs. Someone needs to restructure the driver to match some our other pseudo-device drivers where the device is properly

Re: emulators/rtc and vmware2

2002-08-15 Thread dmk
On Thu, Aug 15, 2002 at 07:11:05AM -0500 I heard the voice of dmk, and lo! it spake thus: > > Is anybody successfully using the port emulators/rtc with vmware2 on > -current? [...] Replying to myself... I have since hacked rtc so it works with vmware2 on my -CURRENT system dated February 4, 200

emulators/rtc and vmware2

2002-08-15 Thread dmk
Is anybody successfully using the port emulators/rtc with vmware2 on -current? While the port builds and installs fine, a /dev/rtc device never appears. ISTM that the rtc device does a make_dev as part of the device open() rather than at module load and that vmware doesn't work like that. Havi