[vbox-dev] FreeBSD: /dev/urandom: 'Inappropriate ioctl for device'

Bernhard Fröhlich decke at bluelife.at
Tue May 5 07:58:58 GMT 2009


Hi devs

I was told not to create Tickets for unfinished vbox-ports so here it goes.

Ticket: http://www.virtualbox.org/ticket/3928
Problem:

Truss output when starting VBoxSDL on FreeBSD 7.1 gives ERR# 25
'Inappropriate ioctl for device' when accessing /dev/urandom.

Full truss output is attached at the ticket.

open("/dev/urandom",O_RDONLY,00)                 = 8 (0x8)
fcntl(8,F_SETFD,FD_CLOEXEC)                      = 0 (0x0)
read(8,"A\M^P\^U\^T",4)                          = 4 (0x4)
ioctl(7,0xc0385681 { IORW 0x56('V'), 129, 56 },0xffffd830) = 0 (0x0)
ioctl(7,0xd1005682 { IORW 0x56('V'), 130, 4352 },0xe10000) ERR#25
'Inappropriate ioctl for device'
close(7)                                         = 0 (0x0)
VBoxSDL: Error -36 in supR3HardenedMainInitRuntime!
write(2,"VBoxSDL: Error -36 in supR3Harde"...,52) = 52 (0x34)
VBoxSDL: write(2,"VBoxSDL: ",9)                          = 9 (0x9)
RTR3Init failed with rc=-36write(2,"RTR3Init failed with rc=-36",27)     =
27 (0x1b)


-- 
Bernhard Fröhlich
http://www.bluelife.at/





More information about the vbox-dev mailing list