Re: IPv6 - sobind fails with 49

2013-06-28 Thread Andrey V. Elsukov
} > > Can you try insert here? bzero(&saddr6, sizeof(saddr6)); > saddr6.sin6_family = AF_INET6; -- WBR, Andrey V. Elsukov ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mai

Re: zfsloader triggering reset when interacting with v86int()

2013-05-22 Thread Andrey V. Elsukov
7f) vs hard > drives > (0x80 - 0xff) and we should probably just not prove 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 ___

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

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

2013-04-18 Thread Andrey V. Elsukov
sobind works. > > Any idea what could be going wrong 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 T

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

2013-04-18 Thread Andrey V. Elsukov
ifa->ifa_addr->sa_family=18 & addr->sa_family=28. Even though the interface > is in IPV6 mode its sa_family is not set properly, > continue; > } This tailq contains any addresses assigned to the interface, sa_fimily=18 is for AF_LINK address, so it'

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. E

Re: gpart is junk

2012-09-16 Thread Andrey V. Elsukov
evious FreeBSD versions 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
think this is good idea. Setting 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
use grub loader, afaik it has 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-hacker

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

2012-07-16 Thread Andrey V. Elsukov
ly there is only one problem with ZFS tasting, that can affect users - now we 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&qu

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

2012-07-16 Thread Andrey V. Elsukov
w_disk.c to get disk size and sector size, then i will be able to break something here :) > If you'll find that you don't have to use any ugly hacks there, then good. > But my impression is that it would be easier to stick 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
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 > >

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

2012-06-28 Thread Andrey V. Elsukov
bsdlabel to work with >2TB devices. > MUCH better. DragonFlyBSD has 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/f

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

2012-06-27 Thread Andrey V. Elsukov
u not prevent to attach GEOM_PART_GPT to any providers that are not the disk drive? 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://li

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

2012-06-27 Thread Andrey V. Elsukov
MBR; * teach the boot0cfg command properly write the PMBR; * add new condition to mark GPT as corrupt when it has invalid PMBR. Thus, when you write PMBR with empty partition table with dd(1), the kernel 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
upted table including repairing the PMBR. gpart(8) already > generates a full PMBR when you use 'gpart create' to create a GPT even though > there isn't a GPT object yet. `gpart create` creates only ioctl control request to the GEOM_PART class. GEOM_PART class creates new GPT g

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

2012-06-26 Thread Andrey V. Elsukov
r OS did some changes in your 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: [CFC/CFT] large changes in the loader(8) code

2012-06-26 Thread Andrey V. Elsukov
objects of a GEOM class. It only sends control requests to the kernel. If GPT is not detected, there is no geom objects to manage. And we can't write bootcode with gpart(8). I think that adding such functions to the gpart(8) is not good. Maybe, 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
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. &

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

2012-06-26 Thread Andrey V. Elsukov
consumers except the one test program. But if it isn't that, i can make it compatible. Any comments are welcome. -- WBR, Andrey V. Elsukov signature.asc Description: OpenPGP digital signature

Re: EFI development tools

2012-06-16 Thread Andrey V. Elsukov
; only uses python for build purposes; an effort to import it into the > base system would probably remove all 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 w

Re: GSoC Project: EFI on amd64/i386

2012-05-18 Thread Andrey V. Elsukov
ayer that understands BSDlabels. IA64 might have a solution. > > Then again, 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 __

Re: GSoC Project: EFI on amd64/i386

2012-05-15 Thread Andrey V. Elsukov
might be some problems with ZFS support, because we can use ZFS atop of BSD partition. > Presumably the EFI boot loader 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 loade

Re: GSoC Project: EFI on amd64/i386

2012-05-10 Thread Andrey V. Elsukov
ng to do this? We already can boot via PMBR+gpt[zfs]boot, but EFI loader should 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
tions can be changed to use MI DISK API together with PART API, or maybe even moved 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 ___

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

2012-04-22 Thread Andrey V. Elsukov
ion table handling into MD part. You 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: 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 r

Re: GSoC: EFI on intel

2012-04-03 Thread Andrey V. Elsukov
now if this is still a viable 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 ___

Re: 9-beta1 installer - partition editor

2011-08-30 Thread Andrey V. Elsukov
upports "freebsd-swap" partition type. E.g. MBR 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
ast sector of given device with glabel's metadata. So you potentially 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, Andre

Re: Bugzilla file reported. gnome developers want freebsd help

2011-04-29 Thread Andrey V. Elsukov
there is approved GSoC 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
This is how GEOM tasting works. Do you have any problem except for those messages? What does 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
0 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 Description: OpenPGP digital signature

Re: more gpart/glabel problems

2011-01-14 Thread Andrey V. Elsukov
a in the last sector of the given provider 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://l

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

2011-01-10 Thread Andrey V. Elsukov
want to change "active" attribute when they use "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
rently 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 signatu

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

2010-11-16 Thread Andrey V. Elsukov
tall does check for /rescue/ldconfig and can not find it there. I think attached patch can fix this issue (not tested). -- WBR, Andrey V. Elsukov Index: head/usr.sbin/sysinstall/install.c === --- head/usr.sbin/sysinstall/install.c

Re: Support for WD Advanced Format disks

2010-08-11 Thread Andrey V. Elsukov
few next years, 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
nd physical sector sizes in output of `camcontrol 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
st.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
om a syscall has 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 De

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
x27;t 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 "free

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

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

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

2010-04-20 Thread Andrey V. Elsukov
to boot 9.0-CURRENT amd64 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@free

Re: KLM unloading on error

2010-04-13 Thread Andrey V. Elsukov
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
eldate -- 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
-- 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
241K 97,6G 178K /mnt/var x86/var/crash 18,5K 97,6G 18,5K /mnt/var/crash x86/var/db 25K 97,6G25K /mnt/var/db x86/var/tmp 19K 97,6G 19K /mnt/var/tmp -- WBR, Andrey V. Elsukov ___ freebsd-hackers@freebsd.org mailing list htt

Re: lzma compression/decompression in bsdtar/libarchive?

2008-11-25 Thread Andrey V. Elsukov
or. I 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) -- WB

Re: ATA Security patch to atacontrol

2008-09-29 Thread Andrey V. Elsukov
p://en.wikipedia.org/wiki/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@free

Re: atacontrol broken in 7.1-PR

2008-09-28 Thread Andrey V. Elsukov
d 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
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/dmes

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

2008-08-14 Thread Andrey V. Elsukov
gister 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.o

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_alloc

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-13 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: massive interrupt storm

2008-07-03 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-ha

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]"

Re: [RFC] patch to AHCI device detection code

2008-06-11 Thread Andrey V. Elsukov
m.. I 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

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

[RFC] patch to AHCI device detection code

2008-06-11 Thread Andrey V. Elsukov
to 0h, 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-chip

Re: Adaptec RAID 3805 and FreeBSD 7.0

2008-05-13 Thread Andrey V. Elsukov
er 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 To unsubscribe, s

Re: vkernel & GSoC, some questions

2008-03-15 Thread Andrey V. Elsukov
237.html http://www.dragonflybsd.org/docs/articles/vkernel/vkernel.shtml -- 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
only with UDMA33 speed. But workaround for this problem was commited to CURRENT 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 ___

Re: Remote Kernel Debugging over QEMU?

2008-03-08 Thread Andrey V. Elsukov
hardware requirements, avoid fscking all 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. I

Re: Overlap in PCI memory ranges

2007-12-09 Thread Andrey V. Elsukov
er doesn't 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, An

Re: Overlap in PCI memory ranges

2007-12-06 Thread Andrey V. Elsukov
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 ___ freebsd-hackers@freebsd.org mailing list

Re: Intel D975XBX2 BTX halted

2007-09-24 Thread Andrey V. Elsukov
2) which has a built 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

Re: Remote GDB howto [SOLVED]

2007-09-03 Thread Andrey V. Elsukov
db -r /dev/cuad0 /path/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: Remote GDB howto

2007-09-03 Thread Andrey V. Elsukov
You should have some 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.o

Remote GDB howto

2007-09-03 Thread Andrey V. Elsukov
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@freebsd.org mailing list http

Re: questions on nonsleepable lock

2007-08-15 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: 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, An

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
>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

Re: Yet another magic symlinks implementation

2006-11-05 Thread Andrey V. Elsukov
links i see only one scope - build enviroment. -- 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: Yet another magic symlinks implementation

2006-11-05 Thread Andrey V. Elsukov
. I've tried port 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.fr

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:

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. El

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, And

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, And

[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

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, An

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 ___ fr

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
_XXX option? Thanks and sorry for my english :( -- 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
access after limit 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, Andre