Return to BSD News archive
Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!agate!howland.reston.ans.net!vixen.cso.uiuc.edu!uwm.edu!caen!usenet.coe.montana.edu!osyjm From: osyjm@cs.montana.edu (Jaye Mathisen) Newsgroups: comp.os.386bsd.questions Subject: Re: FreeBSD - sio (com) and DOS HD problems Date: 17 Sep 1993 02:32:26 GMT Organization: Computer Science, MSU, Bozeman MT, 59717 Lines: 55 Message-ID: <27b7jq$kiq@pdq.coe.montana.edu> References: <1993Sep16.201358.26183@doug.cae.wisc.edu> NNTP-Posting-Host: schizo.coe.montana.edu In article <1993Sep16.201358.26183@doug.cae.wisc.edu>, John Edward Tillema <tillemaj@cae.wisc.edu> wrote: >I have just installed FreeBSD with few problems, but am having a >couple in getting stuff working on it. I have read the 386BSD >FAQ and tried what it suggested for each of these problems, but >none of it worked. You're in luck. Some of it isn't documented :) > 1. I can't seem to talk to my modem via /dev/sio01. > When I connected to it, say by kermit, it just sits > there. When I try cu, it connects, and then gets I/O > errors as soon as I start typing. Details of the system: > 2 16550s, and a SupraFAX 14.4 modem. You need to use the cua devices, which are the same major number as the sio device, but add 128 to the minor number. Then use /dev/cua01 to call out on /dev/sio01. sio is inboud, cua is outbound. I don't have a machine in front of me right now with the stuff, and I don't recall if it was added to MAKEDEV, but in any case: ls -l /dev/sio01 mknod /dev/cua01 c 28 minor-of-/dev/sio01+128 I think sio00 is 28,0, so you want: mknod /dev/cua00 c 28 128 mknod /dev/cua01 c 28 129 for /dev/cua01 == calling device for /dev/sio01 etc. etc. ad nauseum. > > 2. Is it possible to get info from a DOS hard disk partition > to FreeBSD? I tried creating a c device in mtools (2.0.7) > but that didn't work, I also tried creating a disklabel > (/dev/wd0h) for it (both are out of the FAQ), but again, that > didn't work. The changes I made were never present when I > would run disklabel again. It would say unused partition h > of size xxxx when I quit, then prompt if I wanted to overwrite > DOS parition table. Regardless of whether I answered y or n > it didn't save the changes. This is for a Conner 340 Meg IDE > drive. Hmmm. This shoulda' oughta' work. It might be because of the psychotic behaviour of /dev/[ws]d?[cd], and a funky interaction there. Theo has vociferously convinced me that the d/c partion crap is for the birds. Sorry I can't help more, but it's probably something easy. -- Jaye Mathisen, COE Systems Manager (406) 994-4780 410 Roberts Hall,Dept. of Computer Science Montana State University,Bozeman MT 59717 osyjm@cs.montana.edu