Questions on i2c

2001-01-04 Thread Volker Stolz
Hi, is someone working actively on new i2c-stuff? I´d be interested in talking to someone who could take a short peek at http://www2.lm-sensors.nu/~lm78/info.html, a Linux-site providing i2c-drivers to various things, and could comment on the feasibility of using their stuff to implement

The Talk: ssh - are you nuts!?!

2001-01-04 Thread opentrax
SSH - are you nuts!?! by Jesus Monroy, Jr. I'm too tired to get this out, but i promised it would be available, so here it is. The Offical Part On Jan. 4, 2001, a talk entitled "ssh - are you nuts!?!" will be given at the SVBUG

Just how standard is APM?

2001-01-04 Thread Graham Wheeler
Hi all I'm running FreeBSD 4.2-S on a Compaq Presario laptop. This laptop seems to have APM support (at least it does under MS-Windows), but FreeBSD doesn't recognise it as such. I've gone so far as to add additional log messages in the kernel probes for the APM BIOS, and these log that the

Re: Questions on i2c

2001-01-04 Thread Robert Withrow
[EMAIL PROTECTED] said: :- Devices include video-devices like TV-Out on the Voodoo3 which could :- seemingly be enabled using i2c. And, I think, Meade telescopes... -- Robert Withrow -- (+1 978 288 8256) [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe

Re: Easy way to recover disk

2001-01-04 Thread Julian Stacey [EMAIL PROTECTED]
Warner Losh wrote: OK. I have a disk drive that is failing in random ways. Today blocks 123 456 and 293 might be unreadable. Tomorrow, it might be these and 27 or it might just be 27. It is an IDE drive. I was wondering if anybody had a program that would read the entire disk and keep a

Allocating an IRQ on PCI

2001-01-04 Thread Matthew C. Forman
Hi all, I want to allocate an IRQ for a PCI device driver. Normally this is easy enough, since the BIOS would reserve it for me, then I would just have to bus_alloc_resource and not even care which IRQ line it's using. Thing is, here the BIOS hasn't allocated an IRQ, so I'll need to

release with custom kernel

2001-01-04 Thread Sven Huster
hi there, after asking this in questions for a while, i want to give hackers a try. is there a possibility to make a release with a custom kernel? i know how to create a release but it contains always the GENERIC kernel. thanks sven To Unsubscribe: send mail to [EMAIL PROTECTED] with

more than 8 colors in console?

2001-01-04 Thread Peter Pentchev
Hi, I'm writing a console app, which needs to be quite colorful, and to use customizable colors. Unfortunately, with ncurses, right after start_color(), I get a can_change_color() == FALSE. Besides, COLORS is defined to as many as the Co termcap capability, which is 8. Well, all (well, most

kernel threads

2001-01-04 Thread Marc Tardif
Are threads on FreeBSD 4.x implemented at the kernel level? If so, since when (I remember 2.x used MIT-threads, so I'm guessing at least since 3.x)? How can I see for myself that threads are really implemented at the kernel level? I looked around in /usr/src/sys/kern, but couldn't find

Re: kernel threads

2001-01-04 Thread Kenneth Wayne Culver
Are threads on FreeBSD 4.x implemented at the kernel level? No, as far as I know, those are coming in FreeBSD 5.0 (which won't be out for a while) If so, since when (I remember 2.x used MIT-threads, so I'm guessing at least since 3.x)? How can I see for myself that threads are really

Re: BSD dlopen and such

2001-01-04 Thread Doug White
On Tue, 2 Jan 2001, Rafael Barrero wrote: Hi all, Two questions: 0) Are native binaries for OpenBSD different from FreeBSD? Yes. 1) Can a native binary dlopen a Linux ELF GL, yes or no? No. The linux compatbility is through the image activator. The syscalls have to be translated,

RE: kernel threads

2001-01-04 Thread John Baldwin
On 04-Jan-01 Marc Tardif wrote: Are threads on FreeBSD 4.x implemented at the kernel level? No, they probably will not be until 6.0. If so, since when (I remember 2.x used MIT-threads, so I'm guessing at least since 3.x)? How can I see for myself that threads are really implemented at

Re: Just how standard is APM?

2001-01-04 Thread Warner Losh
In message [EMAIL PROTECTED] Graham Wheeler writes: : Hi all : : I'm running FreeBSD 4.2-S on a Compaq Presario laptop. This laptop seems : to have APM support (at least it does under MS-Windows), but FreeBSD : doesn't recognise it as such. I've gone so far as to add additional log : messages in

Re: Allocating an IRQ on PCI

2001-01-04 Thread Warner Losh
In message [EMAIL PROTECTED] "Matthew C. Forman" writes: : Thing is, here the BIOS hasn't allocated an IRQ, so I'll need to : bus_set_resource in my probe to get one. To complicate matters, the : device's interrupt generator is pretty flexible, and can generate an : interrupt on (almost) any IRQ

Re: ld-elf.so.1: assert failed: /usr/src/libexec/rtld-elf/rtld.c:2033

2001-01-04 Thread John Polstra
In article [EMAIL PROTECTED], Russell L. Carter [EMAIL PROTECTED] wrote: Bingo! Thanks guys! Not so fast there, fella. You're not getting off that easily. ;-) Could you please try the patch below? It is like the patch that Paul sent, except it should handle error conditions better. This

Strange fwrite() behavior in a+ mode

2001-01-04 Thread Chris Williams
If I run the following program, I get the following results: --- jello:/usr/home/chris/foo$ cat blah.c #include stdio.h int main() { FILE *f = fopen("foo", "a+"); char x[50] = " "; char y[50] = " "; fseek(f, 0, SEEK_SET); printf("tell:

Re: getifaddrs

2001-01-04 Thread Assar Westerlund
ecureuil [EMAIL PROTECTED] writes: Hi Hello. I'm trying to get interfaces' list and infos with getifaddrs(). The ifa_data struct should contain all needed information, but this is a NULL pointer for IPv4 interfaces. Why ? What you are printing is the link level address and the v4 address

Re: Strange fwrite() behavior in a+ mode

2001-01-04 Thread Alfred Perlstein
* Chris Williams [EMAIL PROTECTED] [010104 16:51] wrote: If I run the following program, I get the following results: [snip] I wish you would have summarized that better... It tells me I'm at 3, but my read acts as if I'm at the end of the file, and then after trying to read it tells me

Re: ld-elf.so.1: assert failed: /usr/src/libexec/rtld-elf/rtld.c:2033

2001-01-04 Thread Russell L. Carter
%In article [EMAIL PROTECTED], %Russell L. Carter [EMAIL PROTECTED] wrote: % % Bingo! % % Thanks guys! % %Not so fast there, fella. You're not getting off that easily. ;-) %Could you please try the patch below? It is like the patch that Paul %sent, except it should handle error conditions

Re: ld-elf.so.1: assert failed: /usr/src/libexec/rtld-elf/rtld.c:2033

2001-01-04 Thread John Polstra
%Could you please try the patch below? It is like the patch that Paul %sent, except it should handle error conditions better. % %This patch is against -current, but I think it will apply cleanly to %-stable too. My pleasure. This patch applies cleanly against a two day old -stable, and

Re: FreeBSD + Mylex DAC960 (RAID 1) + DEC Prioris HX 6000 Server will not recognize boot record for some reason

2001-01-04 Thread Mike Smith
This machine is an Intel Pentium Pro based system, (not a DEC Alpha), it currently has one 200mhz 512K CPU, 196megs RAM, (4 x 32edo simms, 4 x 16edo simms), and two 4.5Gig SCSI disks in hot-swappable drive carriages configured using RAID 1 (mirrored), attached to a Mylex DAC960P/PD

RFC: a CUI controlpanel for FreeBSD

2001-01-04 Thread AGX
1.3.3. The FreeBSD Development Model Contributed by Satoshi Asami [EMAIL PROTECTED]. The development of FreeBSD is a very open and flexible process, FreeBSD being literally built from the contributions of hundreds of people around the world, as can be seen from our list of contributors. We are

Re: FreeBSD + Mylex DAC960 (RAID 1) + DEC Prioris HX 6000 Server will not recognize boot record for some reason

2001-01-04 Thread Mike Smith
This is a FAQ; you have a geometry mismatch. Make sure the BIOS on the card is set for 2GB mode, make sure sysinstall detects a */128/32 geometry. 8GB mode doesn't work (my fault, will be fixed once I get my lab set up and some free time). I can add another data point for this. We are

Re: Allocating an IRQ on PCI

2001-01-04 Thread Mike Smith
I want to allocate an IRQ for a PCI device driver. Normally this is easy enough, since the BIOS would reserve it for me, then I would just have to bus_alloc_resource and not even care which IRQ line it's using. This is how it works in -current. Thing is, here the BIOS hasn't allocated an

Re: Just how standard is APM?

2001-01-04 Thread Graham Wheeler
Warner Losh wrote: APM is standard. Except when it is broken in some brain damaged ways. However, you likely have your apm device disabled in your kernel and all you need to do is enable it. Nope - as I said, I added log messages to apm.c to log the BIOS probe and they log a failure (I

Re: Just how standard is APM?

2001-01-04 Thread Donald J . Maddox
Yeah, I thought that APM was APM, but the apm device does nothing on my desktop with power management hardware... That is, things like 'shutdown -p now' don't work, both 'apm' and 'apmd' just return 'device not configured', etc. Interestingly, at least 'shutdown -p' does work with ACPI anyway

Re: Just how standard is APM?

2001-01-04 Thread Mike Smith
Warner Losh wrote: APM is standard. Except when it is broken in some brain damaged ways. However, you likely have your apm device disabled in your kernel and all you need to do is enable it. Nope - as I said, I added log messages to apm.c to log the BIOS probe and they log a

Re: Just how standard is APM?

2001-01-04 Thread Peter Pentchev
On Fri, Jan 05, 2001 at 07:48:48AM +0200, Graham Wheeler wrote: Warner Losh wrote: APM is standard. Except when it is broken in some brain damaged ways. However, you likely have your apm device disabled in your kernel and all you need to do is enable it. Nope - as I said, I

Re: Just how standard is APM?

2001-01-04 Thread Graham Wheeler
Mike Smith wrote: How new is this laptop? It may be ACPI-only. I believe it is quite new ("designed for Windows Me"). I have to admit my ignorance - I've never heard of ACPI. -- Dr Graham WheelerE-mail: [EMAIL PROTECTED] Director, Research and Development

Re: Just how standard is APM?

2001-01-04 Thread Mike Smith
Mike Smith wrote: How new is this laptop? It may be ACPI-only. I believe it is quite new ("designed for Windows Me"). It's probably ACPI-only; welcome to FreeBSD-current. 8) I have to admit my ignorance - I've never heard of ACPI. ACPI is the successor to APM, as well as trying to