Re: Learning C Programming
On Fri, Jun 22, 2012 at 10:58 AM, Peter J. Philipp p...@centroid.eu wrote: This is interesting KR requires some knowledge about general programming concepts, I couldn't agree more considering how I struggled with KR. Yes, that's true with me as well. I couldn't grok KR no matter how hard I tried it until I got a simple book for beginners (in the Ukrainian Language, a 1993 edition). After that I just read KR through like a fiction book, I understood everything at once from there, and C has become my favorite programming language forever. -- ### Coonardoo - Криничка у тіні / The Well In The Shadow / Le Puits Dans L'Ombre ###
Re: Learning C Programming
On Thu, Jun 21, 2012 at 8:55 PM, Amit Kulkarni amitk...@gmail.com wrote: Talk about learning C Programming and the KR book being a good one. Is this the book? http://www.amazon.com/C-Programming-Language-2nd-Edition/dp/0131103628 yes it is, and i am surprised it is ~ $50. it is such a small book. Yeah, that's too much. On eBay it's at least twice as cheaper. -- ### Coonardoo - Криничка у тіні / The Well In The Shadow / Le Puits Dans L'Ombre ###
Re: ypldap, ypbind at boot
On Wed, Apr 25, 2012 at 4:48 PM, Ganguin Michel michel.gang...@nagra.com wrote: Hi, [cut] server after a timeout). Is it possible to setup ypbind and ypldap so that even if the ldap server is not available I'm able to login with the local users either by having the login prompt on the console or by being able to ssh in? Thanks Michel On FreeBSD there is /etc/nsswitch.ldap in which you could say, for example: --- passwd: files ldap group: files ldap shells: files ldap # consult DNS first, we will need it to resolve the LDAP host. (If we # can't resolve it, we're in infinite recursion, because libldap calls # gethostbyname(). Careful!) hosts: files dns ldap # LDAP is nominally authoritative for the following maps. services: ldap [NOTFOUND=return] files networks: ldap [NOTFOUND=return] files protocols: ldap [NOTFOUND=return] files rpc:ldap [NOTFOUND=return] files ethers: ldap [NOTFOUND=return] files # no support for netmasks, bootparams, publickey yet. netmasks: files bootparams: files publickey: files automount: files # I'm pretty sure nsswitch.conf is consulted directly by sendmail, # here, so we can't do much here. Instead, use bbense's LDAP # rules ofr sendmail. aliases:files sendmailvars: files # Note: there is no support for netgroups on Solaris (yet) #netgroup: ldap [NOTFOUND=return] files netgroup: files --- It's my FreeBSD file, but I have never tried running user ldap authorizing on OpenBSD, can't say more. -- ### Coonardoo - PQP8P=P8QP:P0 Q QQP=Q / The Well In The Shadow / Le Puits Dans L'Ombre ###
Re: Google SoC 2012 is accepting open source organisations
I was still looking for time to ask them about something similar, because they are listed as supporter when in fact their page is clearly Linux-only. Afraid this is only due to a wish to get higher in the search result list. I've met such lame clients a lot before. jirib -- ### Coonardoo - PQP8P=P8QP:P0 Q QQP=Q / The Well In The Shadow / Le Puits Dans L'Ombre ###
Re: Unbound in base
On Tue, Feb 14, 2012 at 10:09 AM, Peter van Oord van der Vlies peter.vanoordvandervl...@itisit.nl wrote: Hello, Why replacing bind ? That's a good question, Peter. Welcome aboard. https://www.isc.org/software/bind/advisories/cve-2012-1033 Kind Regards Peter -- ### Coonardoo - PQP8P=P8QP:P0 Q QQP=Q / The Well In The Shadow / Le Puits Dans L'Ombre ###
Re: Broadcom BCM43224 802.11 development?
Hi. This is a very good and extremely wanted undertaking. And does anybody work on BCM4313? On Tue, Jan 31, 2012 at 1:39 AM, Jonathan Gray j...@jsg.id.au wrote: Porting the v4 firmware driver from FreeBSD (bwn) would be a closer match. B bwi really only covers the older chips. On Mon, Jan 30, 2012 at 06:54:02PM +, Josh Grosse wrote: I happen to have one of these, and am *considering* diving in to see if I can integrate this with bwi(4). B If you're already working on this, or if you have worked on it in the the past, please let me know; I would hate to duplicate your efforts. While I have not yet begun scoping the technical requirements, a bit of Googling indicates that Broadcom made their applicable 802.11 Linux driver open source in September 2010. B That may be a starting placeOr not. :) Thanks! -- ### Coonardoo - PQP8P=P8QP:P0 Q QQP=Q / The Well In The Shadow / Le Puits Dans L'Ombre ###
Re: disk management
On Fri, Jan 13, 2012 at 1:40 PM, lilit-aibolit lilit-aibo...@mail.ru wrote: Hi misc. Here is newbee question. I have disk with unused space: # disklabel -p g wd0 B k: B B B B B B 18.1G B B B B 40266255 B 4.2BSD B 2048 16384 B B 1 # /home [some text is cut] In /var I store some sites for apache and need more space for it. How can I use unused space B for /var or it will be used automatically when /var reaches capacity 100%? Yeah, this is a newbie question. Really. Next time do not use the a option in the installer, just try to think logically and _strategically_. First add the a partiton, mark it / 512mb is more that enough. Second - b this is SWAP. You available RAM * 2 == SWAP. But is't not always true, just depends on the tasks the machine will be running. So, I use this formula not every time I install the OS, for example in my note the RAM is 2gb, but SWAP is 1gb. Well, it's a matter of philosophy and empirics you know... :) Third - d partition assign it to /usr; the size, coming again, depends on your tasks. It maybe 80% of the space left available, or more, or less... Fourth - e - /var - the rest of the space left after the /usr partition assigning... V. -- ### Coonardoo - PQP8P=P8QP:P0 Q QQP=Q / The Well In The Shadow / Le Puits Dans L'Ombre ###
Re: disk management
On Fri, Jan 13, 2012 at 2:28 PM, Francois Pussault fpussa...@contactoffice.fr wrote: I prefer to define my parts manualy like this A / 256Mo enough free space on the fastest disk in the machine [cut] When your /var will be full, it will not grow up, you have to purge some log files (use logrotate or so will help), to purge read mails print queues to get free space. With a so huge /var 90% is anormal, you should already look for a logrotate solution or choose a new partition map you will use on next update of the machine. After the installation procedure is over I relink the /tmp to /usr/tmp just mv /tmp /usr ln -s /usr/tmp /tmp Huge /var is need when I build mail servers under qmail which uses /var of course, and comparatively little /usr For DB servers (I compile Pg and My SQL's or LDAP by myself and install _everything_ into /usr/local/pgsql/*) I cut off a huge /usr partition, for example... Apache, which I also install into /usr/local/http/*, also assign a huge /usr partition. There is one more philosophical side effect of this question - speed. The closer the partition is placed to the outer cylinders, the faster the data are read from it. -- ### Coonardoo - PQP8P=P8QP:P0 Q QQP=Q / The Well In The Shadow / Le Puits Dans L'Ombre ###
Re: disk management
[cut] 2.2G B B total do I understand correctly, that in my case the easiest way is decrease /home and increase /var? Taking into account that your /home is used only by 2% (the least used of the largest by size) and your /var is used by 90% and you need more there, - then yes. :) -- ### Coonardoo - PQP8P=P8QP:P0 Q QQP=Q / The Well In The Shadow / Le Puits Dans L'Ombre ###
Re: disk management
There is one more philosophical side effect of this question - speed. The closer the partition is placed to the outer cylinders, the faster the data are read from it. More a methaphysical question. On modern disks, the correspondence between block/cyl number and physcial location is very blurred. B B B B -Otto Yeah, Otto, I'm aware of it, and still that makes me experiment every time I got an opportunity to. Anyway, you can use your system for years, upload and delete little and large files, but defragmentation ratio is very close to 0.0%. Either the system is not aware of this location blur or really the system sees that the file blocks location is indeed convenient for the system. In my experiments I saw large avi files being copied to the outsider /usr from a flash device 4.5mb p/s, and to the insider /var slower - depending on the size of the /usr - from 2.7mb p/s to 3.2mb p/s. I'm not insisting, I'm only telling about the results of my experiments... :) I know very little about physical design of HDD's and the vendors do not feel like sharing that information. :) -- ### Coonardoo - PQP8P=P8QP:P0 Q QQP=Q / The Well In The Shadow / Le Puits Dans L'Ombre ###
Re: I want buy labtop ,work OpenBSD, wireless network must work
On Fri, Dec 30, 2011 at 9:41 AM, Mostaf Faridi mostafafar...@gmail.com wrote: Hello all guys, After long time I want buy labtop and I want use it in my work place , in my work place we have only wireless network and we do not have wire network and we have linksys router and other guys connect to linksys and use network .other guys use Windows ,but I want use OpenBSD , and I do not know which models ,I must buy .my new labtop must work in wireless network . Please help me which model I must buy . I can find Lenovo and Asus in here and I can find some model of Sony too. I want use OpenBSD with GNOME and I want use it as Desktop. Please guide me which model I must buy ? My notebook or my labtop must has 6 gigabytes of RAM and has very powerful CPU http://www.openbsd.org/faq/faq6.html#Wireless Please, look here. There is a list of the supported WiFie devices. -- ### Coonardoo - PQP8P=P8QP:P0 Q QQP=Q / The Well In The Shadow / Le Puits Dans L'Ombre ###
Re: I want buy labtop ,work OpenBSD, wireless network must work
Lenovo work good with OpenBSD . For example I want know Lenovo ThinkPad 7000t work good or no I also got Lenovo G565 with Broadcom 4313 unsupported yet by OpenBSD, but this is not an issue to me, so I can wait until the driver is ported. You should print out the list of supported WiFi's and consult your notebook distributor when buying a note to be sure. Some distributors may provide hardware configuration according to the client's wish. I don't know how it is in your country. On Dec 30, 2011 12:28 PM, Vitali coonar...@gmail.com wrote: On Fri, Dec 30, 2011 at 9:41 AM, Mostaf Faridi mostafafar...@gmail.com wrote: Hello all guys, After long time I want buy labtop and I want use it in my work place , -- ### Coonardoo - PQP8P=P8QP:P0 Q QQP=Q / The Well In The Shadow / Le Puits Dans L'Ombre ###
Re: create a backup of an online server
On Wed, Dec 28, 2011 at 8:51 AM, Gregory Edigarov g...@bestnet.kharkov.ua wrote: On Wed, 28 Dec 2011 10:06:14 +0400 Wesley M. open...@e-solutions.re wrote: Hi, I want to backup our mailserver(4.7) in production. I read : http://www.openbsd.org/faq/faq10.html#DupFS Can i do this wd1(my backup disk) : mount /dev/wd1a /mnt dump -0auf /mnt/etc_backup /dev/wd0a ... same for wd0d and wd0e ... Or do i need absolutely to do it in Single User? Or perhaps, there's a better way to do it. Personaly I found a way for myself to produce a consistent backups: 1. have an additional filesystem /backup 2. mount /backup 3. sync your changed files to /backup (I usually do this with rsync, YMMV) 4. umount /backup 5. mount /your_backup_media 6. dump -0auf /your_backup_media /dev/backup However it need some preparation done beforehand, preferably on system install. this way you will be able to dump live filesystems without having to reboot your server. -- With best regards, B B B B Gregory Edigarov Wouldn't you consider AMANDA http://www.amanda.org I had been using it for long in my previous support engineering life. It's nice. -- ### Coonardoo - PQP8P=P8QP:P0 Q QQP=Q / The Well In The Shadow / Le Puits Dans L'Ombre ###
Re: see_other_uids
On Fri, Dec 23, 2011 at 6:49 AM, Tomas Bodzar tomas.bod...@gmail.com wrote: On Thu, Dec 22, 2011 at 10:43 PM, Vitali coonar...@gmail.com wrote: Gentlemen In FreeBSD there is one great feature I like very much. If you set the variable security.bsd.see_other_uids to zero, users can't see other users' processes. Is there something like that in OpenBSD? https://www.youtube.com/bsdconferences#p/u/4/JaVnNllZxn4 Not sure how far is that or if it's still work in progress That's very interesting, thank you. But I just need to say sysctl security.bsd.see_other_uids=0 This is a little bit different. :) Thank you. -- ### Coonardoo - P QP8P=P8Q P:P0 Q B Q Q P=Q B / The Well In The Shadow / Le Puits Dans L'Ombre ### -- ### Coonardoo - PQP8P=P8QP:P0 Q QQP=Q / The Well In The Shadow / Le Puits Dans L'Ombre ###
Re: see_other_uids
But I just need to say sysctl security.bsd.see_other_uids=0 If you have X running then it doesn't matter and doesn't hide stuff ;-) It's not for me, it's for the collective farm servers... :))) -- ### Coonardoo - PQP8P=P8QP:P0 Q QQP=Q / The Well In The Shadow / Le Puits Dans L'Ombre ###
see_other_uids
Gentlemen In FreeBSD there is one great feature I like very much. If you set the variable security.bsd.see_other_uids to zero, users can't see other users' processes. Is there something like that in OpenBSD? Thank you. -- ### Coonardoo - PQP8P=P8QP:P0 Q QQP=Q / The Well In The Shadow / Le Puits Dans L'Ombre ###
Re: start daemon with rc.d
On Wed, Dec 21, 2011 at 12:27 PM, Antoine Jacoutot ajacou...@bsdfrog.org wrote: On Wed, Dec 21, 2011 at 03:17:24PM +0400, pavel pocheptsov wrote: 21 P4P5P:P0P1QQ B 2011, 14:41 PQ B Antoine Jacoutot ajacou...@bsdfrog.org: On Wed, Dec 21, 2011 at 02:26:32PM +0400, pavel pocheptsov wrote: Hello misc. In old release of OBSD to start daemons with system was used rc.local. For example: if [ -x /usr/local/bin/mysqld_safe ] ; then B B su -c _mysql root -c '/usr/local/bin/mysqld_safe /dev/null 21 ' B B echo -n ' mysql' B fi In 5.0 have changes described here: http://www.openbsd.org/faq/faq10.html#rc and in man rc.d and rc.conf.local. The questions is how to start mysqld_safe or cupsd or any other daemon, that was placed in /etc/rc.d? Add the lines to rc.conf.local like this: pkg_scripts=cupsd pkg_scripts=mysqld or something else? pkg_scripts=cupsd mysqld Order matters, since daemons will be started accordingly. -- Antoine Thanks, so old way is no longer needed or it use for daemons, that not properly installed and not put own startup-script in /etc/rc.d? You can still use the old way if you prefer. -- Antoine Let me also squeeze in a couple of words into the topic. :) I'm very glad that OpenBSD has at last moved to the rc.d model, I like this approach much better. I had been using it all the way before, but before rc.d appeared here officially I'd been (and - sorry - keep on) doing it like this: vi /etc/rc.local echo 'starting local daemons:' ### SERVICES_LIST=`/bin/ls /etc/rc.d/*sh` for sh in ${SERVICES_LIST}; do ${sh} start done ### echo --- vi /etc/rc.shutdown SERVICES_LIST=`/bin/ls /etc/rc.d/*sh` for sh in ${SERVICES_LIST}; do ${sh} stop done mkdir -p /etc/rc.d/rc.5 cd /etc/rc.d/rc.5 vi D000mysql.sh #!/bin/sh ### MYDIR=/usr/local/mysql LEDIR=/usr/local/mysql/libexec PIDIR=/usr/local/mysql/data USER=mysql ### case $1 in start) if [ -x ${MYDIR}/bin/mysqld_safe -a -x ${LEDIR}/mysqld ]; then /bin/sleep 1 (cd ${MYDIR}; ./bin/mysqld_safe --user=${USER} --federated --ndbcluster /dev/null 21 ); echo MySQL is up! /bin/sleep 1 fi ;; stop) (${MYDIR}/bin/mysqladmin -u shutdown -pshutdown_user_pwd shutdown); echo MySQL shut down! /bin/sleep 1 ;; hup) $0 stop /bin/sleep 4 /bin/rm ${PIDIR}/*.err /bin/sleep 1 $0 start ;; ### *) echo Usage: `basename $0` {start|stop|hup} 2 exit 64 ;; esac exit 0 ### chmod 555 D000mysql.sh ln -s /etc/rc.d/rc.5/D000mysql.sh /etc/rc.d/D000mysql.sh and so on with squid, apache, etc... Any time you need to turn off a daemon from the auto start just remove the link from /etc/rc.d or rename it without .sh P.S. No, I'm not a linuxoid at all, I'd say - an esthete... :) -- ### Coonardoo - PQP8P=P8QP:P0 Q QQP=Q / The Well In The Shadow / Le Puits Dans L'Ombre ###
Re: OpenBSD in a dual stack anycast DNS resolving setup
Uh?!? # pkg_add -v jdk-1.7.0.00v0.tgz By the way, I got this jdk-1.7.0.00v0.tgz installed on my system, but I don't see a JAVA plugin for the Firefox. :( I need JAVA for a couple of minutes to check out several remove Windows machines through a remote JAVA applet. Anybody can advise something? Thank you. ciao, David
Re: maildir in sendmail
On Thu, Dec 8, 2011 at 9:34 AM, Wesley M. open...@e-solutions.re wrote: I noticed that sendmail use by default mbox : /var/mail/%u Is there a easy way to have maildir ? without procmail feature ? Or there's no other way except using procmail ? I don't want to use procmail, because, i will need a second large slide /home. I just want that all emails are in /var/mail/%u (maildir). And then use roundcubemail package. Thank you very much for your help. Wesley. Try this first http://plug-and-pray.blogspot.com/2008/02/sendmail-maildir-format.html Or if you want something bigger try to master qmail http://www.qmail.org/top.html But qmail is too nontrivial a solution to get over it with a high hand. The virgin qmail has frozen in the spam free and friendly year of 1997, and if you want something from it (in today's extremely hostile Internet world) you need to patch it heavily. When I built a corporative clustered mail system on qmail's, I patched it with LDAP patch, and wrote a lot of my own, and am still writing... Or there is Postfix http://www.pocock.com.au/wiki/ConvertMboxToMailbox Vitali
Re: roundcubemail packet
On Mon, Dec 5, 2011 at 11:56 AM, Wesley M. open...@e-solutions.re wrote: Hi, Thank you for your reply. Already done. But still doesn't work. I have connection error on imap server I have 3 users created, with 3 2 domains hosted. 993, 143 dovecot ports (imaps,imap) listen OK. ? Please, try to connect to your IMAP port manually to see what it's going to reply. # telnet your.imap.host 143 here there will be imap server messages... you then type: a001 login username passwd here must imap server's messages... a002 logout # V.
Re: how to find dependencies when building a new kernel
On Tue, Nov 29, 2011 at 9:25 PM, Miod Vallat m...@online.fr wrote: # grep -rw mem_range_softc /sys/arch/i386 [...] /sys/arch/i386/i386/mem.c:struct mem_range_softc mem_range_softc; [...] That's no that complicated to find dependencies as it may seem. Carefully read the kernel config file and man pages. For example there is mainbus. mainbus0 is installed on root, therefore the config line looks like mainbus0 at root Then there is bios. Where is the bios? Sure it's on the mainbus, the config line then will look like bios0 at mainbus0 It means that bios depends on the mainbus. Further, there is acpi installed on bios, i.e. acpi depends on bios, thus the config line looks like acpi0 at bios? All this together looks beautifully like: mainbus0 at root bios0 at mainbus0 acpi0 at bios? Do you see this beautiful harmony of the UNIX music? :) Moreover there are manual pages for all these devices: man mainbus man bios man acpi and so forth... and in the man pages you can see such recommendations as, for example SEE ALSO apm(4), intro(4) which you can admit as a cross reference (to a possible dependency). Vitali
Re: Trouble with large files in current snapshot
On Sun, Nov 27, 2011 at 10:37 PM, Philip Guenther guent...@gmail.com wrote: On Sun, Nov 27, 2011 at 9:48 AM, Pieter Verberne pieterverbe...@xs4all.nl wrote: On Sun, 27 Nov 2011 12:21:49 +0100, pet...@schwertfisch.de wrote: After upgrading to current (snapshot from Nov. 25) OpenBSD seems to be choking on large (2GB) files (tested with GENERIC.MP and GENERIC): The latest kernel that does work on my Soerkis is this one: bsd.2009 B 03-Nov-2011 17:18 B 8.6M B #85 And the first that is not working: bsd.2010 B 09-Nov-2011 20:09 B 8.6M B #86 Thank you for doing the search for when the problem was introduced. That helped isolate which diff (of mine) introduced the regression. It was the wrap around check in vfs_vnops.c rev 1.69. B Fix committed; again, thanks for the report and search results. Philip Guenther Yep, this is it. I wrote about this problem a week ago http://www.mail-archive.com/misc@openbsd.org/msg107709.html So the explanation is as follows: I installed the system 5.0-snapshot all anew and fresh, but the kernel source I rebuild the kernel from was of 5.0-Release. That explains. Thank you for your research. Vitali
Re: Kernel without INET6 error on pipex.c
On Fri, Nov 25, 2011 at 12:46 AM, Stuart Henderson s...@spacehopper.org wrote: On 2011-11-24, Paul Irofti p...@irofti.net wrote: On Thu, Nov 24, 2011 at 10:09:31AM +, Julien Crapovich wrote: Hello. Absolutely, but compiling without INET6 is not supposed to generate error. I've just disabled INET6 on GENERIC file, not other hack. Did you try after disabling INET6 to also disable PIPEX and pseudo-device pppx -- ### Coonardoo - The Well In The Shadow ###
Re: USB WD HDD 1.5Tb read/write for files larger than 2048mb
Sorry I told nothing about the USB drive. At work the boss found me a notebook GD-Itronix GoBook VR-1 with a broken HDD to make it clear if the notebook could be used at all. I removed HDD from it, bought a new 1.5Tb USB WD HDD, installed OpenBSD-4.9 on it, and used the notebook for some time as usual but without internal HDD only with a big HDD beside on the table. :) Later the notebook died anyway (burned video card) and I took the hard drive home. So the file system on that USB HDD - UFS2. On Tue, Nov 22, 2011 at 8:59 AM, Tony Abernethy t...@servasoftware.com wrote: Vitali wrote: I had some big movie files, development directories and so on which I ... Vital information missing: File system on the USB drive Guessing: The USB Drive is FAT32 which has a size limit of 2G on individual files -- ### Coonardoo - The Well In The Shadow ###
USB WD HDD 1.5Tb read/write for files larger than 2048mb
Gentlemen. I'm puzzled. I had been solving an issue for some time yesterday and today, solved it but there has arisen a bigger question than I actually had during the solving. Yesterday I reinstalled the system on my Lenovo G565. I had some big movie files, development directories and so on which I decided to store all temporarily on my 1.5Tb USB WD HDD. I just copied to that USB HDD all those files, 3, 4, 2.5 Gb and the like, without any problem. After I've got through the installation and configuration procedure of the new system, I mounted back the USB HDD and started copying back those big files (I mean first of all the files bigger than 2048mb), but none of them would. The copy procedure stuck on the mark of 2048mb with an error couldn't find the source file and wouldn't go further. The error popped up both by copying in midnight commander and by the cp command; the kernel was the default vendor kernel. Today I rebuilt the kernel and the issue - well - it just dissipated... Is there anybody to happen to know which option from the kernel configuration influences on resolving this issue with the USB port? Thanks for help in clearing it out. Vitali ### my kernel config ### machine i386 include ../../../conf/GENERIC maxusers100 # estimated number of users option USER_PCICONF# user-space PCI configuration option KVM86 # Kernel Virtual 8086 emulation option USER_LDT# user-settable LDT; see i386_set_ldt(2) option APERTURE# in-kernel aperture driver for XFree86 option COMPAT_LINUX# binary compatibility with Linux option PROCFS # /proc option NTFS# NTFS support config bsd swap generic mainbus0 at root cpu0at mainbus? bios0 at mainbus0 ioapic* at mainbus? apm0at bios0 flags 0x # flags 0x0101 to force protocol version 1.1 acpi0 at bios? mpbios0 at bios0 pcibios0 at bios0 flags 0x # use 0x30 for a total verbose ipmi0 at mainbus? disable # IPMI vmt0at mainbus? # VMware Tools esm0at mainbus? # Dell Embedded Server Management amdmsr0 at mainbus? # MSR access for AMD Geode LX CPUs with GP acpitimer* at acpi? acpihpet* at acpi? acpiac* at acpi? acpibat*at acpi? acpibtn*at acpi? acpicpu*at acpi? acpiec* at acpi? acpimadt0 at acpi? acpimcfg* at acpi? acpiprt*at acpi? acpitz* at acpi? acpivideo* at acpi? acpivout* at acpivideo? option MULTIPROCESSOR # Multiple processor support cpu*at mainbus? option PCIVERBOSE option EISAVERBOSE option USBVERBOSE isa0at mainbus0 isa0at pcib? isa0at amdpcib? isa0at gscpcib? isa0at glxpcib? eisa0 at mainbus0 pci*at mainbus0 pchb* at pci? # PCI-Host bridges ppb*at pci? # PCI-PCI bridges pci*at ppb? pci*at pchb? pcib* at pci? # PCI-ISA bridge amdpcib* at pci?# AMD 8111 LPC bridge gscpcib* at pci?# NS Geode SC1100 PCI-ISA bridge gpio* at gscpcib? glxpcib* at pci?# AMD CS5536 PCI-ISA bridge gpio* at glxpcib? kate* at pci? # AMD K8 temperature sensor km* at pci? # AMD K10 temperature sensor amas* at pci? disable # AMD memory configuration # National Semiconductor LM7[89] and compatible hardware monitors lm0 at isa? port 0x290 piixpm* at pci? # Intel PIIX power management iic*at piixpm? it* at isa? port 0x2e # ITE IT8705F, IT8712F, IT8716F, it* at isa? port 0x4e # IT8718F, IT8726F and SiS SiS950 # monitors and watchdog timer # PCI PCMCIA controllers pcic* at pci? # PCMCIA bus support pcmcia* at pcic? # USB Controllers ehci* at pci? # Enhanced Host Controller uhci* at pci? # Universal Host Controller (Intel) ohci* at pci? # Open Host Controller # USB bus support usb*at ehci? usb*at uhci? usb*at ohci? # USB devices uhub* at usb? # USB Hubs uhub* at uhub?# USB Hubs umass* at uhub?# USB Mass Storage devices uhidev* at uhub?# Human Interface Devices ums*at uhidev? # USB mouse wsmouse* at ums? mux 0 uhid* at uhidev? # USB generic HID support uvideo* at uhub?# USB video video* at uvideo? sdhc* at pci? # SD Host Controller sdmmc* at sdhc?# SD/MMC bus npx0at isa? port 0xf0 irq 13# math coprocessor isadma0 at isa? isapnp0 at isa? option WSDISPLAY_COMPAT_USL# VT handling option WSDISPLAY_COMPAT_RAWKBD # provide raw scancodes
USB WD HDD 1.5Tb read/write for files larger than 2048mb
Gentlemen. I'm puzzled. I had been solving an issue for some time yesterday and today, solved it but there has arisen a bigger question than I actually had during the solving. Yesterday I reinstalled the system on my Lenovo G565. I had some big movie files, development directories and so on which I decided to store all temporarily on my 1.5Tb USB WD HDD. I just copied to that USB HDD all those files, 3, 4, 2.5 Gb and the like, without any problem. After I've got through the installation and configuration procedure of the new system, I mounted back the USB HDD and started copying back those big files (I mean first of all the files bigger than 2048mb), but none of them would. The copy procedure stuck on the mark of 2048mb with an error couldn't find the source file and wouldn't go further. The error popped up both by copying in midnight commander and by the cp command; the kernel was the default vendor kernel. Today I rebuilt the kernel and the issue - well - it just dissipated... Is there anybody to happen to know which option from the kernel configuration influences on resolving this issue with the USB port? Thanks for help in clearing it out. Vitali ### my kernel config ### machine B B B B i386 include B B B B ../../../conf/GENERIC maxusers B B B B 100 B B B B B B B B B B # estimated number of users option B B B B B USER_PCICONF B B # user-space PCI configuration option B B B B B KVM86 B B B B B # Kernel Virtual 8086 emulation option B B B B B USER_LDT B B B B # user-settable LDT; see i386_set_ldt(2) option B B B B B APERTURE B B B B # in-kernel aperture driver for XFree86 option B B B B B COMPAT_LINUX B B # binary compatibility with Linux option B B B B B PROCFS B B B B B # /proc option B B B B B NTFS B B B B B B # NTFS support config B B B B B bsd B B swap generic mainbus0 at root cpu0 B B at mainbus? bios0 B at mainbus0 ioapic* at mainbus? apm0 B B at bios0 flags 0x B # flags 0x0101 to force protocol version 1.1 acpi0 B at bios? mpbios0 at bios0 pcibios0 at bios0 flags 0x B # use 0x30 for a total verbose ipmi0 B at mainbus? disable B B # IPMI vmt0 B B at mainbus? B B B B B B # VMware Tools esm0 B B at mainbus? B B B B B B # Dell Embedded Server Management amdmsr0 at mainbus? B B B B B B # MSR access for AMD Geode LX CPUs with GP acpitimer* B B B at acpi? acpihpet* B B B at acpi? acpiac* B B B B at acpi? acpibat* B B B B at acpi? acpibtn* B B B B at acpi? acpicpu* B B B B at acpi? acpiec* B B B B at acpi? acpimadt0 B B B at acpi? acpimcfg* B B B at acpi? acpiprt* B B B B at acpi? acpitz* B B B B at acpi? acpivideo* B B B at acpi? acpivout* B B B at acpivideo? option B B B B B MULTIPROCESSOR B # Multiple processor support cpu* B B B B B B at mainbus? option B B B B B PCIVERBOSE option B B B B B EISAVERBOSE option B B B B B USBVERBOSE isa0 B B at mainbus0 isa0 B B at pcib? isa0 B B at amdpcib? isa0 B B at gscpcib? isa0 B B at glxpcib? eisa0 B at mainbus0 pci* B B at mainbus0 pchb* B at pci? B B B B B B B B # PCI-Host bridges ppb* B B at pci? B B B B B B B B # PCI-PCI bridges pci* B B at ppb? pci* B B at pchb? pcib* B at pci? B B B B B B B B # PCI-ISA bridge amdpcib* at pci? B B B B B B B B # AMD 8111 LPC bridge gscpcib* at pci? B B B B B B B B # NS Geode SC1100 PCI-ISA bridge gpio* B at gscpcib? glxpcib* at pci? B B B B B B B B # AMD CS5536 PCI-ISA bridge gpio* B at glxpcib? kate* B at pci? B B B B B B B B # AMD K8 temperature sensor km* B B at pci? B B B B B B B B # AMD K10 temperature sensor amas* B at pci? disable B B B B # AMD memory configuration # National Semiconductor LM7[89] and compatible hardware monitors lm0 B B at isa? port 0x290 piixpm* at pci? B B B B B B B B B B B B # Intel PIIX power management iic* B B at piixpm? it* B B at isa? port 0x2e B B B B B B B # ITE IT8705F, IT8712F, IT8716F, it* B B at isa? port 0x4e B B B B B B B # IT8718F, IT8726F and SiS SiS950 B B B B B B B B B B B B B B B B B B B B # monitors and watchdog timer # PCI PCMCIA controllers pcic* B at pci? # PCMCIA bus support pcmcia* at pcic? # USB Controllers ehci* B at pci? B B B B B B B B B B B B # Enhanced Host Controller uhci* B at pci? B B B B B B B B B B B B # Universal Host Controller (Intel) ohci* B at pci? B B B B B B B B B B B B # Open Host Controller # USB bus support usb* B B at ehci? usb* B B at uhci? usb* B B at ohci? # USB devices uhub* B at usb? B B B B B B B B # USB Hubs uhub* B at uhub? B B B B B B B B # USB Hubs umass* B at uhub? B B B B B B B B # USB Mass Storage devices uhidev* at uhub? B B B B B B B B # Human Interface Devices ums* B B at uhidev? B B B B B B B # USB mouse wsmouse