make boot floppy problem Deb1.3
I'm experiencing problems installing Debian1.3 from scratch. I followed the Debian1.3 installation guide and opted to install with floppy disks. Everything went swiftly untill I reached the point : Make a Boot floppy After introducing an empty, formatted, write-enabled floppy and hitting enter I get the following messages: Formatting the floppy... Verifying track 0, head 0 end-request:I/O error, dev 02:00, sector 17 end-request:I/O error, dev 02:00, sector 17 Verifying track 0, head 1 end-request:I/O error, dev 02:00, sector 17 end-request:I/O error, dev 02:00, sector 32 Verifying track 0, head 0 end-request:I/O error, dev 02:00, sector 17 end-request:I/O error, dev 02:00, sector 17 Verifying track 0, head 1 end-request:I/O error, dev 02:00, sector 17 end-request:I/O error, dev 02:00, sector 32 After which the installation stops. (does not hang, goes back to menu) I tried different floppies, ... , in vain. Has it got anything to do with the way I configured the device drivers (nothing installed explicitly) or might it be a hardware problem ? I installed it together with an existing MS-DOS using fips to free space for my Linux partitions. Any help for this Linux newbie highly appreciated !! :) Thanks a lot, --Erwin -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
sound under Debian
Hello, I have trouble getting sound out of my PC under Debian. I tried consulting some of the doc's and Linux HOWTO's in vain. (a bit too complex for a Linux newbie I'm afraid) I (seem to) have a "Creative Labs Sound Blaster 16 Plug & Play" soundcard which works when I run under W95. I was able to get some parameters out of my Window$ setup : IRQ=05 I/O : 0220h-022Fh I/O : 0330h-0331h I/O : 0338h-038Bh DMA : 01 DMA : 05 I believe I have to recompile the kernel somehow. Do I need the awe-drv and related packages ? Or do I already have some kind of usefull sound driver by default ? You see I am quite in the dark still. For completeness : I have installed Debian version 1.3 together with a Window$ partition. Many thanks, --Erwin -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
Re: sound under Debian
Just to let you know that I (finally) got my 'SB16 plug & play' soundcard working under debian. I basically followed what was suggested by Will --> make menuconfig Plugged in the IRQ parameters and stuff which I previously obtained from my Window$95 partition. I must admit that I am still not positive wether I selected the correct IO input (I obtained 3 IO ranges from my W95 test whereas I only was asked for one range ?). Probably nothing to worry about since my CD's play fine. I did not select the SB16 as a MODULE though, is that preferable ? Then recompiled the kernel and installed it. After obtaining my zImage I copied it to the correct spot for my loadlin boot procedure. Following the suggestions for plug and play devices I soft rebooted from DOS back into Linux using loadlin, and that's it. (So I did not use isapnptools) It works. Thanks for all help, Will and Hamish. --Erwin -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
minicom, modem questions
Hi there, I am trying to get my modem to communicate with the one at work. Using dial-up networking from window$ works, but it is pretty ennoying to reboot to the window$ OS every time I need my modem. I read the Serial and PPP-HOWTO's as well as the PPP-over-minicom mini-HOWTO. I made sure my modem is configured as described in section 9.3 of the PPP-HOWTO (these were default anyway). The point where I get stuck each time is section 9.5, i.e. testing the modem for dial out. What happens is the following: I start minicom, the modem initializes, I dial my phone-number at work, and after some seconds, ... connection is established. As pointed out it is then question of finding out what the ppp-host requires as login procedure. The trouble is that I never receive any prompt, nor any other "funny characters" as suggested in these HOWTO's. Basically nothing happens. (Remark: I am almost sure that my corporate site uses PAP.) I've already spend too much time on this, hope someone can put me one the right track again, otherwise I will have to abandon the idea. Good help highly appreciated. --Erwin PS. Since a few days (since diving into the above) I keep getting 'lp1 at 0x0378 (polling)' and 'lp1 off-line' in my startup messages (dmesg). Any possible connection or just something else I managed to screw up ? -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
Leftover .debs in /var/cache/apt/archives
Can someone assist me please - I have .deb files left over in my archives folder even though I've apt-moved to a local mirrors folder on CDROM, changing myapt-move.conf each time as appropriate. For example, my sources.list contains - deb http://http.us.debian.org/debian potato main contrib non-free deb ftp://spidermonkey.helixcode.com/distributions/debian unstable main That's all; I've installed potato, kernel 2.2.17pre6 and X from the debian site, and helix-gnome from helix's site. I did an apt-move for both hierarchies (potato from debian and unstable from helixcode) and each time files were moved. However, I have files left over in the /var/cache/apt/archives folder such as xmms_1.2.3-helix1_i386.deb and rep-gtk_0.14-helix2_i386.deb, even though I've specified delete=yes in apt-move.conf. I'm concerned that in the event of a disaster, these files won't be available. Point me in the right direction please?
Re: Leftover .debs in /var/cache/apt/archives
On 5 Oct 2000, Olaf Meeuwissen wrote: > Setting delete=yes in apt-move.conf will delete old .debs from your > mirror (doesn't make much sense on a CDROM though), not from the apt > cache. That there are still .debs in that cache is probably due to > the fact that there are newer versions on your mirror. That's what I thought, but after an 'updatedb', 'locate xmms' reports only the one occurance of xmms_1.2.3-helix1_i386.deb and memprof_0.4.0-helix_i386.deb (for example) - in the archives folder. The same as anyone else, I assume; I run it once with the debian mirror info, and then again with the helixcode info. Regards.
Potato simple backup strategy?
If I keep my local mirror of installed packages (using 'apt-move sync' and dpkg --get-selections > installed.packages) up to date and backed up, and I backup my personal data (I'm including /etc, /home and /var/spool here) on a regular basis, is it safe to assume that in the event of a major disaster all I'd have to do to recover is: 1. install the base system 2. restore the mirrors partition 3. dpkg --get-selections < installed.packages 4. use 'file: /mirrors/debian' in my sources-list 5. apt-get update/upgrade 6. restore personal data I'm backing up to CD-RW. Any suggestions and comments gratefully received. PS. Is the above the longest sentence ever posted here? This email and any attachments are confidential. They may contain privileged information and are intended for the named addressee(s) only. They must not be distributed without our consent. If you are not the intended recipient, please notify us immediately and do not disclose, distribute or retain this email or any part of it. Unless expressly stated, opinions in this email are those of the individual sender and not N Brown Group plc or any of its subsidiaries. You must take full responsibility for virus checking this email and any attachments. Please note that the content of this email or any of its attachments may contain data that falls within the scope of the Data Protection Acts and that you must ensure that any handling or processing of such data by you is fully compliant with the terms and provisions of the Data Protection Act 1984 and 1998. N Brown Group plc. Registered office: 53 Dale Street, Manchester, M60 6ES. Registered in England No.814103.
Problems using php4
Hi all, I apt-get installed php4 and apache recently (running potato, by the way). Apache works fine, but when I try to display a simple php page, Netscape wants to download it as a file. :-( Here's what I have as part of /etc/mime.types... text/html html htm application/x-httpd-php phtml pht php application/x-httpd-php3php3 application/x-httpd-php3-source phps application/x-httpd-php3-preprocessed php3p ...I have these in /etc/apache/httpd.conf... LoadModule php4_module /usr/lib/apache/1.3/libphp4.so AddType application/x-httpd-php .php AddType application/x-httpd-php.source .phps What must I do to get a php page to display properly?
PHP4 & Apache
Could someone please explain, in idiot-level detail, how to get a .php file to display correctly in Netscape. I apt-get installed PHP4 (which included Apache) a few days ago. I've started Apache okay with: LoadModule php4_module /usr/lib/apache/1.3/libphp4.so AddType application/x-httpd-php .php AddType application/x-httpd-php.source .phps in /etc/apache/httpd.conf, and: #AddType application/x-httpd-php3 .phtml #AddType application/x-httpd-php3-source .phps AddType application/x-httpd-php .php3 AddType application/x-httpd-php .php4 AddType application/x-httpd-php .php AddType application/x-httpd-php-source .phps in /etc/apache/srm.conf. I also have: application/x-httpd-php phtml pht php application/x-httpd-php3php3 application/x-httpd-php3-source phps application/x-httpd-php3-preprocessed php3p in /etc/mime.types. I have this simple script called /home/steve/hello.php: PHP Test "; ?> When I open it in Netscape, it wants to save it as a .php file. I've tried running it from /var/www and I get the same result. I've tried setting Netscape to use php for types of application/x-httpd-php but it just says it can't find php. Do I need to start PHP as a daemon or something? What am I missing - this is really starting to annoy me now. Do I need to alter Apache's configuration somehow? Please help! Steve.
PHP4 & Apache
Could someone please explain, in idiot-level detail, how to get a .php file to display correctly in Netscape. I apt-get installed PHP4 (which included Apache) a few days ago. I've started Apache okay with: LoadModule php4_module /usr/lib/apache/1.3/libphp4.so AddType application/x-httpd-php .php AddType application/x-httpd-php.source .phps in /etc/apache/httpd.conf, and: #AddType application/x-httpd-php3 .phtml #AddType application/x-httpd-php3-source .phps AddType application/x-httpd-php .php3 AddType application/x-httpd-php .php4 AddType application/x-httpd-php .php AddType application/x-httpd-php-source .phps in /etc/apache/srm.conf. I also have: application/x-httpd-php phtml pht php application/x-httpd-php3php3 application/x-httpd-php3-source phps application/x-httpd-php3-preprocessed php3p in /etc/mime.types. I have this simple script called /home/steve/hello.php: PHP Test "; ?> When I open it in Netscape, it wants to save it as a .php file. I've tried running it from /var/www and I get the same result. I've tried setting Netscape to use php for types of application/x-httpd-php but it just says it can't find php. Do I need to start PHP as a daemon or something? What am I missing - this is really starting to annoy me now. Do I need to alter Apache's configuration somehow? Please help! Steve.
Re: PHP4 & Apache
On Wed, 11 Oct 2000, Liam Ward wrote: > I'm currently using PHP3 and my config files have similar stuff to > yours (but without the PHP4 bits, obviously enough). > > You're looking in the wrong place here. Netscape does not need to > know anything special to process PHP. It's Apache that spots that the > file is in fact a PHP script and processes it. Netscape just gets > plain old HTML. > > I call my scripts scriptname.php3 (I've always done that and it's > always worked). I just tried renaming a script to .php and it didn't > work. So, my guess is that you should name your script .php4. > Nope - that doesn't work either, it doesn't want to download it, but nothing is displayed. Where are your .php3 files kept, somewhere special? I'm running out of ideas now. I'm obviously missing something because noone else seems to have had this problem. If it hasn't been resolved by tonight, then I'm ripping out PHP4 and Apache and building them from source. I know what'll happen then - the Apache start will fail with syntax errors just like it did when I was using RH6.1! Oh well, either it works for you or it doesn't. Thanks anyway. :-(
Re: PHP4 & Apache
On Wed, 11 Oct 2000, Andrew Sullivan wrote: > Are you sure your script is good? (Did you try a script with _just_ > phpinfo() in it, plus exit;?) I'm now using PHP.net's own example: Example > Does apache have the php module loaded? Yes - see original post in thread. > Do you have a mime-type or an application type set of PHP4? Is it > the same extension? No - I'm not convinced it _should_ be .PHP4, just .PHP. Any help or pointers gratefully recieved. Steve.
Re: PHP4 & Apache
On Wed, 11 Oct 2000 15:10:50 Andrew Sullivan wrote: > called, either. I think you'd need to convince apache that php=php4, > by adding a line > > application/x-httpd-php4 php > > (and, I guess, adjusting the other line that includes "php" not to > include that extension). I might be completely wrong about this, > because I haven't played with the config too much (PHP4 was not ready > when I started the project I'm using PHP3 for, and I'm in no hurry to > go back and re-test everything with PHP4). That didn't work either - thanks for trying, though :-)
PHP - A new approach
After a painful experience trying to get PHP4 working, I'm trying a new approach. I've removed MySQL, PHP4 and Apache completely. Would someone who has successfully installed PHP3 and Apache to a point where they can display a simple .php3 page on Debian 2.2 (potato) system please be kind enough to explain (as if to a child :O)), what steps they took, what extra bits need to be done. Many TIA, Steve.
Re: PHP - A new approach
On Wed, 11 Oct 2000 17:47:49 Andrei Ivanov wrote: > Here's what I did: > 1. Install mysql and mysql-dev. Server and client. > 2. Get php source. > 3. Get apache source > 4. Build apache with DSO support (in the README) > 5. Go to php tree and follow instructions on how to build php with mod_php > for apache. Basically, compile it from source, with some extra > instructions. > And that works perfectly > Andrei So does that mean it can't be done by using apt-get (non-source) packages? That's what I'm after - has anyone done this?
Re: PHP - A new approach
On Wed, 11 Oct 2000 19:19:20 Andrew Sullivan wrote: > Make sure that apache turns on module support for php when it runs > apacheconfig: it never does do this correctly for me, and I _always_ > have to fix it by hand. Make sure that your apache configuration is > set up to process PHP files with the extension that you're actually > using. (I always use .php3, and that appears to work out-of-the-box > when I've tried this.) /etc/apache/httpd.conf contains these: LoadModule php3_module /usr/lib/apache/1.3/libphp3.so AddType application/x-httpd-php3 .php3 I had to uncomment the first one, and my script is now called /home/steve/hello.php3 > Go into /etc/php3/apache/php3.ini and look to make sure that your > (mysql) module is loaded properly (it is never configured to load for > me by default); alternatively, manually call the module for insertion > from inside your PHP scripts. This is slower if you're using the > database on every page. Would you mail me your php3.ini, please? > That's all I've ever done. Good luck. Still doesn't work - netscape still wants to download the file :-(
PHP joy at last!
A really big thanks to everyone who took the time to assist me with my recent PHP and Apache troubles - I really appreciate the effort! :-) I ended up doing what I probably should have done in the first place; installing it all from source. It works just fine now. Thanks again, chaps (and chapesses?) Steve.
Re: PHP joy at last!
After careful consideration, I decided you're right. After all - the package management capability is what I switched to Debian for in the first place! And guess what - I works just fine now! >-\ PHP4, mysql and apache are all installed and running from the .deb packages. Can someone now kindly tell me how to remove the files/directories created by the apache install - there doesnn't seem to be an uninstall script, and I don't wanna delete something I shouldn't :O) Thanks for the perseverance, Will - it paid off in the end :-)
Re: PHP joy at last!
On Sat, 14 Oct 2000 17:02:12 Chris Gray wrote: > If it's a well-made package, there is usually an uninstall rule in the > Makefile. Just "make uninstall" and you're on your way. Unfortunately there isn't one - I'd already tried it :( Does anyone have a map of the dirs/files created so I can remove them manually?
[steve@kinderscout.plus.com: Re: PHP joy at last!]
- Forwarded message from Steve Simons <[EMAIL PROTECTED]> - On Sat, 14 Oct 2000 18:31:49 William Jensen wrote: > > When I've installed things before, and there is no uninstall, I usually > reinstall with 'make install' in one shell, then manually wack each > file in another shell. Not elegant but it might work. Doh! Y didn't I think of that? :O/ It turns out that _everything_ is under /usr/local/apache, so I just capped that directory - easy as that! Stop sniggering at the back - I know it's easy when you know! ;-) Thanks for the tip Will, I promise I'll try to think for myself a little now ;-) - End forwarded message -
Re: PHP joy at last!
- Forwarded message from Steve Simons <[EMAIL PROTECTED]> - Sorry about the dupe - wasn't paying attention. On Sat, 14 Oct 2000 18:31:49 William Jensen wrote: > > When I've installed things before, and there is no uninstall, I usually > reinstall with 'make install' in one shell, then manually wack each > file in another shell. Not elegant but it might work. Doh! Y didn't I think of that? :O/ It turns out that _everything_ is under /usr/local/apache, so I just capped that directory - easy as that! Stop sniggering at the back - I know it's easy when you know! ;-) Thanks for the tip Will, I promise I'll try to think for myself a little now ;-) - End forwarded message -
Downgrading using apt-get?
I've made a bit of a booboo recently. I apt-get installed a recent, unstable version of mysql and it pulled in a few other packages (I can't for the life of me remember what they were). The problem is, licq seems to be broken. I'm running potato, and whatever version of licq is stable at present. When I try to run licq now, I get a load of messages complaining about the IniFile and too many open files: [WRN] IniFile: Warning, failed to find key. File= /home/steve/.licq/owner.uin Section = [user] Key = "RCG" ..etc There's a similar bug been reported (59540) but I can't find any mention of it on SourceForge's site. Anyway, what I want to know is, can I force potato to downgrade to the previous version of whatever it was that caused the problem by using apt-get upgrade somehow? I only have potato and helixcode in my sources.list again, but upgrade and dist-upgrade report nothing to do :( Someone point me in the right direction please, I couldn't face a reinstall now. TIA, Steve.
Help with groups, please.
I want to give full access to /var/www/* to members of the group 'authors'. I created the group with 'groupadd authors', added steve to the group with 'gpasswd -a steve authors' and changed the group of the files with 'chgrp authors /var/www/*'. After logging out and in as steve, why do I get permission denied errors?
Stange Debian boot/install problem
Could anyone please tell me why my Debian 2.2r4 install freezes? I have an eMachines 1.5Ghz P4, 128Mb RAM, 40Gb drive (pri master) with XP installed and partitioned up, 10Gb drive (pri slave) which is empty and is the intended install drive, 40x DVD rom (sec master) and 32x8x4 CD/RW (sec slave). I boot from CDROM and get the Debian boot menu, press enter to continue, and then the boot freezes after the 'md driver 0.36...' message. This is peculiar to Debian as both Mandrake and Redhat install fine. I've tried earlier releases, and booting from floppy disk, all with the same result. I've looked at other bootlogs and they seem to issue 'ide0...' and 'ide1...' messages instead of 'md driver 0.36...' - is this relevant? Please help, it's driving me nuts! ___ Never pay another Internet phone bill! Freeserve AnyTime, for all the Internet access you want, day and night, only £12.99 per month. Sign-up at http://www.freeserve.com/time/anytime
Re: Question to the Debian GNOME maintainers about udev
On Wed, Apr 05, 2006 at 11:54:44AM -0400, Derek Piper wrote: > > Hi, > > I apologise for the cross-posting and if this is not the right forum > in which to bring this up, but I'd like to ask this: *Why* does gnome > have > a dependency to udev? Can it not simply utilize the hotplug features of > udev if it exists and just use the regular /dev directory if not? > I am in this predicament: > > I want to upgrade a couple of machines to kernel 2.6.16 > > Apparently you need a later version of udev than is in the debian stable > branch (0.056). I upgraded another machine to 2.6.16 but not the udev > and it crashed relatively quickly. Updated the udev from backports.org > to 0.087 and all is fine. In doing so it removed gnome from that > machine, not to worry on that one since I wasn't using it anyway. > > The problem is that I have another machine that I use for audio work > that I would like to have the gnome-volume-control available on but I > want to upgrade its kernel too. Now the dependency rears its ugly head > since I can't upgrade udev without uninstalling gnome (I guess because > udev gets uninstalled and then drags off gnome with it). I want the > latest kernel on here to make sure I get all the driver updates since > I'm resolving sound issues. > > If gnome just RECOMMENDED the hotplug/udev package instead of being tied > to it it'd be a *lot* smarter and would allow udev to be upgraded > independently of gnome, which is the way is should be since they really > don't RELY on each other. > > I moved to Debian so I didn't have to do all this dependency-hell like > Redhat so I'm kind of aggravated by it. > > So, back to the original question. Why have a dependency? gnome depends on gnome-volume-manager, which needs hal, which needs udev. And as you probably noticed an stable hal won't work with with unstable udev, which is what causes your problem. Now what the gnome package gives you is the full gnome desktop, which includes gnome-volume-manager, so that's why the dependency is there. You can ofcourse have a gnome desktop without gnome-volume-manager, just remove the gnome, gnome-desktop-environment meta-packages, hal and gnome-volume-manager. But keep the parts of gnome you want. Sjoerd -- It is not doing the thing we like to do, but liking the thing we have to do, that makes life blessed. -- Goethe -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Problem with apt and libstdc++
Hi all I am running Debian 2.2 (potato) i386 and have a problem with (i think) apt. When i try to install c++-compiler, i get the attached messages. i've tried installing libc6 2.1 instead of 2.2, but after installing it (with dpkg) apt-get complains and asks to install all the packages on the machine, including base-files! i've thought that a possible solution would be to rebuild the apt dependancy database in some way. is this possible? or are dependancies stored in the packages themselves? thanks. seth tubby:/# apt-get install c++-compiler Reading Package Lists... Done Building Dependency Tree... Done Note, selecting g++ instead of c++-compiler Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. Since you only requested a single operation it is extremely likely that the package is simply not installable and a bug report against that package should be filed. The following information may help to resolve the situation: Sorry, but the following packages have unmet dependencies: g++: Depends: libstdc++2.10-dev (>= 1:2.95.2-10) but it is not going to be installed E: Sorry, broken packages tubby:/# apt-get install libstdc++2.10-dev Reading Package Lists... Done Building Dependency Tree... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. Since you only requested a single operation it is extremely likely that the package is simply not installable and a bug report against that package should be filed. The following information may help to resolve the situation: Sorry, but the following packages have unmet dependencies: libstdc++2.10-dev: Depends: libc6-dev but it is not going to be installed E: Sorry, broken packages tubby:/# apt-get install libc6-dev Reading Package Lists... Done Building Dependency Tree... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. Since you only requested a single operation it is extremely likely that the package is simply not installable and a bug report against that package should be filed. The following information may help to resolve the situation: Sorry, but the following packages have unmet dependencies: libc6-dev: Depends: libc6 (= 2.1.3-18) but 2.2.2-1 is to be installed E: Sorry, broken packages tubby:/#