From owner-freebsd-hackers@FreeBSD.ORG Sun Sep 28 15:14:32 2003 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 389AD16A4B3 for ; Sun, 28 Sep 2003 15:14:32 -0700 (PDT) Received: from pop016.verizon.net (pop016pub.verizon.net [206.46.170.173]) by mx1.FreeBSD.org (Postfix) with ESMTP id 32A4B43FE0 for ; Sun, 28 Sep 2003 15:14:31 -0700 (PDT) (envelope-from babkin@bellatlantic.net) Received: from bellatlantic.net ([138.89.158.162]) by pop016.verizon.net (InterMail vM.5.01.05.33 201-253-122-126-133-20030313) with ESMTP id <20030928221429.TMFM10125.pop016.verizon.net@bellatlantic.net> for ; Sun, 28 Sep 2003 17:14:29 -0500 Sender: root@FreeBSD.ORG Message-ID: <3F775D41.DF780001@bellatlantic.net> Date: Sun, 28 Sep 2003 18:14:25 -0400 From: Sergey Babkin X-Mailer: Mozilla 4.7 [en] (X11; U; FreeBSD 4.7-RELEASE i386) X-Accept-Language: en, ru MIME-Version: 1.0 To: hackers@freebsd.org Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit X-Authentication-Info: Submitted using SMTP AUTH at pop016.verizon.net from [138.89.158.162] at Sun, 28 Sep 2003 17:14:29 -0500 Subject: has anyone installed 5.1 from a SCSI CD? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Sep 2003 22:14:32 -0000 Hi all, I've got the compiler on my -current partition hosed (I did a make install at a time when it was unstable, and now it dies when recompiling -current), so I decided to re-base it with 5.1. That's when I discovered an unpleasent issue: it could not mount SCSI CD-ROM! The devices (I have two of them) show up fine in dmesg and the entries in /dev are created fine but then when I try to mount it, it says that the operation is not supported by the device! Huh? Someone has been playing too much with the CD driver. BTW, I have another related issue too: since at least 4.7 all the disk device nodes have charcater device entries in /dev. That's very, very wrong. Even though there may be no difference any more between the charcater and block drivers, the type of device node still conveys the information about device types to the applications. One case in point being a viewer application (if anyone is interested, http://nac.sf.net ) which must handle the sequential and random-access devices differently: for the random-access device it can page in the data for viewing on demand (and discard when some part is not viewed, since it can be read again easily), with possibility to jump to a random address, while for a sequential device it must read the data sequentially to a local buffer and never discard data from that buffer. It works fine on every system except the recent FreeBSD :-( -SB