Re: IPv6 - sobind fails with 49

2013-06-28 Thread Andrey V. Elsukov
? bzero(saddr6, sizeof(saddr6)); saddr6.sin6_family = AF_INET6; -- WBR, Andrey V. Elsukov ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail

Re: zfsloader triggering reset when interacting with v86int()

2013-05-22 Thread Andrey V. Elsukov
for ZFS on floppies. Yes, you can break into loader prompt and run lsdev command, hard disks names will be start from letter 'C'. -- -- WBR, Andrey V. Elsukov ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd

Re: PV6 bind fails with 49 (#define EADDRNOTAVAIL 49 /* Can't assign requested address */)

2013-04-18 Thread Andrey V. Elsukov
contains any addresses assigned to the interface, sa_fimily=18 is for AF_LINK address, so it's ok. -- WBR, Andrey V. Elsukov ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any

Re: PV6 bind fails with 49 (#define EADDRNOTAVAIL 49 /* Can't assign requested address */)

2013-04-18 Thread Andrey V. Elsukov
here? What value has the sysctl variable security.jail.jailed? -- WBR, Andrey V. Elsukov ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to freebsd-hackers-unsubscr

Re: PV6 bind fails with 49 (#define EADDRNOTAVAIL 49 /* Can't assign requested address */)

2013-04-18 Thread Andrey V. Elsukov
On 18.04.2013 17:47, Andrey V. Elsukov wrote: On 18.04.2013 15:37, Sreenivasa Honnur wrote: I have a ipv6 interface(ping6 to a remove ipv6 works) when I try to bind to this address through a socket program sobind fails with 49 as return value. If I give saddr6.sin6_addr = in6addr_any; sobind

Re: pmbr: Boot loader too large

2013-01-22 Thread Andrey V. Elsukov
On 22.01.2013 16:41, Daniel Braniss wrote: the source pmbr.s seems to say different - 545K, but since gptboot is 15k ... someone should mention it in the gpart(8) man page. It is already documented in the gpart(8) man page, twice. -- WBR, Andrey V. Elsukov

Re: gpart is junk

2012-09-17 Thread Andrey V. Elsukov
another geom classes used. * gpart(8) utility works with GEOM objects of class GEOM_PART. If there is no objects - no one to work with. * You need to read gpart(8) about -f flag and commit/undo/show commands. -- WBR, Andrey V. Elsukov signature.asc Description: OpenPGP digital signature

Re: Why fdisk can't open root disk with MBR for writing?

2012-09-16 Thread Andrey V. Elsukov
this flag is more dangerous than helpful. And i already removed this suggestion from several places. All utilities that know how to work with GEOM, do their job without such hack. -- WBR, Andrey V. Elsukov signature.asc Description: OpenPGP digital signature

Re: How to debug loader(8)

2012-08-02 Thread Andrey V. Elsukov
a bit more quirks to the known problems. If it will work, we can try to fix our loader too. -- WBR, Andrey V. Elsukov ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail

Re: [CFC/CFT] large changes in the loader(8) code

2012-07-16 Thread Andrey V. Elsukov
On 16.07.2012 14:23, Andriy Gapon wrote: on 26/06/2012 15:50 Andrey V. Elsukov said the following: 3. ZFS code now uses new API and probing on the systems with many disks should be greatly increased: zfs/zfs.c i386/loader/main.c First of all, it's hard to parse the above

Re: [CFC/CFT] large changes in the loader(8) code

2012-07-16 Thread Andrey V. Elsukov
to the previous approach. -- WBR, Andrey V. Elsukov signature.asc Description: OpenPGP digital signature

Re: [CFC/CFT] large changes in the loader(8) code

2012-07-16 Thread Andrey V. Elsukov
taste each disk and partition, but in the my branch ZFS tastes only disks and partitions with type freebsd and freebsd-zfs. So if you have created ZFS on top of MBR partition with type ntfs, then loader will be unable to detect it. -- WBR, Andrey V. Elsukov signature.asc Description: OpenPGP

Re: [CFC/CFT] large changes in the loader(8) code

2012-06-28 Thread Andrey V. Elsukov
disklabel64 partitioning scheme. Make a port is simple task. -- WBR, Andrey V. Elsukov ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to freebsd-hackers-unsubscr

Re: [CFC/CFT] large changes in the loader(8) code

2012-06-27 Thread Andrey V. Elsukov
metadata to the provider. -- WBR, Andrey V. Elsukov ___ 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: [CFC/CFT] large changes in the loader(8) code

2012-06-27 Thread Andrey V. Elsukov
will complain and you will be forced to run `gpart recover`. -- WBR, Andrey V. Elsukov signature.asc Description: OpenPGP digital signature

Re: [CFC/CFT] large changes in the loader(8) code

2012-06-27 Thread Andrey V. Elsukov
? This will be the right solution to all our problems. Just don't create invalid GPT. -- WBR, Andrey V. Elsukov ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to freebsd-hackers

[CFC/CFT] large changes in the loader(8) code

2012-06-26 Thread Andrey V. Elsukov
that, i can make it compatible. Any comments are welcome. -- WBR, Andrey V. Elsukov signature.asc Description: OpenPGP digital signature

Re: [CFC/CFT] large changes in the loader(8) code

2012-06-26 Thread Andrey V. Elsukov
On 26.06.2012 16:57, Pawel Jakub Dawidek wrote: On Tue, Jun 26, 2012 at 04:50:36PM +0400, Andrey V. Elsukov wrote: Hi All, Some time ago i have started reading the code in the sys/boot. Especially i'm interested in the partition tables handling. I found several problems: 1

Re: [CFC/CFT] large changes in the loader(8) code

2012-06-26 Thread Andrey V. Elsukov
, the boot0cfg is the better tool for that. Also we still haven't any tool to install zfsboot. -- WBR, Andrey V. Elsukov signature.asc Description: OpenPGP digital signature

Re: [CFC/CFT] large changes in the loader(8) code

2012-06-26 Thread Andrey V. Elsukov
mirror without you knowing. I know about successful sharing of the disk between Windows and FreeBSD via graid on the Intel pseudo raid. Just use compatible technologies. -- WBR, Andrey V. Elsukov signature.asc Description: OpenPGP digital signature

Re: EFI development tools

2012-06-16 Thread Andrey V. Elsukov
the python bits). Hi, Eric. Did you try the GNU EFI toolchain? It contains a good descriptions on how to build EFI application and we probably can use some suggestions even without importing it. http://sourceforge.net/projects/gnu-efi/ -- WBR, Andrey V. Elsukov

Re: GSoC Project: EFI on amd64/i386

2012-05-18 Thread Andrey V. Elsukov
, is a BSDlabel really necessary on a GPT disk? It might be necessary for the ZFS case. ZFS can use several devices/partitions and they should be accessible while booting. -- WBR, Andrey V. Elsukov ___ freebsd-hackers@freebsd.org mailing list http

Re: GSoC Project: EFI on amd64/i386

2012-05-15 Thread Andrey V. Elsukov
wouldn't even use biosdisk.c or bioscd.c for example, but only libstand drivers that talk to EFI. Not sure if Rui's EFI loader already does this. AFAIK, ia64 loader works in that way. -- WBR, Andrey V. Elsukov ___ freebsd-hackers@freebsd.org mailing

Re: GSoC Project: EFI on amd64/i386

2012-05-10 Thread Andrey V. Elsukov
not depend on that. -- WBR, Andrey V. Elsukov ___ 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: [review request] zfsboot/zfsloader: support accessing filesystems within a pool

2012-04-27 Thread Andrey V. Elsukov
to the MI code. In the result we will have some MI API to get access to the disks and partitions, that we can use anywhere, e.g. in the ZFS code. -- WBR, Andrey V. Elsukov ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman

Re: [review request] zfsboot/zfsloader: support accessing filesystems within a pool

2012-04-23 Thread Andrey V. Elsukov
can look here: http://people.freebsd.org/~ae/sys_boot.diff This patch have one problem, there is no way to determine disk size and i'm thinking about adding ioctl(DIOCGMEDIASIZE) to the disk devsw. -- WBR, Andrey V. Elsukov signature.asc Description: OpenPGP digital signature

Re: GSoC: EFI on intel

2012-04-03 Thread Andrey V. Elsukov
project proposal? I certainly have the skills to undertake it, I just want to make sure that it stands a chance of actually being selected. Hi, Eric Yes, this project is still needed for the FreeBSD. -- WBR, Andrey V. Elsukov ___ freebsd-hackers

Re: gpart and it's EBR confusion

2012-04-03 Thread Andrey V. Elsukov
On 03.04.2012 23:46, rank1see...@gmail.com wrote: GEOM: md0s3: invalid entries in the EBR ignored. -- Not 100% reproducible. Running again SAME 'gpart destroy' then 'gpart create', worked. This should be fixed in stable/9 with r232535. -- WBR, Andrey V. Elsukov

Re: 9-beta1 installer - partition editor

2011-08-31 Thread Andrey V. Elsukov
does not support it. -- WBR, Andrey V. Elsukov signature.asc Description: OpenPGP digital signature

Re: glabel on 9-BETA1

2011-08-16 Thread Andrey V. Elsukov
can destroy some data in it. Using kern.geom.debugflags=16 is a bad practice. The right way is creating label before creation of file system and installing OS. Also you can use UFS labels (see tunefs(8)). -- WBR, Andrey V. Elsukov signature.asc Description: OpenPGP digital signature

Re: Bugzilla file reported. gnome developers want freebsd help

2011-04-29 Thread Andrey V. Elsukov
Project FreeBSD port of Network Manager, so i think things may be changed soon. -- WBR, Andrey V. Elsukov signature.asc Description: OpenPGP digital signature

Re: 8.2-RELEASE - gmirror and gpart issue. Metadata overlap?

2011-02-26 Thread Andrey V. Elsukov
not work? Also when you are writing problem report about gpart it will be not bad to add output of `gpart show` or `gpart list` commands. And `gmirror list` for GEOM_MIRROR. -- WBR, Andrey V. Elsukov signature.asc Description: OpenPGP digital signature

Re: more gpart/glabel problems

2011-01-14 Thread Andrey V. Elsukov
where secondary GPT is located. You can label mfid0 with glabel and after that create GPT on top of label/r0. This should work. -- WBR, Andrey V. Elsukov ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers

Re: more gpart/glabel problems

2011-01-14 Thread Andrey V. Elsukov
as expected. Both providers label/r0 and mfid0 have primary GPT, but label/r0 is one sector smaller than mfid0 and GPT's metadata is valid only for label/r0. mfid0 marked as CORRUPT and you can not modify it. Please read RECOVERING section of gpart(8) manual page. -- WBR, Andrey V. Elsukov signature.asc

Re: Boot0cfg bug redux (Re: sys/boot/boot0/boot0.S - r186598)

2011-01-10 Thread Andrey V. Elsukov
boot0cfg -s. And i think it is not so hard to add several lines of code to pass set command to PART class. -- WBR, Andrey V. Elsukov signature.asc Description: OpenPGP digital signature

Re: breaking the crunchgen logic into a share/mk file

2010-11-16 Thread Andrey V. Elsukov
fix this issue (not tested). -- WBR, Andrey V. Elsukov Index: head/usr.sbin/sysinstall/install.c === --- head/usr.sbin/sysinstall/install.c (revision 215396) +++ head/usr.sbin/sysinstall/install.c (working copy) @@ -342,7 +342,7

Re: breaking the crunchgen logic into a share/mk file

2010-11-16 Thread Andrey V. Elsukov
rescue does not have any hardlinks: http://pub.allbsd.org/FreeBSD-snapshots/i386-i386/9.0-HEAD-20101116-JPSNAP/cdrom/livefs/rescue/ And what is was before: http://pub.allbsd.org/FreeBSD-snapshots/i386-i386/9.0-HEAD-20101112-JPSNAP/cdrom/livefs/rescue/ -- WBR, Andrey V. Elsukov signature.asc

Re: Support for WD Advanced Format disks

2010-08-11 Thread Andrey V. Elsukov
, this shall be implemented anyway... Yet another idea - we can add auto-align feature in gpart(8) for disks, that properly reports sector size. -- WBR, Andrey V. Elsukov signature.asc Description: OpenPGP digital signature

Re: Support for WD Advanced Format disks

2010-08-10 Thread Andrey V. Elsukov
identify ada0` command. -- WBR, Andrey V. Elsukov signature.asc Description: OpenPGP digital signature

Re: Kernel linker and undefined references in KLD

2010-07-15 Thread Andrey V. Elsukov
); # kldload -v ./tst.ko Loaded ./tst.ko, id=16 I think loading of this module should be rejected on MOD_LOAD, but it doesn't. -- WBR, Andrey V. Elsukov signature.asc Description: OpenPGP digital signature

Re: strange problem with int64_t variables

2010-07-11 Thread Andrey V. Elsukov
a corrupted value. If I pass 1, it prints out 3735348794091372545. I'm not doing anything special with it just reading it out from the struct that was generated with make sysent. Any ideas? Can you show some code? -- WBR, Andrey V. Elsukov signature.asc Description: OpenPGP digital signature

Re: How change process flags from userland?

2010-06-30 Thread Andrey V. Elsukov
On 30.06.2010 10:26, Andrey Zonov wrote: Hi, I want to set P_PROTECTED flag for some daemons after it start, without patching application and kernel. It possible? Did you try sysutils/scprotect? -- WBR, Andrey V. Elsukov signature.asc Description: OpenPGP digital signature

Re: Custom USB layout sysinstall (Starting FIXIT)

2010-05-27 Thread Andrey V. Elsukov
responsible for detecting devices. Look at deviceGetAll function. -- WBR, Andrey V. Elsukov ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to freebsd-hackers-unsubscr

Re: FreeBSD kernel doesn't boot on FUJITSU PRIMERGY RX200 S5 server

2010-04-21 Thread Andrey V. Elsukov
slowly rotated dash line at end of /boot/kernel/kernel text=x | -- WBR, Andrey V. Elsukov ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to freebsd-hackers-unsubscr

Re: FreeBSD kernel doesn't boot on FUJITSU PRIMERGY RX200 S5 server

2010-04-20 Thread Andrey V. Elsukov
snapshot on IBM x3650 M2 and seems have the same problem, i set hints from loader prompt, but this didn't help. Can you explain what you did to boot FreeBSD faster? -- WBR, Andrey V. Elsukov ___ freebsd-hackers@freebsd.org mailing list http

Re: KLM unloading on error

2010-04-13 Thread Andrey V. Elsukov
and be removed. Does FreeBSD support this? Hi Patrick. It seems it is bug. I have the same problem in 9-CURRENT, which FreeBSD version do you have? -- WBR, Andrey V. Elsukov ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman

Re: How to slow down SATA to 1.5 GBit/s ?

2010-03-11 Thread Andrey V. Elsukov
On 11.03.2010 16:27, Thomas Schmitt wrote: i am looking for a way to curb SATA speed to 1.5 GBit/s to avoid write failures with an eSATA attached DVD burner. Can you show `pciconf -l` output? -- WBR, Andrey V. Elsukov ___ freebsd-hackers@freebsd.org

Re: KLD hello.ko: depends on kernel - not available or version mismatch

2010-02-10 Thread Andrey V. Elsukov
-- WBR, Andrey V. Elsukov ___ 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: Fw: Re: ZFS continuously growing [SOLVED]

2009-09-03 Thread Andrey V. Elsukov
=on your_pool_name -- WBR, Andrey V. Elsukov ___ 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

Howto setup multiboot with GPT?

2009-08-14 Thread Andrey V. Elsukov
97,6G 18,5K /mnt/var/crash x86/var/db 25K 97,6G25K /mnt/var/db x86/var/tmp 19K 97,6G19K /mnt/var/tmp -- WBR, Andrey V. Elsukov ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd

Re: lzma compression/decompression in bsdtar/libarchive?

2008-11-25 Thread Andrey V. Elsukov
don't see information about public domain on russian page http://7-zip.org.ua/ru/sdk.html (may be it is translation bug :). LZMA is avaiable under one of three license: 1. GNU LGPL 2. CPL 3. Special author's license (you can use code, but can't change it) -- WBR, Andrey V. Elsukov

Re: ATA Security patch to atacontrol

2008-09-29 Thread Andrey V. Elsukov
/Advanced_Technology_Attachment#HDD_Passwords_and_Security http://en.wikipedia.org/wiki/Advanced_Technology_Attachment#ATA_standards_versions.2C_transfer_rates.2C_and_features -- WBR, Andrey V. Elsukov ___ freebsd-hackers@freebsd.org mailing list http

Re: atacontrol broken in 7.1-PR

2008-09-28 Thread Andrey V. Elsukov
be MFCed before release. -- WBR, Andrey V. Elsukov ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: kern/98388: [ata] FreeBSD 6.1 - WDC WD1200JS SATA II disks are seen as older SATA

2008-08-14 Thread Andrey V. Elsukov
, Andrey V. Elsukov ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: kern/98388: [ata] FreeBSD 6.1 - WDC WD1200JS SATA II disks are seen as older SATA

2008-08-14 Thread Andrey V. Elsukov
`ident /boot/kernel/kernel | grep ata-chipset` output? -- WBR, Andrey V. Elsukov ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: kern/98388: [ata] FreeBSD 6.1 - WDC WD1200JS SATA II disks are seen as older SATA

2008-08-14 Thread Andrey V. Elsukov
, rebuild your kernel, reboot in verbose mode and show /var/run/dmesg.boot ? -- WBR, Andrey V. Elsukov --- ata-chipset.c.orig 2008-08-12 08:31:14.0 +0400 +++ ata-chipset.c 2008-08-14 13:31:40.0 +0400 @@ -2193,6 +2193,11 @@ ctlr-allocate = ata_intel_allocate; ctlr

Re: kern/98388: [ata] FreeBSD 6.1 - WDC WD1200JS SATA II disks are seen as older SATA

2008-08-14 Thread Andrey V. Elsukov
and determine negotiated speed. I think the problem is in your BIOS. If your BIOS doesn't have any AHCI or RAID specific options I don't know how correctly fix this problem. -- WBR, Andrey V. Elsukov ___ freebsd-hackers@freebsd.org mailing list http

Re: kern/98388: [ata] FreeBSD 6.1 - WDC WD1200JS SATA II disks are seen as older SATA

2008-08-14 Thread Andrey V. Elsukov
14.08.08, 16:47, Jeremy Chadwick [EMAIL PROTECTED]: On Thu, Aug 14, 2008 at 03:56:32PM +0400, Andrey V. Elsukov wrote: sam wrote: Can you apply attached patch, rebuild your kernel, reboot in verbose mode and show /var/run/dmesg.boot ? http://cs.udmvt.ru/files/temp/dmesg.boot_0814

Re: massive interrupt storm

2008-07-04 Thread Andrey V. Elsukov
Murray Taylor wrote: irq17: mpt0 uhci1* 680341376 57301 Did you try to disable USB in BIOS? (yes, you don't have PS/2, but you can use SSH for testing) Also did you try to disable ACPI? -- WBR, Andrey V. Elsukov ___ freebsd-hackers

Re: massive interrupt storm

2008-07-03 Thread Andrey V. Elsukov
Murray Taylor wrote: ideas ? What shows `vmstat -i`? -- WBR, Andrey V. Elsukov ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to [EMAIL PROTECTED]

[RFC] patch to AHCI device detection code

2008-06-11 Thread Andrey V. Elsukov
, upon receiving a COMINIT from the attached device, PxTFD.STS.BSY shall be set to ’1’ by the HBA. So we can wait until PxTFD.STS.BSY resets to zero and then read PxSIG. Any comments? -- WBR, Andrey V. Elsukov Index: src/sys/dev/ata/ata-chipset.c

Re: [RFC] patch to AHCI device detection code

2008-06-11 Thread Andrey V. Elsukov
Andrey V. Elsukov wrote: Hi, Soren. Hi, All too :) Not so long Soren said that he is losing emails, so i added freebsd-hackers@ list to be heard. -- WBR, Andrey V. Elsukov ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org

Re: [RFC] patch to AHCI device detection code

2008-06-11 Thread Andrey V. Elsukov
think it can't made regression. I don't see nothing dangerous in addition 1s waiting (it doesn't enable softreset code, only PxTFD reading loop).. -- WBR, Andrey V. Elsukov ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman

Re: Adaptec RAID 3805 and FreeBSD 7.0

2008-05-13 Thread Andrey V. Elsukov
snapshot? I remember that Ed made many changes in aac(4) driver in CURRENT.. If it will not work then fill problem report. -- WBR, Andrey V. Elsukov ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers

Re: vkernel GSoC, some questions

2008-03-16 Thread Andrey V. Elsukov
-- WBR, Andrey V. Elsukov ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: new SATA chipsets support

2008-03-13 Thread Andrey V. Elsukov
last week. So, i think it will be in STABLE soon. Note: seems that there are some problems with nForce chipsets and FreeBSD 6.3/7.0 on MSI motherboards. So, be careful. -- WBR, Andrey V. Elsukov ___ freebsd-hackers@freebsd.org mailing list http

Re: Remote Kernel Debugging over QEMU?

2008-03-08 Thread Andrey V. Elsukov
disks, and so on. Has anyone ever attempted? I spent a half day but due to lack of remote debugging experience and some other knowledge, it wasn't successful. I tried debugging via serial console 2 years ago. It was workable. -- WBR, Andrey V. Elsukov

Re: Overlap in PCI memory ranges

2007-12-09 Thread Andrey V. Elsukov
use AHCI. situation (a single port SATA controller on a laptop). This is supposed to read a bitmap of the enabled ports on the SATA controller. Please, show your `pciconf -l`. And if you have some patches, show their. -- WBR, Andrey V. Elsukov

Re: Overlap in PCI memory ranges

2007-12-06 Thread Andrey V. Elsukov
Controller mem 0xd0608000-0xd060bfff irq 16 at device 20.2 on pci0 Why you want to do it? Your SATA controoler doesn't works? Can you show a bit more log messages related to the atapci0? Also can you show `pciconf -l | grep ^atapci`? -- WBR, Andrey V. Elsukov

Re: Intel D975XBX2 BTX halted

2007-09-24 Thread Andrey V. Elsukov
in Raid controller Marvell 88SE61xx I connected my existing FreeBSD-STABLE SATA drive to port 0. Upon boot, I receive the following error: -- WBR, Andrey V. Elsukov ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo

Remote GDB howto

2007-09-03 Thread Andrey V. Elsukov
machine kgdb take a trap, but i only have the following: Program received signal SIGTRAP, Trace/breakpoint trap. [Switching to Thread 0] 0x in ?? () (kgdb) bt #0 0x in ?? () What i've missed? -- WBR, Andrey V. Elsukov ___ freebsd-hackers

Re: Remote GDB howto

2007-09-03 Thread Andrey V. Elsukov
communication with the remote machine between these two lines. Have you followed my tutorial? http://www.lemis.com/grog/Papers/Debug-tutorial/ Yes, this is my primary manual. -- WBR, Andrey V. Elsukov ___ freebsd-hackers@freebsd.org mailing list http

Re: Remote GDB howto [SOLVED]

2007-09-03 Thread Andrey V. Elsukov
/to/copy/of/target/kernel.symbols Sorry. -- WBR, Andrey V. Elsukov ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: questions on nonsleepable lock

2007-08-15 Thread Andrey V. Elsukov
V. Elsukov ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: in-kernel tcp server

2007-06-20 Thread Andrey V. Elsukov
Nicolas Cormier wrote: What's the easy way to create a basic tcp server (create/bind/listen/accept/send/recv) : use netgraph's ksocket or so* AFAIR, OpenKETA was web server in kernel space. You can look to it's code. -- WBR, Andrey V. Elsukov

Re: how to deny reading of several sysctls (for a set of uids, f.e.)

2007-01-25 Thread Andrey V. Elsukov
Andrew N. Below wrote: I also thought about passing control variable from libc to kernel, but it seems to be bad idea. Any other ways? As an idea - maybe you can implement this feature as MAC module? Looks for a mac_check_system_sysctl function. -- WBR, Andrey V. Elsukov

Re: Yet another magic symlinks implementation

2006-11-05 Thread Andrey V. Elsukov
this feature after Roman ask. And this is mostly a copy of code from NetBSD. If somebody from commiters want commit this, i can rewrite code. -- WBR, Andrey V. Elsukov ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman

Re: Yet another magic symlinks implementation

2006-11-05 Thread Andrey V. Elsukov
in a cluster or jailed enviroments. But i think, that it is necessary to change a priority of levels. The system level must have a hight priority, and unprivileged users can not override system variables. For a NetBSD's magiclinks i see only one scope - build enviroment. -- WBR, Andrey V

Re: Yet another magic symlinks implementation

2006-11-05 Thread Andrey V. Elsukov
On Sat, Nov 04, 2006 at 11:56:29AM +0300, Andrey V. Elsukov wrote: From what I know NetBSD removed mount flag and switched to global sysctl to enable/disable this feature. Would be good to know why and eventually do the same. Actually the current implementation uses a sysctl variable to enable

Yet another magic symlinks implementation

2006-11-04 Thread Andrey V. Elsukov
Hi, All! I've ported NetBSD magic symlinks implementation to FreeBSD. The description of magiclinks can been found here: http://www.daemon-systems.org/man/symlink.7.html Patch here: http://butcher.heavennet.ru/patches/kernel/magiclinks/ -- WBR, Andrey V. Elsukov

Re: Yet another magic symlinks implementation

2006-11-04 Thread Andrey V. Elsukov
On Sat, Nov 04, 2006 at 11:56:29AM +0300, Andrey V. Elsukov wrote: I've ported NetBSD magic symlinks implementation to FreeBSD. The description of magiclinks can been found here: http://www.daemon-systems.org/man/symlink.7.html Patch here: http://butcher.heavennet.ru/patches/kernel

Re: RFC 919 compliance (broadcasts to 255.255.255.255)

2006-08-04 Thread Andrey V. Elsukov
I found a discussion from 2003 about this, but it seems to have trailed off without coming to a conclusion: http://lists.freebsd.org/pipermail/freebsd-net/2003-July/000921.html I've opened a similar PR http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/99558 -- WBR, Andrey V. Elsukov

Re: RFC 919 compliance (broadcasts to 255.255.255.255)

2006-08-04 Thread Andrey V. Elsukov
This PR is in the works and I have produced a first (non-working unfortunately) patch some time ago. I've just come back from two+half week vacation and have to catch up to things again. It is not forgotten. Ok :) Thanks for your work! -- WBR, Andrey V. Elsukov

[RFC][patch] dhclient Classless Static Routes support

2006-06-18 Thread Andrey V. Elsukov
router, 10.1.0.0/19 router 2) default route 3) link routes: 192.168.0.0/24 0.0.0.0, 192.168.1.0/24 0.0.0.0 I don't know what i should make with incorrect data received from DHCP server.. -- WBR, Andrey V. Elsukov ___ freebsd-hackers@freebsd.org mailing list

Re: Keyboard 'fails' in ddb on HP Proliant DL380 under 6.1-RC1

2006-04-27 Thread Andrey V. Elsukov
Karl Pielorz wrote: I've found a problem with ddb - no matter what I do, I can't get the keyboard on the server to work, when it's dropped into ddb. Try to boot in safe mode: http://docs.freebsd.org/cgi/mid.cgi?4437E1AD.7000303 -- WBR, Andrey V. Elsukov

export nullfs via NFS

2005-10-19 Thread Andrey V. Elsukov
have one problem :) When i mount the remote file system, i can't work with it, i get the input/output error. What i can do for export nullfs via NFS? Patch can be found here: http://butcher.heavennet.ru/nullfs_export/ -- WBR, Andrey V. Elsukov ___ freebsd

Re: nonprivileged access to ipfw

2005-10-03 Thread Andrey V. Elsukov
Andrey V. Elsukov wrote: I want a nonprivileged access to ipfw (without sudo, suid and etc..). But RAW sockets restrict this. I have an one idea - a pseudo device /dev/ipfw. I think that realisation of this feature is not difficult task. Now i have some questions. Thanks for more answers :) I

nonprivileged access to ipfw

2005-09-28 Thread Andrey V. Elsukov
:( -- WBR, Andrey V. Elsukov ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: Ancient FreeBSD releases online

2005-07-21 Thread Andrey V. Elsukov
Poul-Henning Kamp wrote: ftp://phk.freebsd.dk ./386BSD/cd1.iso Can you upload MD5 checksums too? -- WBR, Andrey V. Elsukov ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe

Re: kern/80642: [patch] IPFW small patch - new RULE OPTION

2005-06-17 Thread Andrey V. Elsukov
excess: # ipfw add 100 allow ip from 10.0.0.20 to any out xmit internet \ check-bound 200 # ipfw add 200 allow ip from any to 10.0.0.20 in recv internet bound \ 10MB # ipfw add 300 deny ip from any to any More details you can read on http://butcher.heavennet.ru/ -- WBR, Andrey V. Elsukov --- sbin