Re: install42.iso hangs....any ideas?

2008-04-16 Thread Peter N. M. Hansteen
Matthew Szudzik [EMAIL PROTECTED] writes:

 I have a DVDRAM drive with the following dmesg

  cd0 at scsibus0 targ 0 lun 0: HL-DT-ST, DVDRAM GSA-4083N, 1.08 SCSI0 
 5/cdrom removable

almost exactly the same as mine, then:

$ dmesg | grep cd0
cd0 at scsibus0 targ 0 lun 0: HL-DT-ST, DVDRAM GMA-4082N, CX08 SCSI0 5/cdrom 
removable
cd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2

 and I have not had any problems installing OpenBSD 4.2 on the machine (a
 ThinkPad T60).

My ThinkPad R60 reads and writes CDs and DVDs under OpenBSD too, using
a succession of snapshots starting with 4.0-beta up to present
-current.  It's been a while since I've burned a DVD, but for CDs at
least cdio does everything I ask it to.

-- 
Peter N. M. Hansteen, member of the first RFC 1149 implementation team
http://bsdly.blogspot.com/ http://www.bsdly.net/ http://www.nuug.no/
Remember to set the evil bit on all malicious network traffic
delilah spamd[29949]: 85.152.224.147: disconnected after 42673 seconds.



Re: install42.iso hangs....any ideas?

2008-04-16 Thread Unix Fan
Matthew Szudzik wrote:

 I have successfully read and written several DVDs and CDs using OpenBSD,

 following the instructions at

 http://www.openbsd.org/faq/faq13.html



That was not what I was talking about, I know how to burn CD/DVD's, 
obviously, I was asking of DVD-RAM drives/disks can be used just as if they're 
sd(4) devices, read/write calls, i.e: UFS on a disk, mounted read/write.







-Nix Fan.




Re: install42.iso hangs....any ideas?

2008-04-16 Thread Hannah Schroeter
Hi!

On Wed, Apr 16, 2008 at 04:44:38AM -0700, Unix Fan wrote:
[...]

That was not what I was talking about, I know how to burn CD/DVD's,
obviously, I was asking of DVD-RAM drives/disks can be used just as if
they're sd(4) devices, read/write calls, i.e: UFS on a disk, mounted
read/write.

(Please wrap your lines)

IIRC not, I have a DVD-RAM drive and it probes as cd(4), not as sd(4).

And btw, IIRC our UFS/FFS implementation does still not cope well with
sector sizes != 512 (which makes MO drive usage difficult too, as they
*are* sd(4), but with 2048 byte sectors). Or has that, at least, been
fixed in-between? IIRC, DVD-RAM has larger sectors, too, and *usually*
one uses UDF2 there (our UDF support is 1.1, read-only, only).

Kind regards,

Hannah.



Re: install42.iso hangs....any ideas?

2008-04-16 Thread Unix Fan
Hannah Schroeter wrote:

 (Please wrap your lines)



I cannot, the Webmail provider formats it out.. I believe it's sending the 
email as MIME, it is out of my control - deal with it.



Hannah Schroeter wrote:

 IIRC not, I have a DVD-RAM drive and it probes as cd(4), not as sd(4).



Why is everyone ignoring me? I wasn't asking if the device could be attached as 
sd, I meant.. could DVD-RAM drives be used as if they're like an ordinary 
drive that attached to sd(4).



Can you newfs any file system, or blindly read/write/seek on the device? i.e: 
dd if=/dev/zero of=/dev/cd0c ???



I thought DVD-RAM were unique in that, unlike DVD-RW, you can write to the disk 
as if it's simply an optical hard drive...



*Sigh* http://en.wikipedia.org/wiki/DVD-RAM



DVD-RAM (DVDbRandom Access Memory).







-Nix Fan.




Re: install42.iso hangs....any ideas?

2008-04-16 Thread Stuart Henderson
On 2008-04-16, Unix Fan [EMAIL PROTECTED] wrote:
 Hannah Schroeter wrote:

 (Please wrap your lines)



 I cannot,
the Webmail
provider
formats it
out.. I
believe it's
sending the
email as
MIME, it is
out of my
control -
deal with
it.



 Hannah
Schroeter
wrote:

 IIRC not,
I have a
DVD-RAM drive
and it probes
as cd(4),
not as sd(4).



 Why is
everyone
ignoring me?

People often ignore messages that are hard to read.
other email service providers are available...

I wasn't
asking if
the device
could be
attached as
sd, I
meant.. could
DVD-RAM
drives be
used as
if they're
like an
ordinary
drive that
attached to
sd(4).



 Can you
newfs any
file system,
or blindly
read/write/seek on
the device?
i.e: dd
if=/dev/zero
of=/dev/cd0c ???



 I thought
DVD-RAM were
unique in
that, unlike
DVD-RW, you
can write
to the disk
as if it's
simply an
optical hard
drive...



 *Sigh*
http://en.wikipedia.org/wiki/DVD-RAM



 DVD-RAM
(DVDbRandom Access
Memory).







 -Nix Fan.



Re: install42.iso hangs....any ideas?

2008-04-16 Thread Matthew Szudzik
On Wed, Apr 16, 2008 at 05:45:56AM -0700, Unix Fan wrote:
 I thought DVD-RAM were unique in that, unlike DVD-RW, you can write to the 
 disk as if it's simply an optical hard drive...

I have only used DVD+RW and CD media in my DVDRAM drive, so I cannot
answer your question.



Re: install42.iso hangs....any ideas?

2008-04-16 Thread Frank Bax

Unix Fan wrote:

Hannah Schroeter wrote:

 IIRC not, I have a DVD-RAM drive and it probes as cd(4), not as sd(4).

Why is everyone ignoring me? I wasn't asking if the device could be

 attached as sd, I meant.. could DVD-RAM drives be used as if
 they're like an ordinary drive that attached to sd(4).


That might not be what you asked; but it still could be the answer to 
your question.  I've been on this list long enough to know that if an 
answer does not right away make sense to me; then in some way I don't 
get it and extra reading is warranted.  Maybe that's happened here. 
OpenBSD names devices based on driver used.  I haven't looked at code (I 
wouldn't understand it anyway); but I would not expect the cd(4) device 
driver to support random writes; whereas the sd(4) driver would.  I 
suspect that if your DVD-RAM device *were* detected as sd; then it 
*might* behave as an sd device.


Then again; I might not even have a clue...



Re: install42.iso hangs....any ideas?

2008-04-16 Thread Rod Whitworth
On Wed, 16 Apr 2008 15:15:02 +, Matthew Szudzik wrote:

On Wed, Apr 16, 2008 at 05:45:56AM -0700, Unix Fan wrote:
 I thought DVD-RAM were unique in that, unlike DVD-RW, you can write to the 
 disk as if it's simply an optical hard drive...

I have only used DVD+RW and CD media in my DVDRAM drive, so I cannot
answer your question.


I can read DVD-RAM disks written in my video recorder or in winXP on a
drive in an OpenBSD4.2 box. mount_udf mounts the drive ro, so no
writing is possible.

I used to want support for writing DVD-RAM because the type 2 cartridge
disks are rated at 100,000 write cycles and are truly random access.
Trouble is that cartridge drives are now very hard to get (I have only
2, one in a Panasonic DVR and one in a winbox) so I am popping the
platters out to use in regular drives.

BD-RE support would suit me fine right now but the media are too
expensive so far and the drives ain't cheap either.

Rod/

A consultant is someone who's called in when someone has painted himself into a 
corner.  He's expected to levitate his client out of that corner.

-The Sayings of Chairman Morrow. 1984.



Re: install42.iso hangs....any ideas?

2008-04-15 Thread Nick Holland
Redirected from ports@ to [EMAIL PROTECTED]
An explanation of what lead you to post it to ports@ would be
interesting, second one of those in a couple days, starting to
sound like something is unclear somewhere.

[EMAIL PROTECTED] wrote:
 Hey All,
   I'm trying to install OpenBSD 4.2 and have created an ISO image using
 ISORecorder for XP. The creation of the image on the CD completed with no
 errors. When I boot from the CD to install...the script begins and I get
 some white text on blue background...but then the install stops at the
 following message:
 
 cd0 at scsibus0 targ 1 lun 0: HL-DT_ST, DVDRAM GSA-E50L, NE01 SCSI0
 5/cdrom removalable
 
 any ideas would be greatly appreciated.
 
 Thanks in advance.

You have given us almost nothing to go on.

however...

I notice you have a DVDRAM there.  I've only had one of those, and I
pulled it out of the machine it was in because it seemed to be defective.
I could be wrong..it may be that only two people have ever tried to
install OpenBSD on a machine with a DVDRAM drive into OpenBSD, you and
me.  Or maybe you and I are the only owners of defective DVDRAM drives.

SO, first thing I'd try is to pull the DVDRAM drive out and use a
CD or DVD drive, see if that works better.  If so, let us know, I'll
look into my defective DVDRAM drive more.

If not, tell us SOMETHING about your computer, or (much) better yet,
just put a serial console on it and snag the boot output and let us
look.  Or type out a lot more of what you see on the screen.  Put the
digicam down, I'm not looking.

Nick.



Re: install42.iso hangs....any ideas?

2008-04-15 Thread Matthew Szudzik
On Tue, Apr 15, 2008 at 10:03:01PM -0400, Nick Holland wrote:
 I could be wrong..it may be that only two people have ever tried to
 install OpenBSD on a machine with a DVDRAM drive into OpenBSD, you and
 me.  Or maybe you and I are the only owners of defective DVDRAM drives.

I have a DVDRAM drive with the following dmesg

 cd0 at scsibus0 targ 0 lun 0: HL-DT-ST, DVDRAM GSA-4083N, 1.08 SCSI0 5/cdrom 
removable

and I have not had any problems installing OpenBSD 4.2 on the machine (a
ThinkPad T60).



Re: install42.iso hangs....any ideas?

2008-04-15 Thread Unix Fan
Sorry for hijacking this thread, but it brings up an interesting question..



How well does OpenBSD support DVD-RAM drives? does the cd(4) driver support 
read/write operations? - i.e: Would it be possible to use it as a normal block 
device?



Again, sorry for hijacking.. unfortunately, I'm not sure why your system is 
bailing out at that point, consider enabling verbose in UKC. (boot -c)



..And yet another off-topic question, What about Mount Rainier (packet writing) 
support for CD-RW drives? that would be so awesome! :D







-Nix Fan.




Re: install42.iso hangs....any ideas?

2008-04-15 Thread Matthew Szudzik
On Tue, Apr 15, 2008 at 07:33:41PM -0700, Unix Fan wrote:
 How well does OpenBSD support DVD-RAM drives? does the cd(4) driver support 
 read/write operations? - i.e: Would it be possible to use it as a normal 
 block device?

I have successfully read and written several DVDs and CDs using OpenBSD,
following the instructions at
 http://www.openbsd.org/faq/faq13.html