Re: kernel vm question

2005-01-27 Thread Jacques Fourie
Thanks for the reply - I really appreciate it. I have tried to change the protection on the page in a way similar to mprotect() but no luck. I have had a look at what ddb does when modifying kernel code and after applying the same ideas to my code everything works without a problem. The funny thin

Re: kernel vm question

2005-01-27 Thread Brian Fundakowski Feldman
On Thu, Jan 27, 2005 at 06:48:56PM +0200, Jacques Fourie wrote: > Hi, > > Yes, I am trying to patch a piece of code in the kernel. The strange > thing is that this code works without a problem on FreeBSD 4.8 - has > the VM system changed to such an extent between 4.8 and 4.9 that the > pages in th

Re: kernel vm question

2005-01-27 Thread David Schultz
On Thu, Jan 27, 2005, Jacques Fourie wrote: > Hi, > > Yes, I am trying to patch a piece of code in the kernel. The strange > thing is that this code works without a problem on FreeBSD 4.8 - has > the VM system changed to such an extent between 4.8 and 4.9 that the > pages in the kernel code segmen

Re: Cannot start adsl!

2005-01-27 Thread Andrew Konstantinov
On Thu, Jan 27, 2005 at 11:45:33AM +0800, qq qq wrote: > Hello,everybody. > The first ,thank you for you help! > bsd 5.3-release. pci :Realtek RTL8139/810x.adsl /2m > When I follow handbook,/etc/ppp/ppp.conf is ok .it something wrong likes this: > > #ppp -ddial adsl > working in ddial mode > usin

Re: kernel vm question

2005-01-27 Thread Jacques Fourie
Hi, Yes, I am trying to patch a piece of code in the kernel. The strange thing is that this code works without a problem on FreeBSD 4.8 - has the VM system changed to such an extent between 4.8 and 4.9 that the pages in the kernel code segment are not writeable anymore? Thanks for the bit about t

Re: kernel vm question

2005-01-27 Thread David Schultz
On Thu, Jan 27, 2005, Jacques Fourie wrote: > Hi, > > I have a kernel module with the following entry point : > > static int test_modevent(module_t mod, int type, void *unused) > { > int s; > unsigned char *p = NULL; > unsigned char v = 0x55; > > switch (type) > { > case MOD_LOAD

Re: kernel vm question

2005-01-27 Thread Zera William Holladay
On Thu, 27 Jan 2005, Jacques Fourie wrote: > Hi, > > I have a kernel module with the following entry point : > > static int test_modevent(module_t mod, int type, void *unused) > { >int s; >unsigned char *p = NULL; >unsigned char v = 0x55; > >switch (type) > { > case MOD

kernel vm question

2005-01-27 Thread Jacques Fourie
Hi, I have a kernel module with the following entry point : static int test_modevent(module_t mod, int type, void *unused) { int s; unsigned char *p = NULL; unsigned char v = 0x55; switch (type) { case MOD_LOAD: p = (unsigned char *)ip_output; s = splhigh(); v = p[

Re: ATAPI CD changers anybody ?

2005-01-27 Thread Chris Faulhaber
On Mon, Jan 24, 2005 at 05:36:52PM +0100, S?ren Schmidt wrote: > > Seems I lost my lonely ATAPI CDROM with built in changer to the eternal > HW scrapyards, let it rest in peace :) > > Finding a new one seems difficult so I thought I'd ask around how many > still has one of these ? > > I ask be

How can tell loader to use specified loader.rc?

2005-01-27 Thread 刘 扬
Hi,Everybody! Another Question When I use grub and loader,how can I tell loader to use what loader.rc file? For Example:kernel /loader -* /loader.rc Thanks much _ 享用世界上最大的电子邮件系统― MSN Hotmail。 http://www.hotmail.com

loader's device number(Urgent!!)

2005-01-27 Thread 刘 扬
Hi,Everybody! Who can tell me what's the rule of loader's device number? Whether it's the same as grub's? For Example,the "disk1s1" is grub's (hd0,0)? Thanks at all^-^ _ 享用世界上最大的电子邮件系统― MSN Hotmail。 http://www.hotmail.com _

Cannot start adsl!

2005-01-27 Thread qq qq
Hello,everybody. The first ,thank you for you help! bsd 5.3-release. pci :Realtek RTL8139/810x.adsl /2m When I follow handbook,/etc/ppp/ppp.conf is ok .it something wrong likes this: #ppp -ddial adsl working in ddial mode using interface:tun0 #ppp -ddial adsl working in ddial mode using interfac

Re: use loader to load kernel.gz and mfsroot.gz in an ext2 filesystem

2005-01-27 Thread 刘 扬
But when I do this, Boot from the Ext2(or Dos) partition with grub And then use loader from the partition It says "Can't find kernel/kernel.old" Then I use the "ls" of loader by "ls " It says " ' ' is bad path " what's that?? From: Dan Nelson <[EMAIL PROTECTED]> To: "M. Warner Losh" <[EMAIL PROTEC

Re: bug in calcru()

2005-01-27 Thread Chris Landauer
hihi, doug - > Doug Ambrisko <[EMAIL PROTECTED]> wrote > ... > The assumption with this calculation is that st & it tend to be > small compared to tt so the 1024 X shouldn't overflow much. > ... > [EMAIL PROTECTED] wrote: > | ...but i'm a little worried that the 1024 m

Installation of 5.3R on Medion MIM205 failed

2005-01-27 Thread Frédéric Praca
Hello, few days ago, my wife bought me a Medion MIM2050 notebook. At first sight, it seems to be good but when I tried to install FreeBSD 5.3 using the mini-inst, it freezed when trying to detect the pci bus. Any idea ? How can I help ? Fred PS: I feel guilty... I installed an Ubuntu for the momen

bug in calcru()

2005-01-27 Thread Chris Landauer
hihi, doug - thanx for the suggestion - the notion of computing ut just with subtraction is really good, since it is likely to be the largest of the three values in most applications, but i'm a little worried that the 1024 multiplications aren't large enough when tt gets really large - i'll do th

Re: OpenBSD's netcat in base or ports?

2005-01-27 Thread Clifton Royston
On Wed, Jan 26, 2005 at 12:00:46PM +, [EMAIL PROTECTED] wrote: > From: Coleman Kane <[EMAIL PROTECTED]> > Subject: Re: OpenBSD's netcat in base or ports? > To: Avleen Vig <[EMAIL PROTECTED]> > Cc: freebsd-hackers@freebsd.org > > I agree. I think even tcpdump, libpcap, and ssl stuff should be i

RE: Problem with FastTrak S150 SX4-M

2005-01-27 Thread Dave Myron
It's not red but it is the PRI_RAID IDE connector. I have the controller set to IDE in the BIOS so it should act just as any other IDE controller (according to the manual and many other sources). I have two hard drives on the primary IDE (not on the controller) and a CD drive on the secondary IDE

Installation of 5.3R on Medion MIM205 failed

2005-01-27 Thread Frédéric PRACA
Hello, few days ago, my wife bought me a Medion MIM2050 notebook. At first sight, it seems to be good but when I tried to install FreeBSD 5.3 using the mini-inst, it freezed when trying to detect the pci bus. Any idea ? How can I help ? Fred PS: I feel guilty... I installed an Ubuntu for the momen