unknown*:*
hi, I just updated my -CURRENT, compiled kernel with PNPBIOS and found a lot of unknown items in dmesg output. Should I submit my PNP devices IDs ? And who is PNP related part maintainer ? PS: Also I got strange error about `device slot allocation' for acd0. What the trouble I got ? As I understand it's something related to DEVFS. Copyright (c) 1992-1999 The FreeBSD Project. Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. FreeBSD 4.0-CURRENT #3: Mon Jan 3 11:36:10 MSK 2000 [EMAIL PROTECTED]:/usr/src/HEAD/src/sys/compile/SPIDER Timecounter "i8254" frequency 1193182 Hz CPU: Pentium II/Celeron (334.09-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x660 Stepping = 0 Features=0x183f9ff real memory = 67108864 (65536K bytes) avail memory = 61665280 (60220K bytes) Preloaded elf kernel "kernel" at 0xc0339000. DEVFS: ready for devices VESA: v2.0, 4096k memory, flags:0x1, mode table:0xc00c0e38 (ce38) VESA: S3 Incorporated Trio3D. Pentium Pro MTRR support enabled md0: Malloc disk npx0: on motherboard npx0: INT 16 interface apm0: on motherboard apm: found APM BIOS v1.2, connected at v1.2 pcib0: on motherboard pci0: on pcib0 pcib1: at device 1.0 on pci0 pci1: on pcib1 vga-pci0: at device 0.0 on pci1 isab0: at device 7.0 on pci0 isa0: on isab0 ata-pci0: at device 7.1 on pci0 ata-pci0: Busmastering DMA supported ata0 at 0x01f0 irq 14 on ata-pci0 pci0: Intel 82371AB/EB (PIIX4) USB controller (vendor=0x8086, dev=0x7112) at 7.2 irq 10 chip1: at device 7.3 on pci0 ed0: irq 12 at device 9.0 on pci0 ed0: supplying EUI64: 00:00:21:ff:fe:c7:5b:a7 ed0: address 00:00:21:c7:5b:a7, type NE2000 (16 bit) atkbdc0: at port 0x60-0x6f on isa0 atkbd0: irq 1 on atkbdc0 vga0: at port 0x3b0-0x3df iomem 0xa-0xb on isa0 sc0: on isa0 sc0: VGA <16 virtual consoles, flags=0x200> fdc0: at port 0x3f0-0x3f7 irq 6 drq 2 on isa0 fdc0: FIFO enabled, 8 bytes threshold fd0: <1440-KB 3.5" drive> on fdc0 drive 0 sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16550A sio1 at port 0x2f8-0x2ff irq 3 on isa0 sio1: type 16550A unknown: can't assign resources unknown0: at port 0-0xf,0x81-0x83,0x87,0x89-0x8b,0x8f-0x91,0xc0-0xdf drq 4 on isa0 unknown1: at port 0x40-0x43 irq 0 on isa0 unknown2: at port 0x70-0x71 irq 8 on isa0 unknown: can't assign resources unknown: can't assign resources unknown3: at port 0xf0-0xff irq 13 on isa0 unknown4: at iomem 0-0x9,0xfffe-0x,0x10-0x3ff on isa0 unknown5: at iomem 0xf-0xf3fff,0xf4000-0xf7fff,0xf8000-0xfbfff,0xfc000-0xf on isa0 unknown6: at port 0x4d0-0x4d1,0xcf8-0xcff,0x480-0x48f,0x4000-0x403f,0x5000-0x501f on isa0 unknown7: at port 0x208-0x20f on isa0 unknown: can't assign resources unknown: can't assign resources unknown8: at port 0x378-0x37f irq 7 on isa0 unknown: can't assign resources pcm0: at port 0x220-0x22f,0x530-0x537,0x388-0x38b,0x330-0x331,0x370-0x371 irq 5 drq 0,1 on isa0 unknown9: at port 0x201 on isa0 unknown10: at port 0x100-0x107 on isa0 unknown11: at port 0x1e0-0x1e7,0x3e6 irq 11 on isa0 DEVFS: ready to run ad0: ATA-4 disk at ata0 as master ad0: 6149MB (12594960 sectors), 13328 cyls, 15 heads, 63 S/T, 512 B/S ad0: 16 secs/int, 1 depth queue, UDMA33 Device acd0a: name slot allocation failed (Errno=17) ^^ Device acd0c: name slot allocation failed (Errno=17) ^^ acd0: <24X CD-ROM/VER 1.0E> CDROM drive at ata0 as slave acd0: read 687KB/s (3093KB/s), 128KB buffer, UDMA33 acd0: Reads: CD-DA stream acd0: Audio: play, 255 volume levels acd0: Mechanism: ejectable tray acd0: Medium: CD-ROM 120mm data disc loaded, unlocked Mounting root from ufs:/dev/wd0s1a ed0: starting DAD for fe80:0001::0200:21ff:fec7:5ba7 ed0: DAD complete for fe80:0001::0200:21ff:fec7:5ba7 - no duplicates found -- /* Alexey Zelkin && [EMAIL PROTECTED]*/ /* Tavric National University && [EMAIL PROTECTED] */ /* http://www.ccssu.crimea.ua/~phantom && [EMAIL PROTECTED] */ To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
vn device strange behaviour
hi, I just discovered some strange points about using vn devices (files) as swap devices. I have placed below some output gathered with script(1) and now some comments. 1) I can easy unconfigure vn device which already mounted as swap device and then remove swapfile without any problems. I not sure about behaviour of the swapper when it will try to allocate swap from /dev/vn0c. 2) When I am creating small file (about 100k) and try to mount it as swap device swapinfo(8) output looks broken. 3) I could not mount three and more vn devices as swap devices. BTW, I also got strange results once (but I could not reporoduce it later): swapinfo(8) shown that I have three swap devices mounted: /dev/wd0s1b, /dev/rvn0c and /dev/#46:10. What's that ? I'll try to reproduce it again, but ... Comments ? - 1) # dd if=/dev/zero of=swapfile count=1 bs=50m 1+0 records in 1+0 records out 52428800 bytes transferred in 8.401941 secs (6240082 bytes/sec) # vnconfig -e /dev/vn0c swapfile swap # swapon /dev/vn0c # swapinfo Device 1K-blocks UsedAvail Capacity Type /dev/wd0s1b 32640 26403 8%Interleaved /dev/rvn0c 51072051072 0%Interleaved Total 83712 264081072 3% # vnconfig -u /dev/vn0c # swapinfo Device 1K-blocks UsedAvail Capacity Type /dev/wd0s1b 32640 26403 8%Interleaved /dev/rvn0c 51072051072 0%Interleaved Total 83712 264081072 3% # vnconfig -e /dev/vn0c swapfile swap # swapon /dev/vn0c swapon: /dev/vn0c: device already in use # vnconfig -u /dev/vn0c # rm swapfile # swapinfo Device 1K-blocks UsedAvail Capacity Type /dev/wd0s1b 32640 26403 8%Interleaved /dev/rvn0c 51072051072 0%Interleaved Total 83712 264081072 3% # 2) # dd if=/dev/zero of=smallswap count=1 bs=100k 1+0 records in 1+0 records out 102400 bytes transferred in 0.003174 secs (32261453 bytes/sec) # vnconfig -c /dev/vn1c smallswap swap # swapon /dev/vn1c # swapinfo Device 1K-blocks UsedAvail Capacity Type /dev/wd0s1b 32640 221230428 7%Interleaved /dev/rvn1c-28 -280 100%Interleaved Total 83684 218481500 3% # 3) # swapinfo Device 1K-blocks UsedAvail Capacity Type /dev/wd0s1b 32640032640 0%Interleaved /dev/rvn0c 51072051072 0%Interleaved /dev/rvn1c 51072051072 0%Interleaved Total 1347840 134784 0% # vnconfig -c /dev/vn2c smallswap # swapon /dev/vn2c swapon: /dev/vn2c: Invalid argument # -- /* Alexey Zelkin && [EMAIL PROTECTED]*/ /* Tavric National University && [EMAIL PROTECTED] */ /* http://www.ccssu.crimea.ua/~phantom && [EMAIL PROTECTED] */ To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: vn device strange behaviour
hi, On Tue, Jan 11, 2000 at 05:41:59PM -0800, Matthew Dillon wrote: > :I just discovered some strange points about using vn devices (files) as > :swap devices. > : > :I have placed below some output gathered with script(1) and now > :some comments. > : > :1) I can easy unconfigure vn device which already mounted as swap device > :and then remove swapfile without any problems. I not sure about behaviour > :of the swapper when it will try to allocate swap from /dev/vn0c. > : > :2) When I am creating small file (about 100k) and try to mount it as swap > :device swapinfo(8) output looks broken. > : > :3) I could not mount three and more vn devices as swap devices. > : > :BTW, I also got strange results once (but I could not reporoduce it later): > :swapinfo(8) shown that I have three swap devices mounted: /dev/wd0s1b, > :/dev/rvn0c and /dev/#46:10. What's that ? I'll try to reproduce it again, > :but ... > : > :Comments ? > > Don't unconfigure a VN device mounted as swap unless you want your > system to die a horrible death. It shouldn't allow it to happen, but > it does and that's a bug. Yep, I think swapon(8) should fail in this case with something like "File is busy". > The first 128K of any swap partition is left alone by the swap subsystem > in order to ensure that the disklabel (if any) is not overwritten. Do > not configure tiny swap spaces -- apart from being useless they will > cause swapinfo to print confusing output. Why swapon(8) not handling that situation ? I mean check for vn device and its file size and then generating fatal error if its size less than 128k. Is it possible ? > By default the kernel is configured to support 4 SWAP partitions. How can I enable more swaps ? > Therefore you can only configure a maximum of 4 SWAP partiions. You > can change this in the kernel config. Note however that setting the > number arbitrarily high will cause a huge amount of KVM to be wasted. > Four is usually enough for anyone. BTW, I have described following porblem: I have one physical swap slice and tried to create three additional swapfiles. But I could not. System allowed me to create only 2 swapfiles, not 3 as you noted above. -- /* Alexey Zelkin && [EMAIL PROTECTED]*/ /* Tavric National University && [EMAIL PROTECTED] */ /* http://www.ccssu.crimea.ua/~phantom && [EMAIL PROTECTED] */ To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: Localization and locale()?
hi, In article <[EMAIL PROTECTED]> you wrote: JS> I am currently writing several programs that, for one reason or another, JS> need to be localized in various sections. On Solaris, I can see what JS> choices I have by running 'locale -a'. However, all my attempts to find a JS> similar function on FreeBSD 3.4 have failed. ls -l /usr/share/locale JS> I would have searched the mailing list archives, but they are, of course, JS> currently down. Also, my search through the handbook also only showed JS> examples for Russian and German encoding (section 12). JS> For my specific problem, I need access to the following three character JS> sets: JS> es_ES.ISO8859-1 es_ES.ISO_8859-1 JS> pt.PT.ISO8859-1 pt_PT.ISO_8859-1 JS> en_US.ISO8859-1 en_US.ISO_8859-1 JS> And within my program (Perl), I need to use the setlocale() function JS> imported from the POSIX module (actually, from the locale_h header file). JS> If I run this on FreeBSD, will the program die on me due to the apparent JS> lack of a locale function? If one is available, where can I get it from? I just checked -- localhe.h is present in /usr/include directory. JS> And finally, if these character sets are not installed on my system, what is JS> the best way to go about getting them on there? Any help or insight would JS> be appreciated, so thanks! -- /* Alexey Zelkin && [EMAIL PROTECTED]*/ /* Tavric National University && [EMAIL PROTECTED] */ /* http://www.ccssu.crimea.ua/~phantom && [EMAIL PROTECTED] */ To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
MSGBUF_SIZE
hi, I propose to increase default value of MSGBUF_SIZE. Yes, I know that current size is 8k, but today I saw that my machine (PII-300/IDE HDD 4Gb/IDE CD/PnP sound card) started in VERBOSE mode generated about 10k of bootstrap messages. I not sure that I want to specify "options MSGBUF_SIZE=16384" in my kernel to see complete output of dmesg(8). Anyway it's not problem for me, but what about other people ? -- /* Alexey Zelkin && [EMAIL PROTECTED]*/ /* Tavric National University && [EMAIL PROTECTED] */ /* http://www.ccssu.crimea.ua/~phantom && [EMAIL PROTECTED] */ To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
boot2 problem
hi, Just found problem with boot loader. Attached "FAQ" will describe problem :) Q: What I want? A: Boot in verbose mode Q: What I do ? A: On boot prompt type "-v" Q: So ? A: Nothing (system is booting in normal mode) Q: What I do then ? A: On boot prompt type "kernel -v" Q: So ? A: All works fine (system is booting in verbose mode) Appendix: FreeBSD spider.scorpion.crimea.ua 4.0-CURRENT FreeBSD 4.0-CURRENT #1: Thu Oct 14 13:41:11 MSD 1999 [EMAIL PROTECTED]:/usr/src/HEAD/src/sys/compile/SPIDER i386 -- /* Alexey Zelkin && [EMAIL PROTECTED]*/ /* Tavric National University && [EMAIL PROTECTED] */ /* http://www.ccssu.crimea.ua/~phantom && [EMAIL PROTECTED] */ To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: boot2 problem
hi, On Thu, Oct 14, 1999 at 11:06:51AM -0400, Sean O'Connell wrote: > > Just found problem with boot loader. Attached "FAQ" will describe problem :) [dd] > Alternatively, you can interrupt the boot process and enter > set boot_verbose > at the disk0> prompt (or whatever it is). Thanks :) I know. PS: Can someone with more or less fresh -current repeat this ? If so, I'll file PR. -- /* Alexey Zelkin && [EMAIL PROTECTED]*/ /* Tavric National University && [EMAIL PROTECTED] */ /* http://www.ccssu.crimea.ua/~phantom && [EMAIL PROTECTED] */ To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: boot2 problem
hi, On Fri, Oct 15, 1999 at 12:57:26AM -0700, Mike Smith wrote: > That's correct. '-v' at the boot: prompt does nothing. But '/kernel' is default kernel name, so "-v" will be option to default kernel name (at least FreeBSD 1.1.5.1/2.* does that :-) ). > > Q: What I do then ? > > A: On boot prompt type "kernel -v" > > > > Q: So ? > > A: All works fine (system is booting in verbose mode) > > '-v' is an argument to the kernel. Specify it as such. 8) If we have default kernel name then why I can't pass parameters there and have to excplicitly type kernel name ? -- /* Alexey Zelkin && [EMAIL PROTECTED]*/ /* Tavric National University && [EMAIL PROTECTED] */ /* http://www.ccssu.crimea.ua/~phantom && [EMAIL PROTECTED] */ To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: boot2 problem
hi, On Fri, Oct 15, 1999 at 03:09:44AM -0700, Bill Swingle wrote: > > > > Q: What I do then ? > > > > A: On boot prompt type "kernel -v" > > > > > > > > Q: So ? > > > > A: All works fine (system is booting in verbose mode) > > > > > > '-v' is an argument to the kernel. Specify it as such. 8) > > > > If we have default kernel name then why I can't pass parameters there > > and have to excplicitly type kernel name ? > > You don't have to explicitly specify the kernel name. If the default > kernel has already been loaded you just have to tell it what to do. > > 'boot -v' You're talking about loader(8) boot stage and I about boot2 stage (before loader(8) execution) > It's pretty consistant with other OS's boot prompt. Ok, I see that I'll not get answer to my question except "do it otherwise". Sorry. -- /* Alexey Zelkin && [EMAIL PROTECTED]*/ /* Tavric National University && [EMAIL PROTECTED] */ /* http://www.ccssu.crimea.ua/~phantom && [EMAIL PROTECTED] */ To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: FreeBSD security auditing project.
hi, MM> I have been charged with the duty of ensuring that FreeBSD gets a MM> security audit that has the credibility of OpenBSD's. What's going on with FreeBSD Auditing Project (http://www.FreeBSD.org/auditors.html) ? Is it still alive ? I think this task is task of this project members. Or will be ;-) MM> I'll get a mailing list going if this is deemed necessary. audit-*@FreeBSD.org ? Or create general list [EMAIL PROTECTED] ? -- /* Alexey Zelkin && [EMAIL PROTECTED]*/ /* Tavric National University && [EMAIL PROTECTED] */ /* http://www.ccssu.crimea.ua/~phantom && [EMAIL PROTECTED] */ To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
make buildworld (4->5) failed
hi, Just experienced on 4.0-RELEASE and 4.1-STABLE (two days ago) following error when tried to build current world. ===> secure/usr.bin/scp cc -O -pipe -DNO_IDEA -I/usr/obj/usr/src/i386/usr/include -c /usr/src/secure/usr.bin/scp/../../../crypto/openssh/scp.c cc -O -pipe -DNO_IDEA -I/usr/obj/usr/src/i386/usr/include -o scp scp.o -lcrypto -lutil -lz -L/usr/obj/usr/src/secure/usr.bin/scp/../../lib/libssh -lssh gzip -cn /usr/src/secure/usr.bin/scp/../../../crypto/openssh/scp.1 > scp.1.gz ===> secure/usr.bin/ssh cc -O -pipe -DNO_IDEA -I/usr/obj/usr/src/i386/usr/include -DXAUTH_PATH=/usr/X11R6/bin/xauth -c /usr/src/secure/usr.bin/ssh/../../../crypto/openssh/ssh.c /usr/src/secure/usr.bin/ssh/../../../crypto/openssh/ssh.c: In function `x11_get_proto': /usr/src/secure/usr.bin/ssh/../../../crypto/openssh/ssh.c:685: syntax error before `/' *** Error code 1 Following patch fixed this for me: Index: Makefile === RCS file: /home/ncvs/src/secure/usr.bin/ssh/Makefile,v retrieving revision 1.8 diff -u -r1.8 Makefile --- Makefile2000/08/23 09:39:20 1.8 +++ Makefile2000/08/26 10:17:10 @@ -37,7 +37,7 @@ .include .if defined(X11BASE) -CFLAGS+= -DXAUTH_PATH=${X11BASE}/bin/xauth +CFLAGS+= -DXAUTH_PATH=\"${X11BASE}/bin/xauth\" .endif LDADD+=-L${.OBJDIR}/../../lib/libssh -lssh -lcrypto -lutil -lz -- /* Alexey Zelkin && [EMAIL PROTECTED] */ /* Tavric National University && [EMAIL PROTECTED]*/ /* Sysadmin/Developer && [EMAIL PROTECTED] */ To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Request for review: locale aliases support for libc
hi, please review and comment -- This is set of patches for libc which allow user to use locale aliases. Currently it's only possible to use locale aliases by creating one more symbolic link in /usr/share/locale, i.e. if I want to have locale named "ru" I have to: ln -s /usr/share/locale/ru_RU.KOI8-R /usr/share/locale/ru With this set of patches we need no anymore to create any symbolic links, but edit /usr/share/locale/locale.aliases file. Format of this file is quite simple: All lines which starting from '#' or empty lines are ignored. Example locale.aliases file is included to this patchset. -- /* Alexey Zelkin && [EMAIL PROTECTED] */ /* Tavric National University && [EMAIL PROTECTED]*/ /* Sysadmin/Developer && [EMAIL PROTECTED] */ libc_locale_alias.tgz
Re: Request for review: locale aliases support for libc
hi, I have updated patchset. libc/nls part is comming soon. * Synchronize behaviours for LOCALE_ALIASES_PATH and LOCALE_PATH handling. If attempt to open customized locale.aliases (declared by env variable LOCALE_ALIASES_PATH) is failed -- don't try to use default system locale.aliases instead. * Fix potential security hole noted by ache@ -- use issetugid(). * Use stat() instead of lstat() for locale files existence checking. * Slight optimization -- /* Alexey Zelkin && [EMAIL PROTECTED] */ /* Tavric National University && [EMAIL PROTECTED]*/ /* Sysadmin/Developer && [EMAIL PROTECTED] */ locale_aliases_patchset2.tgz
Re: Request for review: locale aliases support for libc
hi, On Tue, Aug 29, 2000 at 07:00:47PM +0400, Andrey A. Chernov wrote: > Why you always check LC_CTYPE existance only? It may not exist but other > locale parts, f.e. LC_TIME are still valid. It is not required to have > LC_CTYPE for locale. I just randomly selected one of files which is exists in locale directory and my check have only target to understand -- is given locale name valid locale or its alias. > You need to check LC_* existence corresponding to setlocale() request > made. What to check if LC_ALL request is given ? -- /* Alexey Zelkin && [EMAIL PROTECTED] */ /* Tavric National University && [EMAIL PROTECTED]*/ /* Sysadmin/Developer && [EMAIL PROTECTED] */ To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: Request for review: locale aliases support for libc
hi, On Tue, Aug 29, 2000 at 04:35:04PM +0100, Konstantin Chuguev wrote: > > > You need to check LC_* existence corresponding to setlocale() request > > > made. > > > > What to check if LC_ALL request is given ? > LC_ALL overrides all other LC_* variables. If it is set, there is no need to > check anything else. > Then you should check all other LC_*, and then LANG. As I understand you're answering in concept, but we are talking about exact case right now (see may patches attached to previous letter) I am trying to realize "is requested locale physicaly present on this system" or it's just an alias. Currently I am just testing presence of /usr/share/locale/$requested_locale/LC_CTYPE and make decision depends on stat(2) return value. -- /* Alexey Zelkin && [EMAIL PROTECTED] */ /* Tavric National University && [EMAIL PROTECTED]*/ /* Sysadmin/Developer && [EMAIL PROTECTED] */ To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: Request for review: locale aliases support for libc
hi, On Tue, Aug 29, 2000 at 05:19:56PM +0100, Konstantin Chuguev wrote: > Perhaps you should check presence of any of the following files in a locale > directory: > LC_COLLATE, LC_CTYPE, LC_MESSAGES, LC_MONETARY, LC_TIME, LC_NUMERIC ? :) > and proceed if any of them has been found... Sure. I do it already as you can see from patches. -- /* Alexey Zelkin && [EMAIL PROTECTED] */ /* Tavric National University && [EMAIL PROTECTED]*/ /* Sysadmin/Developer && [EMAIL PROTECTED] */ To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
current.freebsd.org
hi, Is there any reason why 5.0-RELEASE snapshots are not building/uploading to current.freebsd.org for about 3 months ? Latest i386 snapshot is 20010618. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: setlocale() fails
hi, Yep! You was completely correct, I made mistake in mostly cosmetics "style(9)" commit :-( Thanks for spoting that! BTW, problem should be fixed as side effect of my commit made some time ago related to __part_load_locale() interface change. Check it please. On Wed, Feb 14, 2001 at 12:26:39AM +0900, Akinori MUSHA wrote: > At Tue, 13 Feb 2001 20:01:28 +0600 (NOVT), > [EMAIL PROTECTED] wrote: > > Yes this patch permits 'setlocale(LC_ALL, "")' to return > > success, but it is not solve the problem totally. It seems to me > > that all comparisons of the return value from '__part_load_locale' > > in the 'lmessages.c', 'lnumeric.c' and 'lmonetary.c' are reversed now > > and your patch correct only one of them (but this one prevents > > setlocale to work for all locales but "C" and "POSIX"). > > All reversed? It seems to me at least the comparison in the line 65 > of lmessages.c is correct, and the ones in lnumeric.c and lmonetary.c > look fine as well. Let's have your say, Alexey! ;) > > -- > / > /__ __Akinori.org / MUSHA.org >/ ) ) ) ) / FreeBSD.org / Ruby-lang.org > Akinori MUSHA aka / (_ / ( (__( @ iDaemons.org / and.or.jp > > "We're only at home when we're on the run, on the wing, on the fly" -- /* Alexey Zelkin && [EMAIL PROTECTED] */ /* Tavric National University && [EMAIL PROTECTED]*/ /* Sysadmin/Developer && [EMAIL PROTECTED] */ To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
kld problem ? (was: Re: MSDOSFS wastes 256k when nothing is mounted!)
hi, On Sun, Feb 09, 2003 at 08:39:59PM +0100, Poul-Henning Kamp wrote: > /*ARGSUSED*/ > int > msdosfs_init(vfsp) > struct vfsconf *vfsp; > { > dehashtbl = hashinit(desiredvnodes/2, M_MSDOSFSMNT, &dehash); > mtx_init(&dehash_mtx, "msdosfs dehash", NULL, MTX_DEF); > return (0); > } BTW, it reminds me a problem I found last month. If you've MSDOSFS compiled in kernel and try to load msdosfs.ko with loader -- then you're 100% will hit into 'mutex already initialized' (or something like that) panic later in boot process. (i.e. msdosfs_init() is called twice for some reason) I not sure if it's applicable to KLDs at all or to msdosfs only. > Somebody: please fix so this doesn't suck. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: HEADSUP: if_xname changes incoming
hi, On Mon, Nov 03, 2003 at 11:05:30AM -0800, Brooks Davis wrote: > On Mon, Nov 03, 2003 at 08:02:01PM +0100, Dimitry Andric wrote: > > On 2003-10-31 at 21:29:42 Brooks Davis wrote: > > > > > Ok, we're mostly clear. World builds, but I've had to disconnect > > > ipfstat, ipnat, and ipftest from the build because they need > > > modifications and are on vendor branch. IP Filter users may wish to > > > wait to upgrade until this issue is resolve or they may apply the > > > following patch locally. > > > > Could you or the ipfilter maintainer (Darren?) please give some ping > > on the list, when it is in order again? Thanks in advance. :) > > That's the plan once someone does the vendor import. Actually if you get an approvement from Darren and aggrement to include your patch to next version ipfilter, you may commit your patch directly to vendor branch. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "[EMAIL PROTECTED]"
2 tcp/ip witness warnings
hi, Expirementing today with netgraph sockets hit into these two cases: 1: lock order reversal 1st 0xc27658b4 inp (inp) @ /home/phantom/src5/sys/netinet/tcp_input.c:640 2nd 0xc031832c tcp (tcp) @ /home/phantom/src5/sys/netinet/tcp_usrreq.c:621 Stack backtrace: backtrace(c02e9301,c031832c,c02eef23,c02eef23,c02f0154) at backtrace+0x17 witness_lock(c031832c,8,c02f0154,26d,0) at witness_lock+0x66d _mtx_lock_flags(c031832c,0,c02f0154,26d,0) at _mtx_lock_flags+0xb1 tcp_usr_rcvd(c273a200,80,c02e8f74,c294db00,3b9aca00) at tcp_usr_rcvd+0x30 soreceive(c273a200,0,cd3259f0,cd3259e8,0) at soreceive+0x89a ng_ksocket_incoming2(c2960500,0,c273a200,4,c26975d8) at ng_ksocket_incoming2+0x2 65 ng_apply_item(c2960500,c26975c0,c294bcee,7d7,c02e8f74) at ng_apply_item+0x4af ng_snd_item(c26975c0,0,cd325adc,c2960500,c273a24c) at ng_snd_item+0x614 ng_send_fn(c2960500,0,c2549ac0,c273a200,4) at ng_send_fn+0x1b7 ng_ksocket_incoming(c273a200,c2960500,4,c0ee7168,0) at ng_ksocket_incoming+0x2f sowakeup(c273a200,c273a24c,c02ef894,822,5000) at sowakeup+0x97 tcp_input(c0ee7100,14,c01acbbd,c033b500,1) at tcp_input+0x22bb ip_input(c0ee7100,0,c02ee77d,e9,c0eb99c0) at ip_input+0x7d6 swi_net(0,0,c02e43b0,217,c0ec35f4) at swi_net+0x112 ithread_loop(c0ec2100,cd325d48,c02e4219,35f,5ed54) at ithread_loop+0x182 fork_exit(c01a3b40,c0ec2100,cd325d48) at fork_exit+0xc4 fork_trampoline() at fork_trampoline+0x1a 2: malloc() of "16" with the following non-sleepablelocks held: exclusive sleep mutex inp r = 0 (0xc2765194) locked @ /home/phantom/src5/sys/net inet/tcp_input.c:640 exclusive sleep mutex tcp r = 0 (0xc031832c) locked @ /home/phantom/src5/sys/net inet/tcp_usrreq.c:480 exclusive sleep mutex netisr lock r = 0 (0xc0360260) locked @ /home/phantom/src5 /sys/net/netisr.c:215 db> tr Debugger(c02d6d9c,cd32587c,3,cd32587c,c0313240) at Debugger+0x54 witness_warn(5,0,c02f6550,c02dc43f,246) at witness_warn+0x1a0 uma_zalloc_arg(c083aa20,0,102,1f6,c02f0154) at uma_zalloc_arg+0x53 malloc(10,c0313240,102,c2760720,cd325904) at malloc+0xd4 in_sockaddr(0,cd3258f4,c02f0154,1f6,0) at in_sockaddr+0x29 tcp_usr_accept(c273a100,cd32593c,cd32594c,c254a013,c273a100) at tcp_usr_accept+0x13a soaccept(c273a100,cd32593c,132,64,4) at soaccept+0x3f ng_ksocket_finish_accept(c2a9fd00,0,7fd,0,cd325988) at ng_ksocket_finish_accept+0x73 ng_ksocket_incoming2(c294d500,0,c273be00,4,c2943d58) at ng_ksocket_incoming2+0x1e0 ng_apply_item(c294d500,c2943d40,c2981cee,7d7,c02e8f74) at ng_apply_item+0x4af ng_snd_item(c2943d40,0,c02f0154,c294d500,c273be4c) at ng_snd_item+0x614 ng_send_fn(c294d500,0,c2549ac0,c273be00,4) at ng_send_fn+0x1b7 ng_ksocket_incoming(c273be00,c294d500,4,c273a100,c273be00) at ng_ksocket_incoming+0x2f sowakeup(c273be00,c273be4c,0,c298dbb0,cd325b74) at sowakeup+0x97 sonewconn(c273be00,2,c033c378,c0ec4c9c,d71d0300) at sonewconn+0x199 syncache_socket(c298dbb0,c273be00,c0ed2e00,c267b528,c27601c8) at syncache_socket+0x1f syncache_expand(cd325b74,c0ed2e68,cd325b70,c0ed2e00,5000) at syncache_expand+0x98 tcp_input(c0ed2e00,14,c01acbbd,c033b500,1) at tcp_input+0x676 ip_input(c0ed2e00,0,c02ee77d,e9,c0eb99c0) at ip_input+0x7d6 swi_net(0,0,c02e43b0,217,c0ec35f4) at swi_net+0x112 ithread_loop(c0ec2100,cd325d48,c02e4219,35f,5ed54) at ithread_loop+0x182 fork_exit(c01a3b40,c0ec2100,cd325d48) at fork_exit+0xc4 fork_trampoline() at fork_trampoline+0x1a --- trap 0x1, eip = 0, esp = 0xcd325d7c, ebp = 0 --- To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: Native JDK with libthr/libkse
On Sat, May 31, 2003 at 01:45:22AM -0400, Daniel Eischen wrote: > On Sat, 31 May 2003, Norikatsu Shigemura wrote: > > > I am testing about JDK1.4.1/1.3.1 with libthr/libkse using > > /etc/libmap.conf. > > > > 1. JDK1.3.1/libthr is not work. java is stop. > > 2. JDK1.3.1/libkse is not work. java is stop. > > 3. JDK1.4.1/libthr is not work. java is stop. > > 4. JDK1.4.1/libkse is good work. > > - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - > > $ /usr/local/jdk1.4.1/bin/java -jar > > /usr/local/jdk1.4.1/demo/jfc/Java2D/Java2Demo.jar > > May 31, 2003 10:33:14 AM java.util.prefs.FileSystemPreferences$3 run > > WARNING: Could not create system preferences directory. System preferences are > > unusable. > > May 31, 2003 10:33:45 AM java.util.prefs.FileSystemPreferences > > checkLockFile0ErrorCode > > WARNING: Could not lock System prefs.Unix error code 136418560. > > May 31, 2003 10:33:45 AM java.util.prefs.FileSystemPreferences syncWorld > > WARNING: Couldn't flush system prefs: java.util.prefs.BackingStoreException: > > Couldn't get file lock. > > May 31, 2003 10:34:15 AM java.util.prefs.FileSystemPreferences > > checkLockFile0ErrorCode > > WARNING: Could not lock System prefs.Unix error code 136418560. > > May 31, 2003 10:34:15 AM java.util.prefs.FileSystemPreferences syncWorld > > WARNING: Couldn't flush system prefs: java.util.prefs.BackingStoreException: > > Couldn't get file lock. > > May 31, 2003 10:34:45 AM java.util.prefs.FileSystemPreferences > > checkLockFile0ErrorCode > > WARNING: Could not lock System prefs.Unix error code 136418560. > > May 31, 2003 10:34:45 AM java.util.prefs.FileSystemPreferences syncWorld > > WARNING: Couldn't flush system prefs: java.util.prefs.BackingStoreException: > > Couldn't get file lock. > > : > > - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - > > What are the above error messages? Sorry, I've never been able to > build native java for FreeBSD. Ignore them. They are related to non-writable directory there swing attempts to save properties file. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: fatal: ssh_msg_send: write
hi, I not sure in recent commits, but I have same "error" after finishing each command which connects to my -CURRENT's sshd (mostly scp). My -CURRENT is about month old :-( On Sun, Dec 15, 2002 at 11:26:41PM -0600, Christopher Schulte wrote: > At 08:31 PM 12/15/2002 -0800, David Yeske wrote: > >Anyone else having issues with sshd on current? > > > >Dec 15 23:23:24 stuff sshd[843]: fatal: ssh_msg_send: write > > Yup, on a userland I built today. I see a few sshd commits > yesterday, relating to pam. Probably broke thereabouts... ? > > -- > Christopher Schulte > http://www.schulte.org/ > Do not un-munge my @nospam.schulte.org > email address. This address is valid. > > > To Unsubscribe: send mail to [EMAIL PROTECTED] > with "unsubscribe freebsd-current" in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message