Re: booting from extended slice

2002-03-19 Thread Terry Lambert
David O'Brien wrote: On Mon, Mar 18, 2002 at 09:44:07PM -0500, Brian T . Schellenberger wrote: What good will it do you if do boot it? FreeBSD doesn't support UFS in extended partitions anyway. Yes it does. Why do you say it doesn't? I think he means it can't find it's root there

Re: booting from extended slice

2002-03-19 Thread Terry Lambert
Brian T.Schellenberger wrote: I consider this a major FreeBSD weakness but other O/S's don't care so much about primary vs. extended and FreeBSD only needs one partition--it'll subdivide the rest. Actually, I can't think of one Microsoft or IBM OS that can boot from extended partitions. --

Re: ports DESTDIR (was: STLPORT and gcc3 (openoffice porting))

2002-03-19 Thread Peter Pentchev
On Mon, Mar 18, 2002 at 02:50:05PM -0700, Brad Huntting wrote: bsd.ports.mk uses DESTDIR differently (wrongly IMO) than FreeBSD's buildworld or the rest of the world as far as I have seen. See (and lobby for) ports/28155. Unfortunately, the fix in 28155 will make DESTDIR behave the

kdump/truss ugliness and breakage

2002-03-19 Thread Peter Pentchev
Hi, Both kdump(1) and truss(1) use a weird way of harvesting information about the available ioctl's that they should be aware of: they run a mkioctls script over ${DESTDIR}/include to fish out the ioctl names out of the header files. This is all well and good, *except* in the case when

can I do this with a KLD?

2002-03-19 Thread Marco Molteni
Hi, in netinet/in_proto.c there is struct ipprotosw inetsw[], which contains the entry points for the various Internet protocols. If one wants to add a new protocol he has to add the entry points in that array. Would it be feasible to add a new protocol as a KLD instead? If yes, how? If not,

Re: can I do this with a KLD?

2002-03-19 Thread Brooks Davis
On Tue, Mar 19, 2002 at 10:00:00AM +0100, Marco Molteni wrote: Hi, in netinet/in_proto.c there is struct ipprotosw inetsw[], which contains the entry points for the various Internet protocols. If one wants to add a new protocol he has to add the entry points in that array. Would it be

Can't install from CDROM(Stable Snapshot)

2002-03-19 Thread Kaltashkin Eugene
Hello I build snapshot today and when i won installing FreeBSD, sysinstall say me Cannot find DVD/CDrom drive. I boot from CDROM and cannot install from CDROM What is it ? Where is problems ? -- Best Regards Kaltashkin Eugene ZHECKA-RIPN To Unsubscribe: send mail to [EMAIL PROTECTED] with

Re: FreeBSD 2.2.8 ISO or install media

2002-03-19 Thread Charles Burns
Anyone know where I can put my hands on the files that would allow me to setup a 2.2.8 server without having to compile server source code. An ISO image would be best. Do you have your heart set on 2.2.8? We have a 2.2.6 install iso at ftp.svbug.com. Naah, I'm sure version 2.2.6 is too

RE: the crash screen usually after 4 to 13 days not good...

2002-03-19 Thread Bri
Well a nice follow up to all of these this is how it goes cvsupd compiled the kernel etc. etc. before I rebooted just over 2 weeks ago and someone has definately fixed something cos its been running ever since. 9:23AM up 20 days, 23:11, 2 users, load averages: 0.01, 0.08, 0.05 the funny thing

Mini-PCI - PCI boards

2002-03-19 Thread M. Warner Losh
I have had placed into my hand a few Mini-pci cards from time to time. Since I'm using my laptop with mini-pci as a main terminal, I'd like to put some of them in my desktop machine. I'm looking for a mini-pci -- pci card board. It would also be good if the standard cable things were included

Re: booting from extended slice

2002-03-19 Thread Duane H. Hesser
On 19-Mar-02 Brian T.Schellenberger wrote: Sorry, I've gotten the message now . . . (my mail takes too long to send . . .) the partitions do work just the install doesn't. This seems like an especially silly situation to me . . . I always thought that the filesystem was the limitation

Need help accessing a chipset register

2002-03-19 Thread J. Seth Henry
Hello, I have a particular need to read and write a single byte to a register on a VIA chipset. I have a feeling that this is probably a lot easier than it seems, but I haven't done anything like this before. I have a system with a VIA VT82C686 southbridge. Connected to several of its

Re: booting from extended slice

2002-03-19 Thread Carlos Antonio Ruggiero
On Tue, 19 Mar 2002, Terry Lambert wrote: Date: Tue, 19 Mar 2002 00:28:32 -0800 From: Terry Lambert [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: Brian T . Schellenberger [EMAIL PROTECTED], Carlos Antonio Ruggiero [EMAIL PROTECTED], [EMAIL PROTECTED] Subject: Re: booting from

Re: booting from extended slice

2002-03-19 Thread Carlos Antonio Ruggiero
On Tue, 19 Mar 2002, Duane H. Hesser wrote: Date: Tue, 19 Mar 2002 09:10:56 -0800 (PST) From: Duane H. Hesser [EMAIL PROTECTED] To: Brian T.Schellenberger [EMAIL PROTECTED] Cc: [EMAIL PROTECTED], Carlos Antonio Ruggiero [EMAIL PROTECTED], [EMAIL PROTECTED] Subject: Re: booting from

Re: Junior hacker test

2002-03-19 Thread Martin Faxér
Just to let you guys know; I've sent Warner a patch-set that I think fixes this so don't start working on it (it was one hell of a job!). :-) On Mon, 18 Mar 2002 00:22:01 -0700 (MST) M. Warner Losh [EMAIL PROTECTED] wrote: Mark all the usage() functions in the tree __dead2. Warner To

mmap and efence

2002-03-19 Thread Miguel Mendez
Hi hackers, I have started porting The Fish to GTK+ 2.0 and everything seems to work fine, except I can no longer use Electric Fence. When I link with efence I get the following error: kajsa% time ./thefish Electric Fence 2.2.0 Copyright (C) 1987-1999 Bruce Perens [EMAIL PROTECTED]

Kernel debugger and X11.

2002-03-19 Thread Josef Karthauser
I'm having some intermittant problems on my laptop that I'd like to debug, but as I use X11 most of the time it's difficult to use the kernel debugger when the machine hangs, which is when I'm in X :(. Of course the nicest thing would be to return the screen to text mode automatically when the

Re: mmap and efence

2002-03-19 Thread Kip Macy
Is GTK 2.0 doing something with mmap that 1.2 wasn't? Electric Fence might not like changing pre-existing mappings. Just a WAG. -Kip On Tue, 19 Mar 2002, Miguel Mendez wrote: Hi hackers, I have started porting The Fish to GTK+ 2.0 and everything seems to work

usb breakage.

2002-03-19 Thread Alfred Perlstein
Please review this fix. Index: dev/usb/uhci.c === RCS file: /home/ncvs/src/sys/dev/usb/uhci.c,v retrieving revision 1.87 diff -u -r1.87 uhci.c --- dev/usb/uhci.c 16 Mar 2002 12:44:21 - 1.87 +++ dev/usb/uhci.c 19

Re: booting from extended slice

2002-03-19 Thread Terry Lambert
Carlos Antonio Ruggiero wrote: I think he means it can't find it's root there because of libstand. That is what surprised me: after the kernel kicks in everything works fine. It mounts root in the extended slice alright (the only FBSD slice in ad0 is ad0s10): ixtoto# df Filesystem

Re: mmap and efence

2002-03-19 Thread Kip Macy
Looking at the source for efence this happens when mmap fails (in this case with ENOMEM). Looking at the man page the two possibilities are: the system has reached the per-process mmap limit specified in the vm.max_proc_mmap sysctl or insufficient memory was available. *BSD limits the maximum

Re: Mini-PCI - PCI boards

2002-03-19 Thread Doug Ambrisko
M. Warner Losh writes: | I have had placed into my hand a few Mini-pci cards from time to | time. Since I'm using my laptop with mini-pci as a main terminal, I'd | like to put some of them in my desktop machine. I'm looking for a | mini-pci -- pci card board. It would also be good if the

Re: Kernel debugger and X11.

2002-03-19 Thread Kenneth D. Merry
On Tue, Mar 19, 2002 at 20:15:29 +, Josef Karthauser wrote: I'm having some intermittant problems on my laptop that I'd like to debug, but as I use X11 most of the time it's difficult to use the kernel debugger when the machine hangs, which is when I'm in X :(. Of course the nicest

Re: Kernel debugger and X11.

2002-03-19 Thread Josef Karthauser
On Tue, Mar 19, 2002 at 02:34:48PM -0700, Kenneth D. Merry wrote: Does anyone have any working practices around this problem? I'm sure that I'm not the only one of us with it. I would recommend just enabling crash dumps; then it doesn't matter if you're in X when the machine panics,

Re: usb breakage.

2002-03-19 Thread Josef Karthauser
On Tue, Mar 19, 2002 at 12:51:31PM -0800, Alfred Perlstein wrote: Please review this fix. Thanks Alfred, +#if 0 Static void uhci_dump_ii(uhci_intr_info_t *ii) { -964,6 +965,7 ed-bEndpointAddress, ed-bmAttributes); #undef DONE } +#endif I'm not sure why there's two

Re: Kernel debugger and X11.

2002-03-19 Thread Doug Ambrisko
Josef Karthauser writes: | Does anyone have any working practices around this problem? I'm sure | that I'm not the only one of us with it. | | I would recommend just enabling crash dumps; then it doesn't matter if | you're in X when the machine panics, and you can get a stack trace and

Re: Kernel debugger and X11.

2002-03-19 Thread Kenneth D. Merry
On Tue, Mar 19, 2002 at 21:36:23 +, Josef Karthauser wrote: On Tue, Mar 19, 2002 at 02:34:48PM -0700, Kenneth D. Merry wrote: Does anyone have any working practices around this problem? I'm sure that I'm not the only one of us with it. I would recommend just enabling crash

Re: Kernel debugger and X11.

2002-03-19 Thread Terry Lambert
Josef Karthauser wrote: Of course the nicest thing would be to return the screen to text mode automatically when the the kernel debugger is entered, but because X controls the video registers I guess that that's not easy or possible. [ ... ] Does anyone have any working practices around

Re: Kernel debugger and X11.

2002-03-19 Thread Josef Karthauser
On Tue, Mar 19, 2002 at 01:48:35PM -0800, Terry Lambert wrote: Yes, install the GGI port to FreeBSD, and use that instead of the native FreeBSD console, so that the video driver is aware of the state it put the card in, and can put it back into the correct state for the debugger to work.

Re: Need help accessing a chipset register

2002-03-19 Thread Doug White
On Tue, 19 Mar 2002, J. Seth Henry wrote: Hello, I have a particular need to read and write a single byte to a register on a VIA chipset. I have a feeling that this is probably a lot easier than it seems, but I haven't done anything like this before. I have a system with a VIA VT82C686

CVS expansion question.

2002-03-19 Thread Julian Elischer
I need to compare a possibly modified version of a FreeBSD source tree with the checked out original FreeBSD tree in order to extract the diffs. (to recover work by someone else) When I do however, I get a diff for every file for $FreeBSD$ and $Id: . This is because whatever checked out the

Re: CVS expansion question.

2002-03-19 Thread Alfred Perlstein
* Julian Elischer [EMAIL PROTECTED] [020319 15:54] wrote: I need to compare a possibly modified version of a FreeBSD source tree with the checked out original FreeBSD tree in order to extract the diffs. (to recover work by someone else) When I do however, I get a diff for every file for

Re: usb breakage.

2002-03-19 Thread Josef Karthauser
On Tue, Mar 19, 2002 at 02:38:52PM -0800, Julian Elischer wrote: I'm not sure why there's two uhci_dump_ii functions defined. I'll get to the bottom of it (there's one in the NetBSD version). I may have added a dummy one at one stage in order to get LINT to compile.. (I think it was

Re: mmap and efence

2002-03-19 Thread Ian Dowse
In message Pine.GSO.4.10.10203191303250.3121-10@orbit, Kip Macy writes: Looking at the source for efence this happens when mmap fails (in this case wi th ENOMEM). Looking at the man page the two possibilities are: the system has reached the per-process mmap limit specified in the

Re: Working with CVS and FreeBSD?

2002-03-19 Thread David O'Brien
On Sun, Mar 17, 2002 at 07:05:13PM -0800, George V. Neville-Neil wrote: Hi Folks, I'm about to try and do some work on some kernel code in FreeBSD and I'm thinking about ways to track my changes. I'm currently mirroring the CVS repository with CVSup (i.e. CVS mode not checkout mode)

Re: Working with CVS and FreeBSD?

2002-03-19 Thread George V. Neville-Neil
Both. To just make your own branch see the CVSup FAQ at http://www.polstra.com/ Thanks. Once I'm working with this I'll be trying to write up my experiences in an article for Daemon News etc. Later, George -- George V. Neville-Neil [EMAIL PROTECTED]

Re: Documents on FreeBSD Make system?

2002-03-19 Thread Murray Stokely
On Mon, Mar 18, 2002 at 10:24:58AM -0800, George V. Neville-Neil wrote: Is there a set of docs or a Daemon News article on working with the BSD make system? I'd like to write my code as closely to whatever that standard is as possible but reading through all the .mk files seems a bit less

Decision PCCOM Serial Card

2002-03-19 Thread Daniel O'Connor
Hi, Has anyone got FreeBSD to recognise one of these? I've tried modifying sio.c by adding this at line 598.. { 0x0004, PCCOM Serial, 0x18 }, But no luck.. Booting -v produces no diagnostics sigh pciconf -l for this card produces - none0@pci0:11:0:class=0x070002