Re: HOW to debug memory corruption efficiently?

2002-02-01 Thread Randell Jesup
sion of dmalloc a try. It also works fairly well, and includes protecting freed memory blocks to catch free-memory reads (I think) and writes. C++ may need minor source mods to track source file/lines for new'd objects. Overall it works pretty well. See ports and also dmalloc.c

Re: FreeBSD Floppy driver needs enhancement...

2002-01-10 Thread Randell Jesup
Oliver Fromme <[EMAIL PROTECTED]> writes: >Randell Jesup <[EMAIL PROTECTED]> wrote: > > Yes (if anyone still cares about floppies). The old Amiga > > trackdisk (floppy driver) could do that, since all the decoding was in > > software (and via the

Re: FreeBSD Floppy driver needs enhancement...

2002-01-09 Thread Randell Jesup
x27;s can't recover from bad sector ID's. If I remember correctly, you can read uncorrected sectors off of ATA (maybe) and SCSI (I think), at least using CAM. Quite honestly, I can see some use for this in HD's; I don't see much use for it in floppies, except mayb

Re: Oh my god, Google has a USENET archive going back to 1981!

2002-01-09 Thread Randell Jesup
old C64 windowed error-correction protocol I designed to correct bit errors in the modem traffic _when connecting to AOL over TCP/IP_. I was shocked. (article about this somewhere on slashdot recently). (my apologies for the off-topic-ness of this whole thread) -- Randell Jesup, Worldgate Communic

Re: Really odd "BTX halted" problem booting FreeBSD on VALinux

2000-10-27 Thread Randell Jesup
es, and had to read lots of the sysinstall/disklabel source, and on top of that had to hack sysinstall in order to get it to work at all for my purpose. Ugh. -- Randell Jesup, Worldgate Communications, ex-Scala, ex-Amiga OS team ('88-94) [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: ELF & putting inode at the front of a file

1999-12-07 Thread Randell Jesup
rmation. The downside was increased overhead on file-close-after-modify and create/delete, but not a lot. As a side-benefit, recovery after a trashed FS is slightly easier since there's more redundant information available (if the main directory sector/inode gets whacked). -- Randell Jes

Re: ELF & putting inode at the front of a file

1999-12-07 Thread Randell Jesup
ilt-in automatic fsck-equivalent. Not to mention file-locking and notification on file-modification (pretty cool, actually). Shudder. -- Randell Jesup, Worldgate Communications, ex-Scala, ex-Amiga OS team ('88-94) [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: cdrom speed adjustment ioctl

1999-12-06 Thread Randell Jesup
IM that actually controlled IDE hardware instead of SCSI hardware. This is quite easy, in fact, especially since ATAPI is basically SCSI-over-IDE with a few twists. -- Randell Jesup, Worldgate Communications, ex-Scala, ex-Amiga OS team ('88-94) [EMAIL PROTECTED] CDA II has been passed and s

Re: Portable way to compare struct stat's?

1999-12-04 Thread Randell Jesup
Assar Westerlund <[EMAIL PROTECTED]> writes: >Randell Jesup <[EMAIL PROTECTED]> writes: >> Sounds like what we'd want to build it upon. If the FS doesn't >> support it, use st_dev/st_ino. > >Actually, since it's in the kernel, the default

Re: Portable way to compare struct stat's?

1999-12-04 Thread Randell Jesup
to build it upon. If the FS doesn't support it, use st_dev/st_ino. The real problem is getting people to switch. -- Randell Jesup, Worldgate Communications, ex-Scala, ex-Amiga OS team ('88-94) [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: Portable way to compare struct stat's?

1999-12-02 Thread Randell Jesup
Wes Peters <[EMAIL PROTECTED]> writes: >Randell Jesup wrote: >> >> On a single system, if st_dev and st_ino are equal, you must be referring >> >> to the same object. If not, I'd like to hear about it. >> > >> >This assumption has always ca

Re: writing to an mmap()'ed region requires read access?

1999-12-02 Thread Randell Jesup
valid and a write-enable bit instead, >or you just get a valid bit and have to use the dirty bit to make the >page writable (no write-enable bit at all). Makes sense. Shouldn't the mmap() return MAP_FAILED, probably with EACCES, instead of causing a signal 10? -

Re: Portable way to compare struct stat's?

1999-11-30 Thread Randell Jesup
ions are possibly. When a collision occurs on >the hash under Linux, all hell breaks loose :-). Hell breaking loose can be a real pain >Rant rant rant. And a darn good rant at that. Too bad that the "that's the way it's always been done"/"i

Re: Single character errors in source files, stop kernel compile!

1999-10-10 Thread Randell Jesup
t; to limit it to 8-bit-wide transfers. You could even try lower rates. WARNING: you can screw up your filesystems playing with camcontrol - easily. Also, while I know SCSI and CAM, I don't have SCSI on my current FreeBSD system and haven't actually used camcontrol. Read the manpage a

Re: CAM-ification - documentation

1999-10-09 Thread Randell Jesup
kernel process >may also be an option, depending on how nasty the device is. Ick. Polling == bad. Interrupts == good. This isn't a single- tasking OS ala Win9x. This goes double for SCSI drivers, which are inherently async and overlapped. -- Randell Jesup, Worldgate Communica

Re: Apple's planned appoach to permissions on movable filesystems

1999-10-09 Thread Randell Jesup
ant the disk to be "movable" or not. (And change that decision later if you want to move it.) Please excuse the rambling; I was just throwing out some ideas to see if any stick to the wall. -- Randell Jesup, Worldgate Communications, ex-Scala, ex-Amiga OS team ('88-94) [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message