Re: PCI config space is not restored upon resume (macbook pro)

2010-08-18 Thread Oleg Sharoyko
OM image into memory "forever" and for all processes. -- Oleg Sharoyko ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"

Re: PCI config space is not restored upon resume (macbook pro)

2010-08-16 Thread Oleg Sharoyko
On 6 August 2010 08:15, Oleg Sharoyko wrote: >> When using the NVIDIA driver, you will need to make sure that >> you're using 256.44, you'll need to be running X at the time of >> entry to S3/S4, and you'll need to make sure you've switched >> away f

Re: PCI config space is not restored upon resume (macbook pro)

2010-08-05 Thread Oleg Sharoyko
u're using 256.44, you'll need to be running X at the time of > entry to S3/S4, and you'll need to make sure you've switched > away from X's VT (this didn't happen automatically on FreeBSD > last time I checked). I'll

Re: PCI config space is not restored upon resume (macbook pro)

2010-08-05 Thread Oleg Sharoyko
On 6 August 2010 00:35, Jung-uk Kim wrote: > We *do* switch VTs unless it is explicitly turned off by 'sysctl > hw.syscons.sc_no_suspend_vtswitch=1'.  However, it was slightly > broken but I fixed it recently. I can confirm that it works on another box with rather recen

Re: PCI config space is not restored upon resume (macbook pro)

2010-08-05 Thread Oleg Sharoyko
ored > and/or video ROM is not shadowed properly. I guess this might happen, because I don't use Boot Camp and have FreeBSD installed to the whole HDD. I'll see if going with Boot Camp and rEFIt will help. Thanks! -- Oleg Sharoyko _

Re: PCI config space is not restored upon resume (macbook pro)

2010-08-05 Thread Oleg Sharoyko
nge (0x0,0x1000) was already clear The last line repeats 983070 times. Strings with were very long, I truncated them for readability. This is odd. 1. http://www.oleg-sharoyko.net/files/freebsd/pci_config.201008/Xorg.vesa.log -- Oleg Sharoyko ___ f

Re: PCI config space is not restored upon resume (macbook pro)

2010-08-05 Thread Oleg Sharoyko
t simple. I have tried without success acpi_video.ko, dmps.ko, sysctl hw.acpi.reset_video and sysutils/vbetool. And what worries me, X server cannon start on resumed system. From Xorg.log: (EE) NV(0): Failed to determine the amount of available video memory It looks like videcard just ig

Re: PCI config space is not restored upon resume (macbook pro)

2010-08-04 Thread Oleg Sharoyko
On 3 August 2010 20:25, Oleg Sharoyko wrote: >> I wonder if the bus numbers for PCI-PCI bridges need to be restored on >> resume? >> If they aren't then config transactions won't be routed properly.  You could >> add a pcib_resume() method that prints o

Re: PCI config space is not restored upon resume (macbook pro)

2010-08-03 Thread Oleg Sharoyko
lues > after resume to see if they match what we print out during boot. I'll do that tomorrow and report the results. As I can see PCI-PCI bridge (non ACPI) restores bus numbers, while ACPI version - don't. -- Oleg Sharoyko ___ freebsd-hacke

PCI config space is not restored upon resume (macbook pro)

2010-08-03 Thread Oleg Sharoyko
data. What else can I do to understand and solve this issue? I would appreciate any help. Thank you! 1. Complete output of dmesg http://www.oleg-sharoyko.net/files/freebsd/pci_config.201008/dmesg.20100803.txt -- Oleg Sharoyko ___ freebsd-hackers@fre

Qlogic (isp) cannot login into fabric after link loss

2010-02-16 Thread Oleg Sharoyko
tally wrong here. So who is wrong and would it be possible to do resolve this issue? I have an access to all the components (blade, fc switch and storage system) and can provide additional information if it's needed. I'm really stuck and would greatly appreciate any help! Th

how determine all possible drivers for my system

2008-10-17 Thread Oleg
Hello maillist of my favorite Wortstation&Server OS May i asking: how i can determine all drivers of existing devices, but who is not present in GENERIC kernel. For definition of all devices useful to me I have written the following a little stupid script: -- #!/bin/sh MODLIST=`find /

Samba, Response too big for UDP, retry with TCP, Kerberos implementation on FreeBSD

2008-08-07 Thread Ginzburg, Oleg
//sorry for spamming to another freebsd-ports maillist. This channel is more suitable// Hello, I receive a similar problem in a current configuration (FreeBSD 7.0-Release amd64, samba-3.0.31_1) like this: http://lists.samba.org/archive/samba/2007-July/133625.html and most likely I assume proble

Re: jail2 patchset 14

2006-12-01 Thread Oleg Dambaev
Eldar T. Zaitov wrote: Have tried Jail2 patchset #14 on 6.2-PRERELEASE, everything compiles and works ok, but resolve. gethostbyname always returns NULL, but host/dig works ok. here's an example: virtual# host mail.ru mail.ru has address 194.67.57.26 mail.ru mail is handled by 10 mxs.mail.ru. vi

Re: jails, cron and sendmail

2006-09-01 Thread Oleg D.
r'' for ``root'' or ``postmaster'' to /dev/null? 1. Is it possible to make changes in /etc/crontab for all jails on machine? And place the same *blank* /etc/crontab for new jails that are going to be created as a template? -- Oleg D. -- don't believe every wor

Re: problem with SCSI

2006-06-07 Thread Oleg D.
Doug Barton wrote: Oleg D. wrote: Sorry for some offtopic. Experiencing some troubles with SCSI disks on FBSD 4.8 This version is way past its useful life. You should seriously plan to upgrade at the earliest possible moment. Maybe, but this machine has some jails on it. And

problem with SCSI

2006-06-06 Thread Oleg D.
Sorry for some offtopic. Experiencing some troubles with SCSI disks on FBSD 4.8 and looking for advice/solution how to fix/diagnose-more... What (maybe not) causes troubles: okey# make clean ===> Cleaning for m4-1.4_1 rm: /usr/ports/devel/m4/work: Directory not empty *** Error code 1 Stop

nvi for serious hacking

2005-10-17 Thread Oleg Petrov
Hello, FreeBSD people. First thing to mention is that I'm very experienced Emacs user. I was using it for 4-5 years or so. But sometime ago i began to feel myself so uncomfortable with it for some reasons: first, i use many different systems and emacs isn't default application for FreeBSD or any o

mio_connect specificity

2005-06-11 Thread Oleg Gritsak
Greetings! Would you, please, help to understand, what's specific FreeBSD has in a syscall mio_connect? The problem, I've ran into is - the shutting jabber server. In linux this code: out->fd = mio_connect(s2s->mio, pkt->port, pkt->ip, _out_mio_callback, (void *) out); doesn't lead to problem

Re: NIC detected, but won't DHCP or configure.

2005-03-22 Thread Oleg Bulyzhin
way, so any advice are welcome too ! :) It wants to say i can test and apply patch(es) without problem, if any. Thanks, Could you try this patch: http://lists.freebsd.org/pipermail/freebsd-stable/2005-March/013107.html -- Oleg. ==

Re: Diagnosing unrecognized hardware

2004-03-24 Thread Oleg Polyakov
Hello Warner, Thanks for your reply. --- "M. Warner Losh" <[EMAIL PROTECTED]> wrote: In message: <[EMAIL PROTECTED]> "Brian O'Shea" <[EMAIL PROTECTED]> writes: : pccard0: (manufacturer=0x000b, product=0x7110) at function 0 : pccard0:CIS info: D-Link, DWL-650 Wireless PC Card Rev

VIA8235 + AD1980

2003-06-25 Thread Oleg Sharoiko
et to the roots of this problem and this is where I need some help. If I understood everything correctly than it happens so that the sound somehow goes to surround dac. The question that I cannot answer: why it goes to surround dac? Unfortunately I don't have via8235 spec. Myabe data are being put int

(no subject)

2003-03-04 Thread Oleg Yeskov
To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: Need to override KRNLCONFDIR variable in command line of make(file /usr/src/Makefile.inc1).

2002-12-03 Thread Oleg Sharoiko
NOT be overridden. That's in -CURRENT, are there any plans on merging it into -STABLE ? -- Oleg Sharoiko. Software and Network Engineer Computer Center of Rostov State University. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

DGB driver update (kern/44872)

2002-11-14 Thread Oleg Sharoiko
Hello! Would someone with commit privs and a small amount of free time please be so kind as to look through the sources (see kern/44872) and commit them. This will update dgb driver so that it would not use 'old compatibility schemes'. -- Oleg Sharoiko. Software and Network Enginee

Re: cpu class & features

2002-11-07 Thread Oleg Polyakov
There is a way how FreeBSD kernel do it - /sys/i386/i386/identcpu.c and some other files in that directory. Also there is a port/package - /usr/ports/misc/cpuid >I'm writing an application that needs info on the machine cpu >architecture, >the cpu class, and the cpu features. > >The machine cpu a

dgb driver update

2002-11-04 Thread Oleg Sharoiko
Hello! We've updated dgb driver so that it doesn't 'use old compatibility schemes' I think this update is worth being included into source tree. Should I send it to the list or there is now another way of submitting updates? -- Oleg Sharoiko. Software and Network Enginee

Re: Patches to fix MD5 auth in routed

2002-03-12 Thread Oleg Sharoiko
Hello! On Tue, 12 Mar 2002, Maxim Konovalov wrote: MK> I am going to take a look at your patches. Could you please fill a PR MK> meantime? Thank you very much. I've submitted the PR (bin/35843) Hope to hear from you soon. -- Oleg Sharoiko. Software and Network Engineer Compute

Patches to fix MD5 auth in routed

2002-03-11 Thread Oleg Sharoiko
d5_ctx); - MD5Update(&md5_ctx, (u_char *)wb->buf, len); + MD5Update(&md5_ctx, (u_char *)wb->buf, len + RIP_AUTH_HDR_LEN); MD5Update(&md5_ctx, ap->key, RIP_AUTH_MD5_LEN); MD5Final(na2->au.au_pw, &md5_ctx); wb->n++; -- Oleg Sharoiko. S

Question about pthread

2001-10-03 Thread Oleg Golovanov
Dear Sirs: I am using FreeBSD-2.2.8 and after calling pthread_create() my programs get sigfault (SIGSEGV) and exited with core dump. I should like to ask if somebody know the solve of this problem. My example of using pthread is included below. I ask to answer me directly on my e-mail. Oleg

Problem with 2 video cards: /src/sys/pci.c code question

2000-10-28 Thread Oleg Sharoiko
e're no any jumpers or bios options to disable video card. I suppose that kernel turns on the built-in video adapter and it conflicts with the one I've plugged in. I don't have strong skills in PCI programming so I'm asking for your help. Please CC: replies to my e-mail. I would g

Write-protected floppy crash

2000-06-06 Thread Oleg Derevenetz
When write-protected floppy mounted in R/W mode, write attempt to this floppy follows kernel panic (dirty buffers) and reboot. Is this correct ? The best way IMO is to always mount write-protected floppies in R/O mode. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-ha

Re: DoS

2000-06-03 Thread Oleg Derevenetz
On Sat, 3 Jun 2000, Alfred Perlstein wrote: > > Denial of Service and kernel panic (out of mbuf) appears when following > > program executes (originally reported by Sven Berkenvs > > ([EMAIL PROTECTED])). Affects FreeBSD 3.x & 4.0, OpenBSD 2.5, OpenBSD 2.6, > > NetBSD 1.4.1. > > FreeBSD 4 and

DoS

2000-06-03 Thread Oleg Derevenetz
Denial of Service and kernel panic (out of mbuf) appears when following program executes (originally reported by Sven Berkenvs ([EMAIL PROTECTED])). Affects FreeBSD 3.x & 4.0, OpenBSD 2.5, OpenBSD 2.6, NetBSD 1.4.1. #include #include #include #define BUFFERSIZE 204800 int main () {

vm_fault() problem

2000-06-01 Thread Oleg Derevenetz
It seems to be a problem in vm/vm_fault() and vnode_pager_generic_putpages() in FreeBSD 3.x & 4.0. The following code illustrates the problem: #include #include #include #include #include #define COUNT 1024 #define SIZE10*1024*1024 int main () { int i,j,fd; char *fptr, fnam

Re: Bug in advansys driver

2000-05-23 Thread Oleg Sharoiko
led so it's maybe good to check that code. (I was booting from atapi and adv was the only scsi adapter in the system) -- Oleg Sharoiko. Computer Center of Rostov State University. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Bug in advansys driver

2000-05-23 Thread Oleg Sharoiko
ached file. I'm not sure that I put correct error codes for all cases so I think it would be good if someone looks through it. Anyway this code works (at least for me) and -STABLE sources don't. Hope this small work will be useful. -- Oleg Sharoiko. Computer Center of Rostov State

Re: Probably bug with allocation memory in FreeBSD-3.2-RELEASE

1999-08-17 Thread Oleg Derevenetz
On Wed, 18 Aug 1999, Ilia Chipitsine wrote: > > > > Why i think this is bug? Because any user can hung FreeBSD, settings in > > > > /etc/login.conf can't help. > > > > >Are you sure about that? Setting datasize limits will prevent > > >malloc() from doing what you're trying to make it do. Are

Re: Probably bug with allocation memory in FreeBSD-3.2-RELEASE

1999-08-17 Thread Oleg Derevenetz
On Wed, 18 Aug 1999, Ilia Chipitsine wrote: > > > > Why i think this is bug? Because any user can hung FreeBSD, settings in > > > > /etc/login.conf can't help. > > > > >Are you sure about that? Setting datasize limits will prevent > > >malloc() from doing what you're trying to make it do. Ar

mmap bug

1999-08-12 Thread Oleg Derevenetz
Oh, I'm sorry, I made a mistake when posting code. I posted incorrectly patched version... This version correct : #include #include #include #include #include #include #include main(int argc, char *argv[]) { int fd; int i; int len=1024*1024*10; /*ie 10Mbytes*/ caddr_t add

mmap bug

1999-08-11 Thread Oleg Derevenetz
Oh, I'm sorry, I made a mistake when posting code. I posted incorrectly patched version... This version correct : #include #include #include #include #include #include #include main(int argc, char *argv[]) { int fd; int i; int len=1024*1024*10; /*ie 10Mbytes*/ caddr_t ad

mmap bug

1999-08-11 Thread Oleg Derevenetz
This small program, running as 'mmap', not 'mmap -u', can hang my machine. Is this a known bug in FreeBSD's kernel, or it is my fantasy ? Thank you for answer. #include #include #include #include #include #include #include main(int argc, char *argv[]) { int fd; int i; i

mmap bug

1999-08-11 Thread Oleg Derevenetz
This small program, running as 'mmap', not 'mmap -u', can hang my machine. Is this a known bug in FreeBSD's kernel, or it is my fantasy ? Thank you for answer. #include #include #include #include #include #include #include main(int argc, char *argv[]) { int fd; int i;