RE: cdrom speed adjustment ioctl
There would not be such a thing for SCSI cdrom's too? It would probably squeeze a few extra months out of my cdrom player. On some cd's (mainly ones you get with magazines and books) it's making gut-wrenching noises and spinning up and down all the time. No idea if there's an ioctl, but you should be able to do this with camcontrol, e.g. if your drive supports the MMC Set CD Speed command: camcontrol -n cd -u n -c "BB 00 XX XX 00 00 00 00 00 00 00 00" Where n is the number of the CD device you want to set the speed of, and XX XX is the hex of the desired speed in kbps. Andrew. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
Re: Wired memory leaking
I've got a problem that my KLD is leaking wired memory. It's not actually growing in size, vmstat -m shows a fairly constant allocation, and certainly high isn't increasing. It's just that as I use it more, and more memory gets wired down, and the system becomes unusable. [blah] Just for the archives, it was, predictably, a memory leak after all. My _vnops.c wasn't freeing the cn_pnbuf. Why Oh Why(tm) is everything else freed for you, but the path buffer is left to the poor, confused, FS to free? Andrew. To Unsubscribe: send mail to majord...@freebsd.org with unsubscribe freebsd-hackers in the body of the message
Re: netbooting a freebsd kernel with 3c905B (fwd)
I'm currently doing a FreeBSD installation from network, a bit like jumpstart. So,I need to find a freeware to netboot a freebsd kernel with 3c905B Ken Yap from the etherboot site, told me about a special etherboot that freebsd people had done to make etherboot boot freebsd kernel. A complete RFC 1048 support would be great, because it could allow me to secure the installation by mfs mounting the R/W partitions and NFS export the Read only ones. Every piece of information interest me can someone help me?? Doug Ambrisko came up with some patches, you can find an early version attached to PR 9480, there may be more recent versions around now. I've got it working with an MFS kernel, if you need other help feel free to mail me. Andrew. To Unsubscribe: send mail to majord...@freebsd.org with unsubscribe freebsd-hackers in the body of the message
Wired memory leaking
I've got a problem that my KLD is leaking wired memory. It's not actually growing in size, vmstat -m shows a fairly constant allocation, and certainly high isn't increasing. It's just that as I use it more, and more memory gets wired down, and the system becomes unusable. I've tried both using my own MALLOC_DEFINE memory type and a system type (M_TEMP) with no difference. All I'm doing is straight-forward malloc/free, surely I don't have to call vm_page_unwire myself? Would it be a problem if memory malloced by one KLD was being freed in another? I'm (still) using 3.0-RELEASE. Thanks in advance for any help. Andrew. To Unsubscribe: send mail to majord...@freebsd.org with unsubscribe freebsd-hackers in the body of the message