/dev/dsp on Solaris 10
I'm running Solaris 10 3/05 on a Dell Optiplex GX260. I installed the audio drivers for my hardware and have a /dev/audio device that gives me basic sound. However, when I start up xmms it complains that there's no /dev/dsp device. Sure enough, there's no /dev/dsp device.
How can I get a /dev/dsp device?
Thanks.
On a Dell Optiplex 745 running Solaris 10 11/06 the built-in Intel soundcard wasn't supported by the OS, so I installed the OSS audio drivers from here:
http://www.4front-tech.com/oss.html
which enabled the soundcard.
I installed xmms from the Solaris 10 companion DVD and upon trying to play a file got the message:
** WARNING **: oss_open(): Failed to open audio device (/dev/dsp): No such file or directory
Checking the output of "ossinfo -v" it turns out the legacy device link for the Intel audio output is named /dev/dsp0 so once the:
xmms --> Preferences --> Audio I/O Plugins --> OSS Driver 1.2.10 --> Configure --> Audio Device
was changed from "Default (Intel HD Audio play output)" to "Use alternate device: /dev/dsp0"
everything worked fine.
Similar Messages
-
No /dev/dsp, some programs failed to play sound
I'm using chakra-2010.09 and there is no /dev/dsp after a default installation. Programs using phonon as backend (KDE's login music and the default music player, Bangarang) can play sound without problems. But others like vlc, flashplugin and wine cannot. Vlc just report errors about no /dev/dsp. How can this be fixed?
Then I tried #modprobe snd_pcm_oss snd_mixer_oss snd_seq_oss, the module created /dev/dsp1. then I maked a soft link to /dev/dsp but vlc said "cannot open device /dev/dsp".
I also tried using osspd and vlc can play sound now, but flashplugin and wine still have problems.
Here are some of my system information:
[admin@LenovoPC ~]$ cat /proc/asound/cards
0 [Generic ]: HDA-Intel - HD-Audio Generic
HD-Audio Generic at 0x90244000 irq 42
1 [SB ]: HDA-Intel - HDA ATI SB
HDA ATI SB at 0x90240000 irq 16
[admin@LenovoPC ~]$ lsmod | grep snd
snd_hda_codec_conexant 39073 1
snd_hda_codec_hdmi 19967 1
snd_hda_intel 19020 6
snd_hda_codec 67097 3 snd_hda_codec_conexant,snd_hda_codec_hdmi,snd_hda_intel
snd_hwdep 4812 1 snd_hda_codec
snd_pcm 59717 4 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec
snd_timer 15279 2 snd_pcm
snd 43259 17 snd_hda_codec_conexant,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_timer
soundcore 4993 1 snd
snd_page_alloc 5805 2 snd_hda_intel,snd_pcmRichSelian,
It is our policy that we only support Arch Linux. Please take this to http://chakra-project.org/bbs/ -
Can't get sound to work - no /dev/dsp !!!
I could really do with some help here, this is the first time I have tried to get sound working under linux. I am using a Abit VT6X4 board with on-board sound (VT82C686A) AC97 compliant chipset. I am using Kernel 2.6 which uses the config from the 2.6 package but with added SCSI support. I created the audio group as per FAQ but with ^snd as well as ^sound in the devfsd.conf. I installed all of the ALSA packages, I added snd_via82xx and snd-pcm-oss to /rc.conf, I added the following to /etc/modules.conf
# ALSA portion
alias char-major-116 snd
alias snd-card-0 snd-via82xx
# module options should go here
# OSS/Free portion
alias char-major-14 soundcore
alias sound-slot-0 snd-card-0
# card #1
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
When I login (as user or root) I get the dreaded no dev/dsp error.
Now if I ls -la in /dev, I see no dsp file/directory, however, if i touch /dev/dsp I get an access denied error (as root).
If I lsmod I get the following listed, so the modules appear to load ok.
snd_pcm_oss 49412 0
snd_mixer_oss 17056 1 snd_pcm_oss
snd_via82xx 22688 0
snd_pcm 91168 2 snd_pcm_oss,snd_via82xx
snd_timer 22532 1 snd_pcm
snd_ac97_codec 52900 1 snd_via82xx
snd_page_alloc 9220 2 snd_via82xx,snd_pcm
snd_mpu401_uart 6432 1 snd_via82xx
snd_rawmidi 20768 1 snd_mpu401_uart
snd_seq_device 6504 1 snd_rawmidi
snd 46596 9 snd_pcm_oss,snd_mixer_oss,snd_via82xx,snd_pcm,snd_timer,snd_ac97_codec,snd_mpu401_uart,snd_rawmidi,snd_seq_device
soundcore 7456 1 sndStill having no luck here. I added snd-mixer-oss snd-seq-oss to the /etc/rc.conf. Farphel, you mentioned setting up the /etc/devfsd.conf to link /dev/dsp to the appropriate devfs entry, could you please give me an example of which lines do this.
I also inserted the following into /etc/modprobe.conf
(i take it modules.conf is now ignored with Kernel 2.6?).
alias char-major-116* snd
options snd cards_limit=1
alias snd-card-0 snd-via82xx
alias char-major-14* soundcore
alias sound-slot-0 snd-card-0
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
alias /dev/sound/dsp snd-pcm-oss
alias /dev/sound/sequencer snd-seq-oss
alias /dev/sound/mixer snd-mixer-oss
install snd-via82xx /sbin/modprobe --ignore-install snd-via82xx && { /usr/sbin/alsactl restore; } -
Quake 3 /dev/dsp error
I've done some digging trying to search out a solution to this problem, but I am coming up empty.
Fresh install of Quake 3 Arena. On startup, the console reports:
------- sound initialization -------
/dev/dsp: Device or resource busy
Could not open /dev/dsp
So I have no sound.
The sound device is a C-Media PCI CMI8738-MC6
Kernel = kernel26-2.6.20.4-1
I've got system sounds aplenty, and sounds playing DVDs and such. My user is a member of audio. Let me output more info than is probably useful.
lsmod | grep snd
snd_seq_oss 29184 0
snd_seq_midi_event 6528 1 snd_seq_oss
snd_seq 46672 4 snd_seq_oss,snd_seq_midi_event
snd_pcm_oss 39072 0
snd_mixer_oss 14464 1 snd_pcm_oss
snd_cmipci 30368 3
gameport 11784 1 snd_cmipci
snd_pcm 68484 3 snd_pcm_oss,snd_cmipci
snd_page_alloc 7816 1 snd_pcm
snd_opl3_lib 8576 1 snd_cmipci
snd_timer 18820 4 snd_seq,snd_pcm,snd_opl3_lib
snd_hwdep 7044 1 snd_opl3_lib
snd_mpu401_uart 7040 1 snd_cmipci
snd_rawmidi 19104 1 snd_mpu401_uart
snd_seq_device 6796 4 snd_seq_oss,snd_seq,snd_opl3_lib,snd_rawmidi
snd 43492 16 snd_seq_oss,snd_seq,snd_pcm_oss,snd_mixer_oss,snd_cmipci,snd_pcm,snd_opl3_lib,snd_timer,snd_hwdep,snd_mpu401_uart,snd_rawmidi,snd_seq_device
soundcore 6496 1 snd
ls -la /dev/snd
total 0
drwxr-xr-x 2 root root 0 2007-03-31 13:15 .
drwxr-xr-x 17 root root 0 2007-03-31 19:15 ..
crw-rw---- 1 root audio 116, 0 2007-03-31 13:15 controlC0
crw-rw---- 1 root audio 116, 4 2007-03-31 13:15 hwC0D0
crw-rw---- 1 root audio 116, 24 2007-03-31 13:15 pcmC0D0c
crw-rw---- 1 root audio 116, 16 2007-03-31 13:15 pcmC0D0p
crw-rw---- 1 root audio 116, 17 2007-03-31 13:15 pcmC0D1p
crw-rw---- 1 root audio 116, 26 2007-03-31 13:15 pcmC0D2c
crw-rw---- 1 root audio 116, 18 2007-03-31 13:15 pcmC0D2p
crw-rw---- 1 root audio 116, 1 2007-03-31 13:15 seq
crw-rw---- 1 root audio 116, 33 2007-03-31 13:15 timer
ls -la /dev
lrwxrwxrwx 1 root root 9 2007-03-31 13:15 dsp -> sound/dsp
Any ideas?
Last edited by Rumor (2007-03-31 20:22:55)WhiteMagic wrote:
If I remember correctly this is a rather common problem with quake. I used the following commands to resolve the problem:
echo "quake3.x86 0 0 direct" > /proc/asound/card0/pcm0p/oss
echo "quake3.x86 0 0 disable" > /proc/asound/card0/pcm0c/oss
Not the most elegant solution I think but it worked for me.
YESS!!!
(ioquake has some issues with PB...) -
How to make JACK stop blocking /dev/dsp?
I'm currently using JACK (with -d alsa) for my sound mixing needs. However, some of my applications use OSS exclusively. Is it possible to make JACK unblock /dev/dsp so those apps can use it when JACK is running?
(Note that I don't need mixing of OSS applications - I just want sound to work for them.)oss2jack isn't really what I'm looking for (plus it's a pain in the neck) - I'd just like a way of having OSS apps run without killing JACK, no mixing necessary.
Is it possible I might be able to get aoss to work with the JACK alsa-plugin? I've tried that, but I get no sound. Maybe I need to add something to my asoundrc?
pcm.!default {
type plug
slave { pcm "jack" }
pcm.jack {
type jack
playback_ports {
0 alsa_pcm:playback_1
1 alsa_pcm:playback_2
capture_ports {
0 alsa_pcm:capture_1
1 alsa_pcm:capture_2 -
/dev/dsp can't be opened - permissions reset (solved?)
I'm using udev, and have set up alsa sound on my machine. I kept getting an error when entering KDE that /dev/dsp can't be opened. I checked the audio group and confirmed that I was added there.
I check the /dev files and find that /dev/dsp is assigned to the root group. I changed that to audio. It didn't work, but I figured I'd reboot to get everything reset (I come from the windows world), and it still didn't work. I went back to the /dev files to check things out, and /dev/dsp is again assigned to the root group. What's going on?Thanks; I went back and checked the dev files as indicated and now see how that all works, audio group had permissions.
I was already a part of audio group, but checked it again - and I wasn't any more; not sure of how that happened but I put myself back in it, and now sound works.
I had already gone into the Control Panel and set it up for ALSA, although that was just a guess so I'm glad to know I guessed right.
Now for mplayer and xvid........ -
Capture /dev/dsp?
This is more of a curiosity than a problem, but anyway. I have a Qosmio X300 notebook based on ICH9 chipset with Intel HDA odboard audio. It is a pretty crappy chip and I'd like to capture it's output. (the "what U hear" thingy). I've googled a bit and found few ways how to do that just by picking the correct recording source in alsamixer, but my soundcard doesn't seem to support recording of anything else than microphone input.
Then I had the idea of dumping "cat /dev/dsp" to a file and extract the raw data out of it. Problem is that whenever I do that I always get a file that looks like "80 00 80 00 80 00 ..." if I open it in hexa editor. I can send a data stream to /dev/dsp, i.e. something like "cat /dev/urandom > /dev/dsp" makes my card producing noise. Am I missing something, or is the unability of capturing /dev/dsp just another manifestation of the fact that my soundcard cannot caputre it's output?
I run Arch64 and custom 2.6.32 kernel, I use ALSA for sound and I have no sound server like PulseAudio...Your way of reading from /dev/dsp does not work.
Most probably, your card does not support full duplex, i.e. recording it's own playback. I have the same problem with ICH8.
The only solution to this problem is to use software routing & mixing. Jackd is one option. I used it to do internet radio. You can basically feed your playback into virtual jackd playback device, then internally route it both to the soundcard and virtual recording device.
Last edited by ypnos (2009-12-19 00:22:42) -
For some reason by /dev/dsp dissappeared:
[root@darkwood ~]# ls -l /dev/dsp*
crw-rw---- 1 root audio 14, 19 09-12 15:36 /dev/dsp1
I use emu10k1 and my /dev/dsp always worked with ALSA, what's wrong now?
[root@darkwood ~]# lsmod|grep snd_
snd_seq_dummy 1079 0
snd_seq_oss 25104 0
snd_hda_codec_atihdmi 2095 1
snd_seq_midi_event 4496 1 snd_seq_oss
snd_seq 41752 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_emu10k1 124551 0
snd_hda_intel 19020 0
snd_pcm_oss 33662 0
snd_hda_codec 67274 2 snd_hda_codec_atihdmi,snd_hda_intel
snd_rawmidi 15320 1 snd_emu10k1
snd_ac97_codec 87943 1 snd_emu10k1
snd_seq_device 4369 5 snd_seq_dummy,snd_seq_oss,snd_seq,snd_emu10k1,snd_rawmidi
snd_util_mem 1820 1 snd_emu10k1
snd_hwdep 4764 2 snd_emu10k1,snd_hda_codec
snd_pcm 58308 5 snd_emu10k1,snd_pcm_oss,snd_hda_intel,snd_hda_codec,snd_ac97_codec
snd_timer 15423 3 snd_seq,snd_emu10k1,snd_pcm
snd_page_alloc 5981 3 snd_emu10k1,snd_hda_intel,snd_pcm
snd_mixer_oss 14686 1 snd_pcm_oss
snd 43283 13 snd_seq_oss,snd_seq,snd_emu10k1,snd_pcm_oss,snd_hda_intel,snd_hda_codec,snd_rawmidi,snd_ac97_codec,snd_seq_device,snd_hwdep,snd_pcm,snd_timer,snd_mixer_oss
ac97_bus 762 1 snd_ac97_codec
It works when I symlink /dev/dsp1 to /dev/dsp, but why it's not enabled by default?00-03: ATI HDMI : ATI HDMI : playback 1
01-00: emu10k1 : ADC Capture/Standard PCM Playback : playback 32 : capture 1
01-01: emu10k1 mic : Mic Capture : capture 1
01-02: emu10k1 efx : Multichannel Capture/PT Playback : playback 8 : capture 1
01-03: emu10k1 : Multichannel Playback : playback 1 -
/dev/audio & /dev/dsp gone
today i tried to get my microphone to work, in desperation i completly reinstalled alsa.
mic is now working but /dev/audio and /dev/dsp are gone... ???
edit:
nevermind. it's because i blacklisted snd-pcm-oss
Last edited by awfullyawesome (2009-04-19 00:59:16)Sarah;
Thanks for the response.
I assure you I have searched the whole of forums identified with the sound problems encountered. I would not start a new post if I had not exhausted the material.
I have encountered :
REGISTER ^ sound....et cetera
REGISTER ^snd...et cetera
and as an alternative....
REGISTER sound...etcetera
REGISTER snd.... et cetera
I tried them both!!!
I have entered the long list of ... aliases..more than once!!!
I probably have more entries into various files as suggested by posts that probably need to cleared out.
The significant thing I found by comparing this upgrade with the previous arch 2.4.21-1 was the missing files from /root/dev. The number missing is probably 200 and the significant directories missing are /dev /snd and /dev/sound.
Searching the forum for pertinent information concerning those particular files showed no reference to them. I do not know how they are created. I suspect they weren't properly upgraded when I upgraded to 2.4.24-1.
I am aware of the procedures extant for alsa and its relevant data entries but my post refers to the missing files in /root/dev which by comparison with arch 2.4.21-1 number in the hundreds.
I hope you understand my question better. -
I should say that I managed to get Skype to work by installing the 32-bit alsa-oss and passing Skype through it (i.e. "aoss skype").
What's confusing to me is that, according to ArchWiki, versions 2.0 and up have native ALSA support. This means that alsa-oss should no longer be necessary, right?
Running plain Skype in a terminal, I always get the error "RtApiOss: OSS playback device (/dev/dsp) is busy."
dsp_hijacker has no effect in this case, nor does adding
pcm.dmixout {
# Just pass this on to the system dmix
type plug
slave {
pcm "dmix"
to my ~/.asoundrc (as the wiki suggests). The latter does nothing; running Skype by itself with this modification produces the same error, and Skype with aoss32 works without an .asoundrc.
Is there some obvious solution that I'm missing?
Last edited by cautha (2009-04-03 08:22:32)@themaister: thanks for pointing that out!
I removed those modules from rc.conf and added my soundcard modules (according to wiki):
MODULES=(snd-ice1724 snd-intel8x0 snd-pcm-oss)
I now have "dev/dsp" and "/dev/dsp1", but still no "/dev/sound/dsp" (though I'm not sure if I need this).
Hmmmm... It works! I don't know what did it. I retried several steps of the wiki. The last steps I tried were adding my cards with indices to /etc/modprobe.d/modprobe.conf and having alsaconf set up /dev/modprobe.d/sound.conf. Outputs are stille the same as in my first thread. Maybe I got mixed up along the way with pulseaudio installation/removal and blacklisting modules...
Last edited by JackSchnippes (2010-06-16 22:58:54) -
Running 9i Dev Suite from Solaris server ?
HELP!! Trying to start up the 9i Developers Suite so that I can begin creating Forms and Reports. 9i Enterprise Edition is running on a Unix server. I had the 9i Developers Suite also installed on same server into a new folder OraHome/oracle2. I'm using TedExtend, an Xterm window to access files/folders from a Windows 2000 wrkstn and located the two files: OraHome/bin/f90desm and OraHome/bin/rwbuilder. But I can't get either one of these to run, getting error:
fatal: libjvm.so: open failed: No such file or directory
Killed
Am I missing a step that must be performed prior to running these two, or what?Bill,
I did a search on Metalink and found a LOT of notes on those two error messages. Seems to be something amiss with your environment. Here are some of the articles to check:
Note.24014.1 :FRM 91111 Internal Error window system startup failure.
Note.1075912.6 : Frm-91111 Internal Error - Window System Start Failure
Note.1042246.6 :FRM-91116 and FRM-10039 INTERNAL ORACLE IMAGE STARTUP FAILURE
Note:1012456.6 : HOW TO CHECK X WINDOWS CONFIGURATION -
Many devices missing in /dev inc snd dsp and all fdout
No sound and /dev/snd.../ dev/dsp... among many others.
Is there a package missing from the system?Sarah;
Thanks for the response.
I assure you I have searched the whole of forums identified with the sound problems encountered. I would not start a new post if I had not exhausted the material.
I have encountered :
REGISTER ^ sound....et cetera
REGISTER ^snd...et cetera
and as an alternative....
REGISTER sound...etcetera
REGISTER snd.... et cetera
I tried them both!!!
I have entered the long list of ... aliases..more than once!!!
I probably have more entries into various files as suggested by posts that probably need to cleared out.
The significant thing I found by comparing this upgrade with the previous arch 2.4.21-1 was the missing files from /root/dev. The number missing is probably 200 and the significant directories missing are /dev /snd and /dev/sound.
Searching the forum for pertinent information concerning those particular files showed no reference to them. I do not know how they are created. I suspect they weren't properly upgraded when I upgraded to 2.4.24-1.
I am aware of the procedures extant for alsa and its relevant data entries but my post refers to the missing files in /root/dev which by comparison with arch 2.4.21-1 number in the hundreds.
I hope you understand my question better. -
Prerequisite check of database instance installation failed on Solaris
Dear All,
Please provide your valuable suggestions in resolving the below issue
We are installing the SAP NW 7.4 EP as distributed installation
Application server on RHEL 6 and Oracle database on Solaris 11(SPARC).
We have installed the SCS instance on RHEL with out any issues.
While running prerequisite check of database installation on solaris we are getting below errors.
"Atleast 500MB of free disk space are required for an diagnostic agent installation"
and
"could not evaluate condition obsolete kernel parameters"
In the sapinstdev_log file we are getting below lines.
TRACE
Found 0 MB of free space on /dev
TRACE
Prerequisite Checker performing checks: Condition hardware::disk_space from package ::j2ee_smd_inst evaluated to PRCCondEvalResult.FALSE. Message: 'At least 500 MB of free disk space are required for an Diagnostics Agent installation. Found 0 GB.'.
We have tried to increase space for /dev which is not possible in Solaris (As per the OS team).please find the below reference link.
/dev and the /devices Namespace (System Administration Guide: Oracle Solaris Containers-Resource Management and Oracle S…
The/dev file system is loopback-mounted into the zone using a read-only mount.
Please find the file system created for database instance installation.
Filesystem Size Used Available Capacity Mounted on
rpool/ROOT/solaris 29G 973M 28G 4% /
/dev 0K 0K 0K 0% /dev
rpool/ROOT/solaris/var
29G 49M 28G 1% /var
proc 0K 0K 0K 0% /proc
ctfs 0K 0K 0K 0% /system/contract
mnttab 0K 0K 0K 0% /etc/mnttab
objfs 0K 0K 0K 0% /system/object
swap 30G 1.5G 29G 5% /system/volatile
sharefs 0K 0K 0K 0% /etc/dfs/sharetab
fd 0K 0K 0K 0% /dev/fd
swap 30G 1.5G 29G 5% /tmp
rpool/VARSHARE 29G 40K 28G 1% /var/share
h2hpool1/Dump 40G 9.2G 31G 23% /Dump
rpool/export 29G 32K 28G 1% /export
rpool/export/home 29G 32K 28G 1% /export/home
rpool/export/home/admin
29G 34K 28G 1% /export/home/admin
h2hpool1 244G 31K 235G 1% /h2hpool1
h2hpool1/oracle 180G 36K 180G 1% /oracle
h2hpool1/oracle/EPD 180G 44K 180G 1% /oracle/EPD
h2hpool1/oracle/EPD/112_64
10G 31K 10G 1% /oracle/EPD/112_64
h2hpool1/oracle/EPD/mirrlogA
1.0G 31K 1.0G 1% /oracle/EPD/mirrlogA
h2hpool1/oracle/EPD/mirrlogB
1.0G 31K 1.0G 1% /oracle/EPD/mirrlogB
h2hpool1/oracle/EPD/oraarch
20G 31K 20G 1% /oracle/EPD/oraarch
h2hpool1/oracle/EPD/origlogA
1.0G 31K 1.0G 1% /oracle/EPD/origlogA
h2hpool1/oracle/EPD/origlogB
1.0G 31K 1.0G 1% /oracle/EPD/origlogB
h2hpool1/oracle/EPD/sapdata1
30G 31K 30G 1% /oracle/EPD/sapdata1
h2hpool1/oracle/EPD/sapdata2
30G 31K 30G 1% /oracle/EPD/sapdata2
h2hpool1/oracle/EPD/sapdata3
30G 31K 30G 1% /oracle/EPD/sapdata3
h2hpool1/oracle/EPD/sapdata4
30G 31K 30G 1% /oracle/EPD/sapdata4
h2hpool1/oracle/EPD/sapreorg
2.0G 31K 2.0G 1% /oracle/EPD/sapreorg
h2hpool1/oracle/client
1.0G 31K 1.0G 1% /oracle/client
h2hpool1/oracle/stage
5.0G 31K 5.0G 1% /oracle/stage/112_64
rpool 29G 31K 28G 1% /rpool
h2hpool1/sapmnt 20G 31K 20G 1% /sapmnt
h2hpool1/usr 20G 31K 20G 1% /usr/sapHi Praveen,
It looks to be more permission issue rather than space issue. Ensure the file system where you copied the DVD has full permission.
Check the installation logs for more details on which other file system needs full permission and work accordingly.
Regards,
Deepak Kori -
Building Openssh 3.9p1 on Solaris 10
Building Openssh 3.9p1 on Solaris 10
Openssh will use Openssl's random number source, which uses /dev/urandom.
In Solaris 10, new O_NOFOLLOW interface is introduce and Openssl could not open /dev/* appropriate.
The following instructions show how to install Openssh 3.9p1 on Solaris 10
Components
openssh-3.9p1.tar.gz
http://www.openssh.com
openssl-0.9.7e.tar.gz
http://www.openssl.org
rand_unix.c (Updated Version to fix O_NOFOLLOW is not appropriate when opening /dev/* entries on Solaris 10)
http://cvs.openssl.org/chngview?cn=12824
To Build and Test OpenSSL
Change directories to the openssl-0.9.7e directory
$ rm crypto/rand/rand_unix.c
$ cp ../rand_unix.c crypto/rand/
$ ./Configure solaris-x86-gcc
$ make
$ make test
$ make install
Configuring Openssh
Change directories to the openssh-3.9p1 directory
Reference to Sun BluePrint online, as a best practice, you should build Openssh with the following arguments:
$ ./configure with-pam disable-suid-ssh without-rsh with-lastlog=/var/adm/lastlog prefix=/opt/OBSDssh sysconfdir=/etc/ssh without-privsep-user without-privsep-path without-prngd without-rand-helper with-ssl-dir=/usr/local/ssl with-tcp-wrappers=/usr/sfw
$ make
$ make package
To install Openssh
$ pkgadd -d OpenSSH-OpenSSH_3.9p1-Solaris-i386.pkg
$ cd /etc/ssh
$ rm key
$ # ssh-keygen -t rsa1 -f /usr/local/etc/ssh_host_key -N ""
$ # ssh-keygen -t dsa -f /usr/local/etc/ssh_host_dsa_key -N ""
$ # ssh-keygen -t rsa -f /usr/local/etc/ssh_host_rsa_key -N ""
References
Building OpenSSH--Tools and Tradeoffs
http://www.sun.com/blueprints/0404/817-6261.pdfBuilding Openssh 3.9p1 on Solaris 10
Openssh will use Openssl's random number source, which uses /dev/urandom.
In Solaris 10, new O_NOFOLLOW interface is introduce and Openssl could not open /dev/* appropriate.
The following instructions show how to install Openssh 3.9p1 on Solaris 10
Components
openssh-3.9p1.tar.gz
http://www.openssh.com
openssl-0.9.7e.tar.gz
http://www.openssl.org
rand_unix.c (Updated Version to fix O_NOFOLLOW is not appropriate when opening /dev/* entries on Solaris 10)
http://cvs.openssl.org/chngview?cn=12824
To Build and Test OpenSSL
Change directories to the openssl-0.9.7e directory
$ rm crypto/rand/rand_unix.c
$ cp ../rand_unix.c crypto/rand/
$ ./Configure solaris-x86-gcc
$ make
$ make test
$ make install
Configuring Openssh
Change directories to the openssh-3.9p1 directory
Reference to Sun BluePrint online, as a best practice, you should build Openssh with the following arguments:
$ ./configure with-pam disable-suid-ssh without-rsh with-lastlog=/var/adm/lastlog prefix=/opt/OBSDssh sysconfdir=/etc/ssh without-privsep-user without-privsep-path without-prngd without-rand-helper with-ssl-dir=/usr/local/ssl with-tcp-wrappers=/usr/sfw
$ make
$ make package
To install Openssh
$ pkgadd -d OpenSSH-OpenSSH_3.9p1-Solaris-i386.pkg
$ cd /etc/ssh
$ rm key
$ # ssh-keygen -t rsa1 -f /usr/local/etc/ssh_host_key -N ""
$ # ssh-keygen -t dsa -f /usr/local/etc/ssh_host_dsa_key -N ""
$ # ssh-keygen -t rsa -f /usr/local/etc/ssh_host_rsa_key -N ""
References
Building OpenSSH--Tools and Tradeoffs
http://www.sun.com/blueprints/0404/817-6261.pdf -
Solaris 10: Mounting a extended partition
Hi, I have Solaris 10 installed in a x86 machine.
I have one hard disk with 3 primary partitions (ntfs, ufs, fat32). I have 1 extended partiton that containts 2 partitions (ext3 and fat32).
Can i mount my extended partitions in Solaris?
I mount my first fat32 (hda2 in linux) partition with:
"mount -F pcfs /dev/dsk/c0d0p2 /mnt/ruben"
In wich way can i mount my second fat32 partition?
"mount -F pcfs /dev/dsk/c0d?s?p? /mnt/david"
Can i mount my linux partition?
Finally, in wich way can i mount my Solaris partition in linux?
I try "mount -t ufs /dev/hda3 /mnt/solaris/
" but it doesn't work.
Saludos.
PD: Sorry for my sucks english :)Solaris 10 won't reconize your extended partitions, its limited in primary partitions only at this time. This may change ofcourse, it wouldn't surprise me if you see support appear somewhere in either Solaris Express or a later Open Solaris release.
Mounting your linux partition is therefor only possible if its located on an extended partition. As to Linux itself; it heavily depends on the filesystem. I think to have read somewhere that you can add ext2 support in Solaris, but I don't think that'll work for filesystems like reiser, xfs or ext3. (although the latter might be accessible as ext2).
Finally, a little offtopic (but not too much)... Yes, Linux supports mounting Solaris x86 slices, but its very likely that you'll need to recompile your kernel. You'll need to add UFS filesystem support as well as support for the Solaris/x86 partition table.
I suggest checking out a few howto's on www.tldp.org on instructions how to compile your kernel.
Maybe you are looking for
-
Problem in installing oracle 8.1.6
Hi I am trying to install oracle on linux red hat 7.3 and when i run ./runInstaller then it starts the process but i could see any welcome window. Anyone has any idea or know any documentation about installing oracle on linux. Thanks Syed
-
How can I get i phone 4s to work with a tom tom car kit
I upgraded to an i phone 4s from an I phone 3gs. My tom tom app worked perfectly with the tom tom car kit on my old phone but now I have managed to get it to charge when plugged into the car kit but there is only poor gps reception showing, any Idea
-
How to create a new UoM and assigning it to characteristic?
Hi, How to create a new UoM and assigning it to characteristic? i want to enter cost ( in rupees and laks) against a counter but for that counter charecteristic required and for taht charecteristic unit of measure Rs and Laks are not defined in the s
-
Can I take my iweb application from osx to OS X Lion since OS X Lion does not have IWEB
Is it possible to keep the iweb application from my old computer if I up grade to a new one with OSX LION?
-
Dear all How to get list of Customers created in a month?