Re: Installing DVD-drive (ATAPI) -- replaces cdrom drive / Help needed.
On Wed, Mar 01, 2006 at 02:49:27PM +0100, Søren Christensen wrote: > Hi, > > I have just installed a DVD-burner. It replaces a cdrom-drive. It works, > I can mount a cdrom as I could before, and I have copied a DVD (movie) > with k3b. > > When I look in /dev/ I do not see any dvd-devices. What shall I do to > acces this drive as a DVD-rom, and be able to burn DVDs > > /severino > Perhaps it's not that polite asking again, I know you're all busy, like I am. Where can I find a Howto on installation of a DVD-RW-drive? When booting it is recognized as drive hdc as a CD/DVD-rom. Can i manually create device-files in /dev/ and sym-links to /media/ -- or what is the process to make part of my system. I can mount a DVD-movie, but xine wont play it. What is missing? /severino -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: libsdl and qemu for linux
On 2/28/06, Star King of the Grape Trees <[EMAIL PROTECTED]> wrote: > >>> > >>> > >>Using /dev/hda in qemu while you have partitions on that hard drive > >>mounted and running linux just gives me the cringes. > >> > >> > >> > >perhaps i did not understand correctly what Bellard was intented to say... > >sorry, maybe you're right > > > That should actually work, provided you're using COW (or QCOW) discs, > but it still gives me cringes. > well, actually in a qemu devoted post they adviced me to use the existing windows partition as the img file for qemu... i mean that it could be also a viable idea, not using the original partition directly but as a base-device for a qemu-img, this way i will not write changes resulting from hardware differences directly to the windows partition, only after synchronization in qemu's monitor (or whatever the correct term is) perhaps this is still a fringe to you... :) -- roberto OS: GNU/Linux, Debian Sarge qemu: 0.6.1
Installing packages from source
Hi, I would like to install libgnomeprint-2.2-2.10. On my sarge I got 2.8 and with Abiword, fill justified text using true type font are ill printed. I've read that upgrading libgnomeprint would solve this. The next version of libgnomeprint-2.2 I've found is 2.12 and trying to install as a debian package would upgrade a lot of other libraries. I would like to upgrade to 2.10 only but have not found any debian package of that version. So I have downloaded the source. Now, I have problems with ./configure since a lot of .pc files are missing (I suppose because I have installed those libraries as binaries deb packages. My questions: - would it be easier to make a debian package with ibgnomeprint-2.2-2.10 and to install it next ? is there any explanations on the web on how to do this ? - is there a tool to build these .pc files without having to download all the sources ? Thanks for any help ! François Rappaz
Re: firefox very slow since start of Feb
Mladen Adamovic wrote: Ethan Aubin wrote: Sometime in early February I apt got a new version of Firefox (I'm guessing it was the upgrade to 1.5.dfsg+1.5.0.1-1), and since then the browser is /dog slow/, sporadically taking tens of seconds to respond to input. Has anyone figured out this problem? Perhaps you can better explain sporadically in your sentence? I mean on one computer I'm running Firefox 1.5.0 from mozilla.org and obviouslly it have problem when one open more tabs then one. Often when I open 10 tabs it happen that I takes tens of seconds to respond. So, if you have similar problem it is not because of Debian package probably Firefox related problem. Firefox has a serious memory leak issue, esspecially if you open more the one tab. Make sure that your hard disk is not thrashing due to swap usage. I have to restart firefox every few hours due to this problem to cleanup memory. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: midi support in debian
On Tue, 21 Feb 2006 18:53:55 +0300 Roman Makurin <[EMAIL PROTECTED]> wrote: > 1) $ sudo aptitude install awesfx > 2) Copy from Driver`s CD sound fonts to /usr/share/sounds/sf2 > 2GMGSMT.SF2 > 4GMGSMT.SF2 > 3) $ sudo modprobe snd_emu10k1_synth > 4) $ asfxload 4GMGSMT > 5) $ pmidi -l > Port Client name Port name > 62:0 Midi Through Midi Through Port-0 > 64:0 EMU10K1 MPU-401 (UART)EMU10K1 MPU-401 (UART) > 65:0 Emu10k1 WaveTable Emu10k1 Port 0 > 65:1 Emu10k1 WaveTable Emu10k1 Port 1 > 65:2 Emu10k1 WaveTable Emu10k1 Port 2 > 65:3 Emu10k1 WaveTable Emu10k1 Port 3 > 6) $ pmidi -p 65:0 ~/Desktop/MIDI/X-S1AALL.MID > there is nothing happened on this step Hmmm, my last message got bounced back, but that's OK since then I have found something new. A little package called ld10k1 (LDtenKone). On my system with ld10k1 installed/enabled it seems to screw with the mixer stuff causing only an OSS like subset of the sliders to show up. I uninstalled this package and things seem to work as expected. I have to try the instructions in the awesfx documentation about getting the soundfont loaded during boot up. During my experimentation I have modified a line in /etc/modprobe.d/alsabase from: install snd-emu10k1-synth modprobe --ignore-install snd-emu10k1-synth && /usr/bin/asfxload PC51d && /lib/alsa/modprobe-post-install snd-emu10k1-synth : to: install snd-emu10k1-synth modprobe --ignore-install snd-emu10k1-synth && /usr/bin/asfxload PC51d && /lib/alsa/modprobe-post-install snd-emu10k1-synth : for the dense each 'install blah blah' line above should be a single line in /etc/modprobe.d/alsa-base. ;) This works but it is not optimal as this file will surely get over written on future updates making it necessary to do it again, so only do the above if the instructions in /usr/share/doc/awesfx/README.Debian don't work for you. Later, Seeker -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: 2.6 compilation woes...
Colin wrote: Doofus wrote: Now I'm bamboozled. If I compile a kernel using the identical .config file that was used to compile the working and running kernel and it won't boot properly, then my powers of fault finding dry up. I'd be mightily grateful if anyone can give me any ideas as to where the problem may lie, or other things to try. If you're compiling the kernel The Debian Way(tm), then you're missing one critical option: --initrd This option will create an initrd file which contains a whole lot of kernel modules which may or may not be used on your system. This file is loaded when booting the system. If the filesystem is specified as a kernel module and you don't create a initrd file, then the kernel modules are _not_ loaded on startup so the system does not know how to read your filesystem. In short, you have two options: create an initrd file with your kernel or compile the options you want directly into the kernel (namely your filesystem and IDE controller). Colin, You're right of course, and I think I'm there now. Even though I'd compiled reiserfs and ext2fs into the kernel, all the IDE drivers were still modularised, so linking these into the kernel got the machine booted ok. My question now is: which is the better kernel build method, initrd where everything can be just modularised and there's not much else to worry about, or compiling the necessary core drivers into the kernel and loading other modules on-the-fly as needed (which is what I've always done with 2.4 kernels)? The first of these seems clearly the easier path to take, but isn't the second methos using kmod a better/more optimum method? As said, I've never used initrd in the past and I've learned a great deal since starting this thread and reading your and anoop's replies. Many thanks to you both. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: printing problem
Þann 2006-03-01, 12:54:20 (-0500) skrifaði Kevin B. McCarty: > Olafur Jens Sigurdsson wrote: > > > Ãann 2006-02-13, 13:07:46 (+) skrifaði Olafur Jens Sigurdsson: > >> Hi > >> > >> I have a problem printing to a network printer here at school. > >> > >> The spool that the school provides is no good so I am trying to create > >> my own on my computer and talk directly to the printer (then I allso > >> have better control over my printing, I like that more). > > > Hi again, after trying a few stuff out I think that when I try to > > print using lp -dojs (or lpr -Pojs, where ojs is the name of the > > printer queue I set up for the printer) then that program tries to > > contact the server of the school, and not my local cups server where > > of couse there is no ojs spool. How do I tell lp (or lpr) to use the > > localhost cups server and not the one that the school provides? > > Have you tried changing the setting of ServerName in the file > /etc/cups/client.conf (and then running "/etc/init.d/cupsys restart") ? > > /usr/bin/lpr is the version of lpr in the cupsys-bsd package, right? > (Run "dpkg -S /usr/bin/lpr" to check) Kevin you master! Thank you a billion times, now it works like a charme! I had looked throug the cupsd.conf file a few times but by some reason I overlooked the client.conf file :-) But then I have the question why on earth did it choose my school CUPS deamon instead of the localhost to put as a default server? Should I file this as a bug? Oli -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: ready to use debian or ubuntu laptop reccomendations?
Andrew Cady wrote: (If you're thinking that just because Dell can't switch to Linux they have no power, consider that they *could* start shipping PCs with Firefox, or servers optionally with Linux, or PCs without OSes). I am very certain that Dell does sell servers that optionally have Linux, and even says this on their website. This is on: http://www1.ap.dell.com/content/products/productdetails.aspx/pedge_sc1425_au?c=au&l=en&s=lca # To ease purchasing and deployment, Dell offers validated, configured & supported */SC/*1425 cluster bundles (8, 16, 32, 64, 128 and 256 nodes). # The bundles are built on Linux^® RHEL 3 ES/WS and are offered with four different interconnects: Fast Ethernet, Gigabit Ethernet^1 , Myrinet and Infiniband. That is definetly Linux. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
xorg sdk
hi guys, which packages i need to install to have 'xorg sdk'? i need it to build wacom_drv for graphire4 tablet (btw, does anyone have experience with making this to work under linux?), however i cannot find it anywhere. thanks for help. regards, -- Lubos [EMAIL PROTECTED]" -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: ready to use debian or ubuntu laptop reccomendations?
Star King of the Grape Trees wrote: Andrew Cady wrote: (If you're thinking that just because Dell can't switch to Linux they have no power, consider that they *could* start shipping PCs with Firefox, or servers optionally with Linux, or PCs without OSes). I am very certain that Dell does sell servers that optionally have Linux, Absolutely. We buy 1750s at work by the hundred, supplied without any MS products. Not sure if they're actually preloaded with Redhat, but Redhat is supplied along with linux-specific utilities and documentation from Dell. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: 2.6 compilation woes...
On 3/2/06, Doofus <[EMAIL PROTECTED]> wrote: > anoop aryal wrote: > > >On Wednesday 01 March 2006 05:32 pm, Doofus wrote: > > > > > >>Hi, > >> > >>I hope someone can help me out here. > >>I'm finding 2.6 quite complex compared with the 2.4 kernels which I > >>understood and was comfortable with. > >> > >>I've recently installed sarge over the net and chose kernel 2.6 to > >>initially run with. Everything worked well. > >>I then got the 2.6 source from my debian mirror and did my first > >>compilation (make menuconfig, make-kpkg clean, make-kpkg > >>kernel_image, dpkg -i ../*.deb), using the default (and working) .config > >>file in /boot as a starting point. > >> > >> This also went went well even though I still don't fully understand > >>every aspect of the source tree. > >> > >>My problem: > >>When I choose the newly compiled kernel from the grub boot menu I get, > >>early in the boot process: > >> > >>Kernel panic: VFS: Unable to mount root fs on unknown-block (0,0) > >> > >> > >>I resolved to do some more compiles, only making changes to the default > >>configuration by one section at a time, in a process-of-elimination > >>effort to find where the problem is, but even after the first > >>compilation when the only change I'd made was the processor type, I > >>still had the same boot failure. > >> > >>So, I cleaned the source tree and compiled another kernel using the > >>completely unmodified .config file that came with the working default > >>2.6 sarge installaion. And you guessed it - another kernel panic. > >> > >>Now I'm bamboozled. If I compile a kernel using the identical .config > >>file that was used to compile the working and running kernel and it > >>won't boot properly, then my powers of fault finding dry up. I'd be > >>mightily grateful if anyone can give me any ideas as to where the > >>problem may lie, or other things to try. > >> > >> > >>Configuration: > >> > >>Dell Inspiron 8200 P4 laptop > >>hda1/boot (ext2) > >>hda2WinXP (ntfs) > >>hda3FAT32 > >>hda5/home (reiser) > >>hda6/ (reiser) > >>hda7swap > >> > >> > >>Original working and new unworking sections of menu.lst: > >> > >>titleDebian GNU/Linux, kernel 2.6.8-2-686 > >>root (hd0,0) > >>kernel /vmlinuz-2.6.8-2-686 root=/dev/hda6 ro > >>initrd /initrd.img-2.6.8-2-686 > >>savedefault > >>boot > >> > >> > >>titleDebian GNU/Linux, kernel 2.6.8 > >>root (hd0,0) > >>kernel /vmlinuz-2.6.8 root=/dev/hda6 ro > >>savedefault > >>boot > >> > >> > >>Thanks again for any help offered. > >> > >> > > > >you didn't mention which one was the working stanza and which one was the non > >working one. > > > >you probably need the modules for riser fs either compiled into the kernel > >(if > >you don't want an initrd line like in the second stanza), or, you can have it > >built as a module but make sure mkinitrd knows to create the initrd with the > >riserfs module in the initrd. > > > >you may want to copy /etc/modules into /etc/mkinitrd/modules and tweak it so > >that you only leave in the modules you need to boot with. > > > Thanks for this. > > The working stanza was the first one quoted above. The second one was > added by kernel-package after compiling the new kernel. I'm having > trouble seeing past the fact that the .config file I'm compiling against > is *precisely* the one that the working default kernel was built with, > and yet the new build doesn't work. I thought the kernel-package would > take care of the boot environment and menu.lst stanzas automatically, > including any initrd images, but maybe it's not that simple... > > I've never had anything to do with initrd images before and don't > particularly see any need to do so. After reading your reply I > recompiled with ext2 and reiserfs compiled permanently into the kernel, > but I still have the same kernel panic. > > I don't know where to go from here. Except maybe back to 2.4 :O( > Just a guess, do not forget to compile your disk controlers into the kernel. Everything the kernel needs to get the disk working needs to be compiled into the kernel. Good luck. Ramiro.
Re: xorg sdk
On Thu, Mar 02, 2006 at 10:27:23AM +0100, Lubos Vrbka wrote: > hi guys, > > which packages i need to install to have 'xorg sdk'? i need it to build > wacom_drv for graphire4 tablet (btw, does anyone have experience with > making this to work under linux?), however i cannot find it anywhere. Hi Lubos, not sure what you mean but if you compiling some xorg software you need development packages. These are the ones in debian that have package names that end in -dev. So: apt-cache search xorg|grep "\-dev" may show you what you are looking for. Cheers, Kev -- | .''`. == Debian GNU/Linux == | my web site: | | : :' : The Universal | debian.home.pipeline.com | | `. `' Operating System| go to counter.li.org and | | `-http://www.debian.org/ |be counted! #238656 | | my keysever: pgp.mit.edu | my NPO: cfsg.org | signature.asc Description: Digital signature
Re: xorg sdk
Þann 2006-03-02, 04:50:52 (-0500) skrifaði Kevin Mark: > On Thu, Mar 02, 2006 at 10:27:23AM +0100, Lubos Vrbka wrote: > > hi guys, > > > > which packages i need to install to have 'xorg sdk'? i need it to build > > wacom_drv for graphire4 tablet (btw, does anyone have experience with > > making this to work under linux?), however i cannot find it anywhere. > Hi Lubos, > not sure what you mean but if you compiling some xorg software you need > development packages. These are the ones in debian that have package > names that end in -dev. So: > apt-cache search xorg|grep "\-dev" > may show you what you are looking for. Or if you know which files you need then you can use apt-file to search for them and it will show you in which packages they are. Oli -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: static route in /etc/network/interfaces won't take
Henry Hollenberg a écrit : Hey gang, I added some routes in /etc/network/interfaces: auto eth0 iface eth0 inet static address 10.x.y.z netmask 255.255.255.0 broadcast 10.x.y.255 gateway 10.x.y.1 up /sbin/route add -net 10.a.b.0/16 gw 10.x.y.250 down /sbin/route del -net 10.a.b.0/16 gw 10.x.y.250 which fails to add any routes when I run /etc/init.d/networking restart but errors out with: * /etc/network/options is deprecated. means that you have to use sysctl.conf instead Setting up IP spoofing protection...done (rp_filter). Reconfiguring network interfaces...ifup: interface lo already configured SIOCADDRT: File exists you probably already have that particular route active. Failed to bring up eth0. done. What am I leaving out? hgh. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: 2.6 compilation woes...
Doofus wrote: Colin wrote: Doofus wrote: Now I'm bamboozled. If I compile a kernel using the identical .config file that was used to compile the working and running kernel and it won't boot properly, then my powers of fault finding dry up. I'd be mightily grateful if anyone can give me any ideas as to where the problem may lie, or other things to try. If you're compiling the kernel The Debian Way(tm), then you're missing one critical option: --initrd This option will create an initrd file which contains a whole lot of kernel modules which may or may not be used on your system. This file is loaded when booting the system. If the filesystem is specified as a kernel module and you don't create a initrd file, then the kernel modules are _not_ loaded on startup so the system does not know how to read your filesystem. In short, you have two options: create an initrd file with your kernel or compile the options you want directly into the kernel (namely your filesystem and IDE controller). Colin, You're right of course, and I think I'm there now. Even though I'd compiled reiserfs and ext2fs into the kernel, all the IDE drivers were still modularised, so linking these into the kernel got the machine booted ok. My question now is: which is the better kernel build method, initrd where everything can be just modularised and there's not much else to worry about, or compiling the necessary core drivers into the kernel and loading other modules on-the-fly as needed (which is what I've always done with 2.4 kernels)? The first of these seems clearly the easier path to take, but isn't the second methos using kmod a better/more optimum method? Without using initrd the kernel will boot faster; The reason distribution kernels always use initrd is, that way they can have just all modules and only those needed for the used hardware will stay in memory; having all builtin would take more memory after the boot As someone else noted, ensure support for your hard disk is also builtin You're almost there probably (note that it's probably just as hard to use the config file of the distribution 2.4.x kernels, those use initrd too) HTH, Joris -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Sun or SuperMicro: Which to choose
Hi, I'm not used to use Linux with new hardware :-) But todays new server hardware is so cheap that i'm gonna buy something. My budget is around 1500 euros and I want a 1u high Opteron 175 dual core server system with 2gb mem and 2 x 180 GB disks. IPMI is a an nice extra but not a reason to go over the 1500 :-) In my search i have found 2 systems: Sun fire X2100: in the config above it's around 1500 euro's http://www.ahead-it.be/shop/configure.php?id=839 SuperMicro 1U servercase with a SuperMicroH8SSL-i ServerBoard http://www.ahead-it.be/shop/configure.php?id=829 Both systems feature the same options, The Sun has a nForce4 chipset while the SuperMicro hase a serverworks ht1000 chip... The SuperMicro has a bit more options,but i'm unsure if i'm even gonna used them... IPMI is 1/3 (50 eu) cheaper that Suns (150 eu)... So i guess it's more who's marketting machine to follow? Here's a benchmark for the SUN. I did not find any for the SuperMicro: Benchmark This itself may be a reason to choose for the SUN ofcourse. Other reasons for choosing are faster=beter! Stability is beter... Linux support is a must (both systems are ok there, at least they claim :-) Does anyone know the difference between the chipsets? Maybe someone has both systems? Which would you choose and why? Thanks Bart -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
User And Group create failures - sarge
Hi, I have done a fair bit of googling, and spent a while on freenode on this problem, fyi, I did rtfm ;) I would very much appreciate some word on this, as I am stuck. Basically, Ive seen this happen once before with clamav package, and now with the bind package. I know this is not a package related problem, hence my post here. In this case, I must create a group, bind: # addgroup --system bind Adding group `bind' (111)... Done. Obviously this worked: # getent group bind bind:x:111: but now I have to create a user, in that group: # adduser --system --home /var/cache/bind --no-create-home --disabled-password --ingroup bind bind adduser: The group `bind' does not exist. How is this possible ? Sometimes lucky and that sequence works, but I need it to work everytime, on all my debian machines. I would be glad if anyone could tell me why this "group not found" problem occurs, and how I could vent it out. Thanks in advance, regards Marlon -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: xorg sdk
hi, not sure what you mean but if you compiling some xorg software you need development packages. These are the ones in debian that have package names that end in -dev. So: apt-cache search xorg|grep "\-dev" may show you what you are looking for. yes, i know and tried that, but: apt-cache search xorg | grep dev libglu1-xorg-dev - Mesa OpenGL utility library development files [X.Org] pm-dev - proxy management protocol development files nvidia-glx-legacy-dev - NVIDIA binary XFree86 4.x driver development files i was looking for xf86Version.h: apt-file search xf86Version.h gives nothing... fortunately i was able to make it working using another way... thanks, -- Lubos [EMAIL PROTECTED]" -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
loading modules (or not!)
Hello all, I'm puzzled by the module system for kernel 2.6. Everything's working fine, that's a point, but still.. I used make-kpkg to create my kernel and modules, in this case ipw2100 and ieee_sth. After installing them, I notice that they get automatically loaded at boot. Well, modules.dep was update. But what if one wants to control which modules are loaded at boot? I read the man pages but didn't find anything conclusive. Only the old modutils pages had something about it. I'm sure there's a way to manually define the modules being loaded. I suppose it would involve some file in modprobe sintax, but which? Regards, Renato -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
how to configure adsl modem (sagem 800)
Hi everybody my friend wnats to switch from window$ to linux and use the adsl connexion (modem SAGEM 800). His has of cource a login and a passwd. When we switch to linux ( debian) and install the product, it gives a list of ISP with VPI and VCI ( what are ??), and asked to choose one of them, like this AT01 : Austria 01 20 06 PPPoA VC BE01 : Belgique Belgacom, Tiscali.be 08 23 06 PPPoA VC BR01 : Brasil Speedy/Telefonica08 23 01 PPPoE LLC BR02 : Brasil Velox/Telemar00 21 01 PPPoE LLC BR03 : Brasil Turbo/Brasil Telecom 00 23 01 PPPoE LLC BR04 : Brasil Rio Grande do Sul (RS) 01 20 01 PPPoE LLC .. but my country ( algeria) doesn't exit in the list ?? These questions are not asked in windows installation!!! thank you for help best regards bela __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Kernel Panic (using make-kpkg & dpkg)
Hi,I am currently running Debian Sarge testing.GCC version is 3.3.4I needed to compile and install 2.6.15used $make-kpkg kernel_image$dpkg --install kernel-2.6.15*.debNow when I try reebooting into the new kernel, I get: VFS: Cannot open root device "hdas" or unknown-block(0,0)Please append a correct "root=" boot optionKernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) I see that the device entry for the default(working) kernel is the same.The new root entry is made automatically when update-grub is run at the end of 'dpkg'I see that there is no initrd entry. Could that be the reason ? Please let me know.-- Regards,Harish G. Naikhttp://hnaik.net
Re: Kernel Panic (using make-kpkg & dpkg)
On Thu, Mar 02, 2006 at 04:54:42PM +0530, Harish G. Naik wrote: > Hi, > > I am currently running Debian Sarge testing. > GCC version is 3.3.4 > > I needed to compile and install 2.6.15 > used > $make-kpkg kernel_image > $dpkg --install kernel-2.6.15*.deb > > Now when I try reebooting into the new kernel, I get: > > VFS: Cannot open root device "hdas" or unknown-block(0,0) > Please append a correct "root=" boot option > Kernel panic - not syncing: VFS: Unable to mount root fs on > unknown-block(0,0) > > I see that the device entry for the default(working) kernel is the same. > The new root entry is made automatically when update-grub is run at the end > of 'dpkg' > I see that there is no initrd entry. Could that be the reason ? > > Please let me know. > > -- > Regards, > Harish G. Naik > http://hnaik.net Maby using SATA disks Regards, Mike -- ++ | +-+ Digitally Enhanced | | |-O-O-| Portrait of: | | | % | Mike van Vugt | | | --- | Unix Engineer | | +-+ Snow http://snow.nl| ++ UNPRECEDENTED PERFORMANCE: nothing we had before ever worked this way -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Kernel Panic (using make-kpkg & dpkg)
Hi,I am currently running Debian Sarge testing.GCC version is 3.3.4I needed to compile and install 2.6.15used $make-kpkg kernel_image$dpkg --install kernel-2.6.15*.deb Now when I try reebooting into the new kernel, I get: VFS: Cannot open root device "hdas" or unknown-block(0,0)Please append a correct "root=" boot optionKernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) I see that the device entry for the default(working) kernel is the same.The new root entry is made automatically when update-grub is run at the end of 'dpkg'I see that there is no initrd entry. Could that be the reason ? Please let me know.-- Regards,Harish G. Naik http://hnaik.net
Re: xrdb questions
Andrew Cady <[EMAIL PROTECTED]> writes: > On Wed, Mar 01, 2006 at 04:37:39PM -0600, Robert D. Crawford wrote: >> I did forget to mention that if I run >> >> xrdb --query >> >> I do see the emacs and rxvt stuff , and if I exit emacs and rxvt and >> start them up again, things are fine. >> > The problem is probably that X resources are (by default) cleared when > the last client disconnects from the X server. > I am not sure that I was clear. I do not want the resources cleared. I just thought that they should be in place _before_ any clients were opened. Here, minus a few steps, I am sure, is what I thought should happen: 1. startx reads the ~/.xinitrc file to see what to start 2. As it moves through the script, it loads X. 3. after X is loaded, xrdb is run with .Xdefaults as its argument. 4. the window manager, fvwm in this case, is started from the .xinitrc script. 5. "control" goes to the .fvwm2rc file which starts fvwm and whatever clients have been specified. In the above case, the resources should be loaded and available for x clients _before_ any clients, including the wm, are loaded. As nothing seems to be getting the settings until I close and restart those clients, in this case rxvt and emacs, I can only assume that the resources are not available until _after_ the programs are loaded. My question is why? rdc -- :|:|:|:|:|:|:|:|:|:|:|:|:|:|:|:|:|:|:|:|:|:|:|:|:|:|:|:|:|:|:|:|:|:|:|:|:|: Robert D. Crawford [EMAIL PROTECTED] Q: What do you have when you have a lawyer buried up to his neck in sand? A: Not enough sand. :|:|:|:|:|:|:|:|:|:|:|:|:|:|:|:|:|:|:|:|:|:|:|:|:|:|:|:|:|:|:|:|:|:|:|:|:|: -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: User And Group create failures - sarge
Þann 2006-03-02, 12:29:19 (+0200) skrifaði Marlon v/d Linde :: Clue: > # addgroup --system bind > Adding group `bind' (111)... > Done. > > Obviously this worked: > > # getent group bind > bind:x:111: > > > but now I have to create a user, in that group: > > # adduser --system --home /var/cache/bind --no-create-home > --disabled-password > --ingroup bind bind > adduser: The group `bind' does not exist. Does using --gid 111 instead of --ingroup bind work? Oli -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: xrdb questions
John <[EMAIL PROTECTED]> writes: >> I am using fvwm with no dm. I have been working on this problem for >> a while and cannot seem to get it sorted. I have the line: >> >> xrdb ~/.Xdefaults >> >> in my .xinitrc file. The settings in there, however, are not being >> read > > Have you tried "xrdb -merge ~/.Xresources"? No. There are 2 .Xresources files on the system. They are: [EMAIL PROTECTED]:~/mutella$ locate xresources /etc/X11/Xsession.d/30x11-common_xresources /etc/X11/Xsession.d/30xfree86-common_xresources Should I have one of those in my $HOME? rdc -- :|:|:|:|:|:|:|:|:|:|:|:|:|:|:|:|:|:|:|:|:|:|:|:|:|:|:|:|:|:|:|:|:|:|:|:|:|: Robert D. Crawford [EMAIL PROTECTED] Q: What do you have when you have a lawyer buried up to his neck in sand? A: Not enough sand. :|:|:|:|:|:|:|:|:|:|:|:|:|:|:|:|:|:|:|:|:|:|:|:|:|:|:|:|:|:|:|:|:|:|:|:|:|: -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: loading modules (or not!)
Þann 2006-03-02, 11:53:50 (+0100) skrifaði Renato Serodio: > Hello all, > > I'm puzzled by the module system for kernel 2.6. Everything's working > fine, that's a point, but still.. > > I used make-kpkg to create my kernel and modules, in this case ipw2100 > and ieee_sth. After installing them, I notice that they get > automatically loaded at boot. Well, modules.dep was update. > > But what if one wants to control which modules are loaded at boot? I > read the man pages but didn't find anything conclusive. Only the old > modutils pages had something about it. > > I'm sure there's a way to manually define the modules being loaded. I > suppose it would involve some file in modprobe sintax, but which? Hi Now, I havent tried this program out but it lookst by its description that it does what you want to do, the package is called modconf, just apt-get install modconf and try it out. Oli -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: xrdb questions
On Thu, Mar 02, 2006 at 05:18:15AM -0600, Robert D. Crawford wrote: > Andrew Cady <[EMAIL PROTECTED]> writes: > > > On Wed, Mar 01, 2006 at 04:37:39PM -0600, Robert D. Crawford wrote: > >> I did forget to mention that if I run > >> > >> xrdb --query > >> > >> I do see the emacs and rxvt stuff , and if I exit emacs and rxvt and > >> start them up again, things are fine. > >> > > The problem is probably that X resources are (by default) cleared when > > the last client disconnects from the X server. > > I am not sure that I was clear. I do not want the resources cleared. Please re-read my post. I know you don't want the resources cleared. That's why I told you how to avoid it! -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Looking for someone who really knows the USB subsystem
I have an IR remote control with a USB reciever which identifies itslef as a keyboard mouse combo. The problem is that half the buttons signals are not being picked up by the driver that is used by default. I don't know enough to even lookup how to fix this. I'm hoping to start by mounting the device in such a way that I cat a /dev/ address and see a signal for every button. From there I will work on something to handle those signals I would just like to know how to get started. -- Thank you for your time, --==<< R i c h a r d B r o n o s k y >>==--
trying to use Knoppis to recover unbootable debian linux drive
Greetings. I'm still trying to recover data from a drive that won't mount, and in spite of lots of help from this list, I haven't accomplished it yet. My current plan of attack is to try to boot on Knoppix and copy to a USB thumb drive. I've learned the obvious stuff ... I've mounted my hard drive, changed the mount to RW, unselected the the "read only" button on the Properties-->Device tab, changed all permission to "Read and Write" but i STILL get some folders that are locked and give the error message, "You do not have permissions to read this file." Any ideas what am I doing wrong? Thanks in advance for the help. Kenn -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: loading modules (or not!)
I did install modconf, but it was actually made redundand by the new module-init-tools architecture: you'll notice it will write to /etc/modules, which appears to be there for backward compatibility.
Re: printing problem
Olafur Jens Sigurdsson wrote: > Þann 2006-03-01, 12:54:20 (-0500) skrifaði Kevin B. McCarty: >>Olafur Jens Sigurdsson wrote: >>>Hi again, after trying a few stuff out I think that when I try to >>>print using lp -dojs (or lpr -Pojs, where ojs is the name of the >>>printer queue I set up for the printer) then that program tries to >>>contact the server of the school, and not my local cups server where >>>of couse there is no ojs spool. How do I tell lp (or lpr) to use the >>>localhost cups server and not the one that the school provides? >> >>Have you tried changing the setting of ServerName in the file >>/etc/cups/client.conf (and then running "/etc/init.d/cupsys restart") ? >> >>/usr/bin/lpr is the version of lpr in the cupsys-bsd package, right? >>(Run "dpkg -S /usr/bin/lpr" to check) > > Kevin you master! > > Thank you a billion times, now it works like a charme! > > I had looked throug the cupsd.conf file a few times but by some reason > I overlooked the client.conf file :-) > > But then I have the question why on earth did it choose my school CUPS > deamon instead of the localhost to put as a default server? Should I > file this as a bug? That is rather strange. I'm surprised that localhost isn't the default. Maybe CUPS checks for print servers broadcasting their availability on the net, and only falls back to localhost if none are found? I'm no CUPS expert, though, so maybe someone who knows more about it could correct me and suggest whether this is really a bug. best regards, -- Kevin B. McCarty <[EMAIL PROTECTED]> Physics Department WWW: http://www.princeton.edu/~kmccarty/Princeton University GPG: public key ID 4F83C751 Princeton, NJ 08544 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Kernel Panic (using make-kpkg & dpkg)
Harish G. Naik wrote: Hi, I am currently running Debian Sarge testing. GCC version is 3.3.4 I needed to compile and install 2.6.15 used $make-kpkg kernel_image $dpkg --install kernel-2.6.15*.deb Now when I try reebooting into the new kernel, I get: VFS: Cannot open root device "hdas" or unknown-block(0,0) Please append a correct "root=" boot option Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) I see that the device entry for the default(working) kernel is the same. The new root entry is made automatically when update-grub is run at the end of 'dpkg' I see that there is no initrd entry. Could that be the reason ? Yes, that's probably the reason. See yesterday's thread "2.6 compilation woes..." My understanding is: If you don't include the switch "--initrd" on your "make-kpkg" command line then you *must* compile the drivers for your hard disks and the filesystems you're using permanently into the kernel (ie choose compile option "Y", not "M" for these drivers). If you do include the switch "--initrd", then you can make modules out of everything and the system will load everything appropriate for your hardware during boot, which seems to me a rather nice way of finding out what hardware you actually have in your machine. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: 2.6 compilation woes...
Do you make an initrd with your kernel? If you are using resierfile, then you probably need one. Use mkinitrd so make it as yaird (newer stuff) will often not work right. Otherwize, try to compile in everything you need for your root file system. Yaird has options that will give you a good starting list (even if it seemingly ignores this list when it makes the initrd :-) ) I compiled in for my ext3. Look ma, no initrd, no fuss, no muss. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
USB-memorystick fails to mount on laptop (Sarge, kernel 2.6.8)
I have a problem with mounting an USB-memorystick on my laptop (HP/Compaq Presario 2100) The laptop is a dualboot machine, and when I run Win XP there is no problem with the memory-stick (except that the USB-stick is USB2.0, and the port on the laptop is USB1.1) I can use the memorystick with my workstation running Sarge, kernel 2.4.27 How can I make this stick work? /severino Here is the output of dmesg: O error on device sda1, logical block 1003423844 Buffer I/O error on device sda1, logical block 1003423845 Buffer I/O error on device sda1, logical block 1003423846 Buffer I/O error on device sda1, logical block 1003423847 Buffer I/O error on device sda1, logical block 1003423848 Buffer I/O error on device sda1, logical block 1003423849 Buffer I/O error on device sda1, logical block 1003423850 Buffer I/O error on device sda1, logical block 1003423851 Buffer I/O error on device sda1, logical block 1003423852 Buffer I/O error on device sda1, logical block 1003423853 Buffer I/O error on device sda1, logical block 1003423854 Buffer I/O error on device sda1, logical block 1003423855 Buffer I/O error on device sda1, logical block 1003423856 Buffer I/O error on device sda1, logical block 1003423857 Buffer I/O error on device sda1, logical block 1003423858 Buffer I/O error on device sda1, logical block 1003423859 Buffer I/O error on device sda1, logical block 1003423860 Buffer I/O error on device sda1, logical block 1003423861 Buffer I/O error on device sda1, logical block 1003423862 Buffer I/O error on device sda1, logical block 1003423863 Buffer I/O error on device sda1, logical block 1003423864 Buffer I/O error on device sda1, logical block 1003423865 Buffer I/O error on device sda1, logical block 1003423866 Buffer I/O error on device sda1, logical block 1003423867 Buffer I/O error on device sda1, logical block 1003423868 Buffer I/O error on device sda1, logical block 1003423869 Buffer I/O error on device sda1, logical block 1003423870 Buffer I/O error on device sda1, logical block 1003423871 Buffer I/O error on device sda1, logical block 1003423744 Buffer I/O error on device sda1, logical block 1003423745 Buffer I/O error on device sda1, logical block 1003423746 Buffer I/O error on device sda1, logical block 1003423747 Buffer I/O error on device sda1, logical block 1003423748 Buffer I/O error on device sda1, logical block 1003423749 Buffer I/O error on device sda1, logical block 1003423750 Buffer I/O error on device sda1, logical block 1003423751 SCSI error: host 0 id 0 lun 0 return code = 802 Sense class 7, sense error 0, extended sense 0 SCSI error: host 0 id 0 lun 0 return code = 802 Sense class 7, sense error 0, extended sense 0 SCSI error: host 0 id 0 lun 0 return code = 802 Sense class 7, sense error 0, extended sense 0 SCSI error: host 0 id 0 lun 0 return code = 802 Sense class 7, sense error 0, extended sense 0 SCSI error: host 0 id 0 lun 0 return code = 802 Sense class 7, sense error 0, extended sense 0 SCSI error: host 0 id 0 lun 0 return code = 802 Sense class 7, sense error 0, extended sense 0 usb 1-2: USB disconnect, address 4 ohci_hcd :00:02.0: wakeup usb 1-2: new full speed USB device using address 5 scsi1 : SCSI emulation for USB Mass Storage devices Vendor: FlashModel: Drive UT_USB20Rev: 0.00 Type: Direct-Access ANSI SCSI revision: 02 SCSI device sda: 247296 512-byte hdwr sectors (127 MB) sda: assuming Write Enabled sda: assuming drive cache: write through SCSI error: host 1 id 0 lun 0 return code = 802 Sense class 7, sense error 0, extended sense 0 /dev/scsi/host1/bus0/target0/lun0: [CUMANA/ADFS] p1<5>Attached scsi removable disk sda at scsi1, channel 0, id 0, lun 0 USB Mass Storage device found at 5 SCSI error: host 1 id 0 lun 0 return code = 802 Sense class 7, sense error 0, extended sense 0 SCSI error: host 1 id 0 lun 0 return code = 802 Sense class 7, sense error 0, extended sense 0 SCSI error: host 1 id 0 lun 0 return code = 802 Sense class 7, sense error 0, extended sense 0 Buffer I/O error on device sda1, logical block 1003423744 Buffer I/O error on device sda1, logical block 1003423745 Buffer I/O error on device sda1, logical block 1003423746 Buffer I/O error on device sda1, logical block 1003423747 Buffer I/O error on device sda1, logical block 1003423748 Buffer I/O error on device sda1, logical block 1003423749 Buffer I/O error on device sda1, logical block 1003423750 Buffer I/O error on device sda1, logical block 1003423751 Buffer I/O error on device sda1, logical block 1003423752 Buffer I/O error on device sda1, logical block 1003423753 Buffer I/O error on device sda1, logical block 1003423754 Buffer I/O error on device sda1, logical block 1003423755 Buffer I/O error on device sda1, logical block 1003423756 Buffer I/O error on device sda1, logical block 1003423757 Buffer I/O error on device sda1, logical block 100342
Re: Need help recovering Debian that won't boot.
kenn wrote: I did this, and I could see my mounted drive ... but if i tried to ls, i got mostly garbage, so i've probably done something ELSE wrong. I went back to the knoppix boot to see if I had further destroyed anything, but fortunately, everything there still looks the same, so at least I don't appear to have caused any further damage ... I realize, of course, that I'm into way over my head ... if I can't find some way to copy these files soon, I'm going to have to surrender and send it out to a data recovery company (as much as I hate to do that). See if you've got a Linux User's Group in the area; or maybe post your general location here; maybe one of us is close enough to drop in and take a look-see. -- Kent -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Stupid shell script question about "read"
Hi list, Could someone tell me why the following works in zsh but not in bash/posh/dash? benjo[3]:~% echo foo bar baz | read a b c benjo[4]:~% echo $a $b $c foo bar baz If I try the same with bash (or other sh-compatible shells), the variables $a $b and $c are unset. From the bash man page: > read [-ers] [-u fd] [-t timeout] [-a aname] [-p prompt] [-n nchars] [-d >delim] [name ...] > One line is read from the standard input, or from the file > descriptor fd supplied as an argument to the -u option, and the > first word is assigned to the first name, the second word to the > second name, and so on, with leftover words and their interven‐ > ing separators assigned to the last name. So "read" claims to read from the standard input, but it doesn't actually seem to happen when a pipe is involved. Posh and dash behave like bash in this respect, so I guess that this is not a bug, and that what zsh does is actually an extension. So, what is the correct POSIX-compatible way to get "read" to work as I want? Thanks in advance, -- Kevin B. McCarty <[EMAIL PROTECTED]> Physics Department WWW: http://www.princeton.edu/~kmccarty/Princeton University GPG: public key ID 4F83C751 Princeton, NJ 08544 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: ready to use debian or ubuntu laptop reccomendations?
Britton Kerin wrote: I would like to buy my non-linux girlfriend a ready to use laptop with: wireless scan, falling back to CAT5 DHCP open office CD ROM that automounts SD card reader that automounts working sound card reasonable memory and disk working video acceleration (at least a bit) Unfortunately, my personal experience is that your requirements won't work out of the box. You may be lucky and find a laptop that supports the hardware you require, but you still need to set it up yourself. I've been having reasonably good luck with my expensive ThinkPad, but wireless, automounting, the modem don't work out of the box. With debian, eg. you manually have to add your user to the cdrom and audio and video groups to fully use your cdrom/dvd. On the other hand, one has to be fair and say that WinXP doesn't work out of the box as well, you have to install office, adobe reader, a virus scanner... And after that you should regularly look for security updates of all the software that is not covered by 'windows update'. (And once you learned all the tweaks to set up a network in Win98, NT, XP, it won't be long until they revamp their OS and the next new PC in your network will break it). My personal experience is that it takes more time to set up a linux laptop, and then it works. It constantly takes time to keep your windows system running and still you'll never know if there is a virus or trojan hidden from you. I recommend looking at http://www.linux-laptop.net/ and http://tuxmobil.org/ and to expect to do some further research until your requirements work. As suggested in the other posts, take a Knoppix, Ubuntu live CD to the shop. Johannes -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: trying to use Knoppis to recover unbootable debian linux drive
Hi, kenn wrote: Greetings. I'm still trying to recover data from a drive that won't mount, and in spite of lots of help from this list, I haven't accomplished it yet. My current plan of attack is to try to boot on Knoppix and copy to a USB thumb drive. I've learned the obvious stuff ... I've mounted my hard drive, changed the mount to RW, unselected the the "read only" button on the Properties-->Device tab, changed all permission to "Read and Write" but i STILL get some folders that are locked and give the error message, "You do not have permissions to read this file." Any ideas what am I doing wrong? Thanks in advance for the help. Kenn Long shot, but... did you "su" in Knoppix? Luis -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: aptitude --target target sarge xxx doesn't limit to sarge
Andrei Popescu wrote: On Wed, 01 Mar 2006 16:43:54 -0500 "Daniel B." <[EMAIL PROTECTED]> wrote: When I run "aptitude --target sarge install ...", aptitude doesn't listen to the instruction to install a version from Sarge; it installs a version from Testing. (I have both Sarge and Testing mirrors in my APT sources list file.) What needs to be done to get "--target ..." (or APT::Default-Release) to work? ... Hhhm... from man aptitude it seems the long option is --target-release > (or -t). Aptitude accepts (sufficiently unambiguous) abbreviations of long option names. The form "--target" appears to be sufficient. (Note in my follow-up message that "--target" worked when I used the release name "stable". Also, aptitude rejects unrecognized options--try "aptitude -targetJunkToMakeUnrecognized".) > And you didn't specify what is your default release, if you did set one > in /etc/apt/apt.conf > If you didn't set it maybe you should... Why would I need to specify a default release when I'm specify a target release on the aptitude command line? (Note that it was because setting the default release to "sarge" in /etc/apt/apt.conf.d/xxx doesn't work that I was trying "aptitude -t".) Daniel -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: 2.6 compilation woes...
On Thursday 02 March 2006 03:41 am, Ramiro Aceves wrote: > On 3/2/06, Doofus <[EMAIL PROTECTED]> wrote: > > anoop aryal wrote: > > >On Wednesday 01 March 2006 05:32 pm, Doofus wrote: > > >>Hi, > > >> > > >>I hope someone can help me out here. > > >>I'm finding 2.6 quite complex compared with the 2.4 kernels which I > > >>understood and was comfortable with. > > >> > > >>I've recently installed sarge over the net and chose kernel 2.6 to > > >>initially run with. Everything worked well. > > >>I then got the 2.6 source from my debian mirror and did my first > > >>compilation (make menuconfig, make-kpkg clean, make-kpkg > > >>kernel_image, dpkg -i ../*.deb), using the default (and working) > > >> .config file in /boot as a starting point. > > >> > > >> This also went went well even though I still don't fully understand > > >>every aspect of the source tree. > > >> > > >>My problem: > > >>When I choose the newly compiled kernel from the grub boot menu I get, > > >>early in the boot process: > > >> > > >>Kernel panic: VFS: Unable to mount root fs on unknown-block (0,0) > > >> > > >> > > >>I resolved to do some more compiles, only making changes to the default > > >>configuration by one section at a time, in a process-of-elimination > > >>effort to find where the problem is, but even after the first > > >>compilation when the only change I'd made was the processor type, I > > >>still had the same boot failure. > > >> > > >>So, I cleaned the source tree and compiled another kernel using the > > >>completely unmodified .config file that came with the working default > > >>2.6 sarge installaion. And you guessed it - another kernel panic. > > >> > > >>Now I'm bamboozled. If I compile a kernel using the identical .config > > >>file that was used to compile the working and running kernel and it > > >>won't boot properly, then my powers of fault finding dry up. I'd be > > >>mightily grateful if anyone can give me any ideas as to where the > > >>problem may lie, or other things to try. > > >> > > >> > > >>Configuration: > > >> > > >>Dell Inspiron 8200 P4 laptop > > >>hda1/boot (ext2) > > >>hda2WinXP (ntfs) > > >>hda3FAT32 > > >>hda5/home (reiser) > > >>hda6/ (reiser) > > >>hda7swap > > >> > > >> > > >>Original working and new unworking sections of menu.lst: > > >> > > >>titleDebian GNU/Linux, kernel 2.6.8-2-686 > > >>root (hd0,0) > > >>kernel /vmlinuz-2.6.8-2-686 root=/dev/hda6 ro > > >>initrd /initrd.img-2.6.8-2-686 > > >>savedefault > > >>boot > > >> > > >> > > >>titleDebian GNU/Linux, kernel 2.6.8 > > >>root (hd0,0) > > >>kernel /vmlinuz-2.6.8 root=/dev/hda6 ro > > >>savedefault > > >>boot > > >> > > >> > > >>Thanks again for any help offered. > > > > > >you didn't mention which one was the working stanza and which one was > > > the non working one. > > > > > >you probably need the modules for riser fs either compiled into the > > > kernel (if you don't want an initrd line like in the second stanza), > > > or, you can have it built as a module but make sure mkinitrd knows to > > > create the initrd with the riserfs module in the initrd. > > > > > >you may want to copy /etc/modules into /etc/mkinitrd/modules and tweak > > > it so that you only leave in the modules you need to boot with. > > > > Thanks for this. > > > > The working stanza was the first one quoted above. The second one was > > added by kernel-package after compiling the new kernel. I'm having > > trouble seeing past the fact that the .config file I'm compiling against > > is *precisely* the one that the working default kernel was built with, > > and yet the new build doesn't work. I thought the kernel-package would > > take care of the boot environment and menu.lst stanzas automatically, > > including any initrd images, but maybe it's not that simple... > > > > I've never had anything to do with initrd images before and don't > > particularly see any need to do so. After reading your reply I > > recompiled with ext2 and reiserfs compiled permanently into the kernel, > > but I still have the same kernel panic. > > > > I don't know where to go from here. Except maybe back to 2.4 :O( > > Just a guess, do not forget to compile your disk controlers into the > kernel. good point. i would pop the installer CD back in and use the linux26 option and once it finds the drive/filesystem, switch to the other console (alt-f2 i believe), then try doing a lsmod to see which modules you would need for the disk controller. then compile those in as you did with ext2 and riserfs. i'm not an expert on kernels but the big difference for me from 2.4 to 2.6 was that almost everything is modules now. and i, too, had similar problems when first switching from 2.4 to 2.6. but once everything was figured out, i do like 2.6 much better. good luck. > Everything the kernel needs to get the disk working needs to > be compiled into the kernel. > > Good luck. > Ramiro. -- anoop [EMAIL PROTE
Re: Installing DVD-drive (ATAPI) -- replaces cdrom drive / Help needed.
Søren Christensen([EMAIL PROTECTED]) is reported to have said: > On Wed, Mar 01, 2006 at 02:49:27PM +0100, Søren Christensen wrote: > > Hi, > > > > I have just installed a DVD-burner. It replaces a cdrom-drive. It works, > > I can mount a cdrom as I could before, and I have copied a DVD (movie) > > with k3b. > > > > When I look in /dev/ I do not see any dvd-devices. What shall I do to > > acces this drive as a DVD-rom, and be able to burn DVDs > > > > /severino > > > > Perhaps it's not that polite asking again, I know you're all busy, like > I am. > > Where can I find a Howto on installation of a DVD-RW-drive? > > When booting it is recognized as drive hdc as a CD/DVD-rom. Can i manually > create > device-files in /dev/ and sym-links to /media/ -- or what is the process > to make part of my system. > > I can mount a DVD-movie, but xine wont play it. see the howto's /usr/share/doc/HOWTO/en-txt/DVD-Playback-HOWTO.gz /usr/share/doc/HOWTO/en-txt/CDROM-HOWTO.gz /usr/share/doc/HOWTO/en-txt/CD-Writing-HOWTO.gz ^ other languages also All part of the doc-linux-text package. Wayne -- All computers wait at the same speed. ___ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Exim rejecting _everything_ with spamassassin
I'm trying to set up spamassassin under exim. When I send an email to my server, I see something like this in the rejectlog for the message: X-Spam_score: 0.6 X-Spam_score_int: 6 X-Spam_bar: / X-ACL-Warn: accept But in the mainlog, I see a reject log like this for any incoming emails: 2006-03-01 21:45:59 1FEfhB-75-3G H=murphy.debian.org [146.82.138.6] F=<[EMAIL PROTECTED]> rejected after DATA Why is exim automatically rejecting everything? Here's my exim4.conf file. I put "#Spamassassin" comments near every block I added for spamassassin. domainlist local_domains = iceman.rabid-hamster.com : rabid-hamster.com : teammajors.com : localhost : mail.teammajors.com domainlist relay_to_domains = hostlist relay_from_hosts = 127.0.0.1 : 192.168.1.0/16 : 192.168.2.0/16 acl_smtp_rcpt = acl_check_rcpt #Spamassassin #acl_smtp_data = acl_check_data #acl_not_smtp = acl_check_data #Spamassassin qualify_domain = rabid-hamster.com never_users = root rfc1413_hosts = rfc1413_query_timeout = 30s sender_unqualified_hosts = *.rabid-hamster.com : rabid-hamster.com recipient_unqualified_hosts = *.rabid-hamster.com : rabid-hamster.com ignore_bounce_errors_after = 2d timeout_frozen_after = 7d begin acl acl_check_spam: deny dnslists = blackholes.mail-abuse.org acl_check_rcpt: accept hosts = : denylocal_parts = [EMAIL PROTECTED]/|] : ^\\. accept local_parts = postmaster domains = +local_domains accept domains = +local_domains endpass message = unknown user verify= recipient accept domains = +relay_to_domains endpass message = unrouteable address verify= recipient accept hosts = +relay_from_hosts accept authenticated = * denymessage = relay not permitted #Spamassassin acl_check_data: warn spam = mail message = X-is-spam: over spam threshold\n\ X-Spam_flag: yes warn message = X-Spam_score: $spam_score\n\ X-Spam_score_int: $spam_score_int\n\ X-Spam_bar: $spam_bar\n\ accept #Spamassassin begin routers dnslookup: driver = dnslookup domains = ! +local_domains transport = remote_smtp ignore_target_hosts = 0.0.0.0 : 127.0.0.0/8 no_more system_aliases: driver = redirect allow_fail allow_defer data = ${lookup{$local_part}lsearch{/etc/aliases}} file_transport = address_file pipe_transport = address_pipe #Spamassassin spamcheck_router: no_verify check_local_user # When to scan a message : # - it isn't already flagged as spam # - it isn't already scanned condition = "${if and { {!def:h_X-Spam_flag:} {!eq {$received_protocol}{spam-scanned}}} {1}{0}}" driver = accept transport = spamcheck #Spamassassin userforward: driver = redirect check_local_user file = $home/.forward no_verify no_expn check_ancestor allow_filter file_transport = address_file pipe_transport = address_pipe reply_transport = address_reply directory_transport = address_directory localuser: driver = accept check_local_user transport = local_delivery begin transports #Spamassassin spamcheck: driver = pipe command = /usr/sbin/exim -oMr spam-scanned -bS use_bsmtp = true transport_filter = /usr/bin/spamc home_directory = "/tmp" current_directory = "/tmp" # must use a privileged user to set $received_protocol on the way back in! user = mail group = mail log_output = true return_fail_output = true return_path_add = false message_prefix = message_suffix = #Spamassassin remote_smtp: driver = smtp local_delivery: driver = appendfile directory = /home/${local_part}/.maildir delivery_date_add envelope_to_add return_path_add address_directory: driver = appendfile maildir_format delivery_date_add envelope_to_add return_path_add address_pipe: driver = pipe return_output address_file: driver = appendfile delivery_date_add envelope_to_add return_path_add address_reply: driver = autoreply begin retry * * F,2h,15m; G,16h,1h,1.5; F,4d,6h begin rewrite begin authenticators -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: firefox very slow since start of Feb
> Firefox has a serious memory leak issue, esspecially if you open more the > one tab. Make sure that your hard disk is not thrashing due to swap usage. > I have to restart firefox every few hours due to this problem to cleanup > memory. It's not a leak. It's a /feature/. ;) http://developers.slashdot.org/article.pl?sid=06/02/14/2154224 But perhaps it could use an enable/disable checkbox for some (or a max cache usage field). -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: xrdb questions
Andrew Cady <[EMAIL PROTECTED]> writes: > Please re-read my post. I know you don't want the resources cleared. > That's why I told you how to avoid it! I am still not sure how the information will help my problem. Will the resources persist across reboots or logging out of X? Since the last x client is the wm, the settings persist as long as I am using X. My problem is that when I log in, which is pretty rarely as the machine is up all the time and is rarely rebooted, emacs must be closed and restarted for my settings to be in effect. If I am still not following you, please accept my apologies and help me to understand. -- ~~ Robert D. Crawford [EMAIL PROTECTED] You can do very well in speculation where land or anything to do with dirt is concerned. ~~ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Kernel Panic (using make-kpkg & dpkg)
On 3/2/06, Doofus <[EMAIL PROTECTED] > wrote: Harish G. Naik wrote:> $make-kpkg kernel_image> $dpkg --install kernel-2.6.15*.deb>> Now when I try reebooting into the new kernel, I get: > If you don't include the switch "--initrd" on your "make-kpkg" command > line then you *must* compile the drivers for your hard disks and the> filesystems you're using permanently into the kernel (ie choose compile > option "Y", not "M" for these drivers).> If you do include the switch "--initrd", then you can make > modules out > of everything and the system will load everything appropriate for your> hardware during boot, which seems to me a rather nice way of finding out > what hardware you actually have in your machine. HiYea I just did that. used the --initrd switch . It worked. Thanks all. But the man pages mention something about the cramfs initrd patch, which I am not sure I have. How did it work then?-- Regards,Harish
Re: USB-memorystick fails to mount on laptop (Sarge, kernel 2.6.8)
On Thursday 02 March 2006 15:34, [EMAIL PROTECTED] wrote: > I have a problem with mounting an USB-memorystick on my laptop (HP/Compaq > Presario 2100) > > The laptop is a dualboot machine, and when I run Win XP there is no > problem with the memory-stick (except that the USB-stick is USB2.0, and > the port on the laptop is USB1.1) > > I can use the memorystick with my workstation running Sarge, kernel 2.4.27 > > How can I make this stick work? > > /severino > I have had to reformat either CF card or usb sticks to have them usable on Linux (and MS) : use mkdosfs -I /path to your stick or card -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
upgrading Cyrus
Hi, has anyone yet updated Cyrus 1.5.19-9.2 to 2.2.12-4? I was in the middle of testing the conversion on a copy of the mail spool, but lacked the ctl_mboxlist script/program. That should have been in the cyrus-common package, but it was nowhere to find in version 2.1. So I had to upgrade to 2.2, but that file is still nowhere to be found. I'm trying to follow the upgrade instructions provided in the Cyrus docs, and the only thing that apparently worked yet is running the dohash script. Where do I go from here? GH -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Stupid shell script question about "read"
On 3/2/06, Kevin B. McCarty <[EMAIL PROTECTED]> wrote: > Hi list, > > Could someone tell me why the following works in zsh but not in > bash/posh/dash? > > benjo[3]:~% echo foo bar baz | read a b c > benjo[4]:~% echo $a $b $c > foo bar baz > > If I try the same with bash (or other sh-compatible shells), the > variables $a $b and $c are unset. From the bash man page: > ... > So "read" claims to read from the standard input, but it doesn't > actually seem to happen when a pipe is involved. What's happening here is that the pipe is causing a subshell to be spawned, which is then parsing the command "read a b c". > Posh and dash behave like bash in this respect, so I guess that this is > not a bug, and that what zsh does is actually an extension. So, what is > the correct POSIX-compatible way to get "read" to work as I want? Yeah, I would guess that zsh is doing something really funky to make this work -- passing variables from a subprocess back up to the parent, or not actually spawning a subprocess with the pipe, or something like that. I'm not sure of the POSIX way to use read in this manner, but I found this on Google/A9: http://linuxgazette.net/issue57/tag/1.html The example he gives, with the < <() syntax, worked in bash, but not in Debian or FreeBSD's /bin/sh.
Re: aptitude --target target sarge xxx doesn't limit to sarge [OT?]
On Thu, Mar 02, 2006 at 10:06:24AM -0500, Daniel B. wrote: > Andrei Popescu wrote: > > >On Wed, 01 Mar 2006 16:43:54 -0500 > >"Daniel B." <[EMAIL PROTECTED]> wrote: > > > > > >>When I run "aptitude --target sarge install ...", aptitude doesn't > >>listen to the instruction to install a version from Sarge; it installs > >>a version from Testing. (I have both Sarge and Testing mirrors in > >>my APT sources list file.) > >> > >>What needs to be done to get "--target ..." (or APT::Default-Release) > >>to work? > >> > ... > > > >Hhhm... from man aptitude it seems the long option is --target-release > > (or -t). > > Aptitude accepts (sufficiently unambiguous) abbreviations of long option > names. The form "--target" appears to be sufficient. (Note in my > follow-up message that "--target" worked when I used the release name > "stable". Also, aptitude rejects unrecognized options--try "aptitude > -targetJunkToMakeUnrecognized".) > In a slightly different context, and long enough ago that I can't be sure of the details, I came to the conclusion that the apt system does not handle release code names reliably, if at all. In many situations using the word, sarge, or etch, etc. does not do one would think. It appeared that some places the names stable, testing, and unstable were hard coded into some software. I can see how this might happen. Supporting a dynamic set of control words adds a lot of complexity to a system that is already complex. Its easier simply to have users use "stable" when they might wish to use "sarge", IMHO. (I'm not a developer, so I'm not saying this out of narrow self interest.) > > > And you didn't specify what is your default release, if you did set one > > in /etc/apt/apt.conf > > If you didn't set it maybe you should... > > Why would I need to specify a default release when I'm specify a target > release on the aptitude command line? > > (Note that it was because setting the default release to "sarge" in > /etc/apt/apt.conf.d/xxx doesn't work that I was trying "aptitude -t".) > > > Daniel > > > > > > > > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact > [EMAIL PROTECTED] > -- Paul E Condon [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Installing packages from source
On Thursday 02 March 2006 01:00, RAPPAZ Francois wrote: > Hi, I would like to install libgnomeprint-2.2-2.10. > On my sarge I got 2.8 and with Abiword, fill justified text using true > type font are ill printed. > > I've read that upgrading libgnomeprint would solve this. > > The next version of libgnomeprint-2.2 I've found is 2.12 and trying to > install as a debian package would upgrade a lot of other libraries. I > would like to upgrade to 2.10 only but have not found any debian package > of that version. Have you looked on snapshot.debian.net? They should have older package versions. Justin Guerin
Re: Exim rejecting _everything_ with spamassassin
[EMAIL PROTECTED] wrote: X-Spam_score_int: 6 The spam score is high enough to have the mail rejected. Here's my exim4.conf file. I put "#Spamassassin" comments near every block I added for spamassassin. #Spamassassin #acl_smtp_data = acl_check_data #acl_not_smtp = acl_check_data #Spamassassin You must not comment these out. It looks somewhat like you mixed an Exim3 config with an Exim4 config. I'd suggest to start with a new Exim4 config from /usr/share/doc/exim4-base/examples/example.conf.gz. Copy it to /etc/exim4/exim4.conf and change it to your needs. The configuration is pretty easy and straightforward then. Also, install the info doc package for exim4, it's very useful for looking things up and finding out what has changed. Once you got a suitable, config, set > COMMONOPTIONS='-C /etc/exim4/exim4.conf' in /etc/default/exim4 to make sure exim will use your config. You need spamd running. Edit /etc/default/spamassassin (don't forget to enable!) and change to > OPTIONS="--create-prefs --max-children 5 --helper-home-dir -u spamd" You need to add the user spamd (or whatever name you like for it) with adduser before, to have spamd running as that user. In /etc/exim4/exim4.conf, set the following: > spamd_address = 127.0.0.1 783 > [...] acl_check_data: # Add headers to a message if it is judged to be spam. Before enabling this, # you must install SpamAssassin. You may also need to set the spamd_address # option above. # warnspam = spamd message = X-Spam_score: $spam_score\n\ X-Spam_score_int: $spam_score_int\n\ X-Spam_bar: $spam_bar\n\ X-Spam_report: $spam_report # Accept the message. accept That's all what's needed for SPAM checking, but maybe you also want to scan for viruses ... In any case, once the server is running, monitor memory consumption closely. I've seen spamd eating up several gigs of RAM when sending a few large testmails :( You may want to reduce the number of --max-children from 5 to 3 (in /etc/default/spamassassin) and put a size limit on the mails to be checked for SPAM (in /etc/exim4/exim4.conf), like 10kb or 100kb: acl_check_data: # Deny if the message contains a virus. Before enabling this check, you # must install a virus scanner and set the av_scanner option above. # discard malware = * demime= * log_message = virus%$tod_log%<$return_path>%<$recipients>%($malware_name) # Add headers to a message if it is judged to be spam. Before enabling this, # you must install SpamAssassin. You may also need to set the spamd_address # option above. # warncondition = ${if < {$message_size}{100k} } spam = spamd message = X-Spam_score: $spam_score\n\ X-Spam_score_int: $spam_score_int\n\ X-Spam_bar: $spam_bar\n\ X-Spam_report: $spam_report # Accept the message. accept This will help a lot to reduce memory consumption --- imho a neccessity for a server that should be reliable. To protect the server from being overwhelmed by mail, you may also want to set the following (in /etc/exim4/exim4.conf, at the beginning of the file): split_spool_directory = true check_spool_space = 1024M smtp_check_spool_space = true message_size_limit = 100M bounce_return_size_limit = 8k deliver_queue_load_max = 2.00 queue_only_load = 1.50 remote_max_parallel = 8 Adjust these values to the performance of your server and the amount of mail it has to handle. (These are for a 900 MHz Celeron with 384MB of RAM, several gigs of swap and a 3ware ATA RAID 1 that does virus scanning besides checking for SPAM.) The above mentioned example config is prepared for that; I strongly recommend you start from there! The auto configuration of exim4 is imho totally useless and utterly confusing ... But I do love Exim :) GH -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: upgrading Cyrus
On Thu, 02 Mar 2006, . wrote: > has anyone yet updated Cyrus 1.5.19-9.2 to 2.2.12-4? > I was in the middle of testing the conversion on a copy of the mail > spool, but lacked the ctl_mboxlist script/program. That should have been ctl_mboxlist is in /usr/sbin in the Cyrus 2.1 packages. You have to run it as user cyrus, btw. > I'm trying to follow the upgrade instructions provided in the Cyrus > docs, and the only thing that apparently worked yet is running the > dohash script. > > Where do I go from here? If you are moving from 1.5 to 2.2, I'd recommend doing it using imapsync, instead of trying to convert the spool. It is much simpler for modest-sized (not multi-gigabyte) spools. -- "One disk to rule them all, One disk to find them. One disk to bring them all and in the darkness grind them. In the Land of Redmond where the shadows lie." -- The Silicon Valley Tarot Henrique Holschuh -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Installing DVD-drive (ATAPI) -- replaces cdrom drive / Help needed.
On Thu, 2 Mar 2006 09:11:04 +0100 Søren Christensen <[EMAIL PROTECTED]> wrote: > On Wed, Mar 01, 2006 at 02:49:27PM +0100, Søren Christensen wrote: > > Hi, > > > > I have just installed a DVD-burner. It replaces a cdrom-drive. It works, > > I can mount a cdrom as I could before, and I have copied a DVD (movie) > > with k3b. > > > > When I look in /dev/ I do not see any dvd-devices. What shall I do to > > acces this drive as a DVD-rom, and be able to burn DVDs > > > > /severino > > > > Perhaps it's not that polite asking again, I know you're all busy, like > I am. > > Where can I find a Howto on installation of a DVD-RW-drive? > > When booting it is recognized as drive hdc as a CD/DVD-rom. Can i manually > create > device-files in /dev/ and sym-links to /media/ -- or what is the process > to make part of my system. what does show up in /dev? are there any symlinks to /dev/hdc at all? you might look into http://www.reactivated.net/writing_udev_rules.html as it may help you here. > > I can mount a DVD-movie, but xine wont play it. well, that's probably a completely different problem. xine dvd:// I think is what you need, and IIRC you don't need to mount it, just /dev/dvd or /dev/hdc in your case might do it. hth A > > What is missing? > > /severino > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] > pgp1Bs5EvUuHI.pgp Description: PGP signature
Re: Exim rejecting _everything_ with spamassassin
. wrote: put a size limit on the mails to be checked for SPAM (in /etc/exim4/exim4.conf), like 10kb or 100kb: acl_check_data: # Deny if the message contains a virus. Before enabling this check, you # must install a virus scanner and set the av_scanner option above. # discard malware = * demime= * log_message = virus%$tod_log%<$return_path>%<$recipients>%($malware_name) # Add headers to a message if it is judged to be spam. Before enabling this, # you must install SpamAssassin. You may also need to set the spamd_address # option above. # warncondition = ${if < {$message_size}{100k} } spam = spamd message = X-Spam_score: $spam_score\n\ X-Spam_score_int: $spam_score_int\n\ X-Spam_bar: $spam_bar\n\ X-Spam_report: $spam_report # Accept the message. accept Sorry, this also contains the setup for scanning for viruses! It should look like this: acl_check_data: # Add headers to a message if it is judged to be spam. Before enabling this, # you must install SpamAssassin. You may also need to set the spamd_address # option above. # warncondition = ${if < {$message_size}{100k} } spam = spamd message = X-Spam_score: $spam_score\n\ X-Spam_score_int: $spam_score_int\n\ X-Spam_bar: $spam_bar\n\ X-Spam_report: $spam_report # Accept the message. accept GH -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: upgrading Cyrus
On Thu, Mar 02, 2006 at 06:08:28PM +0100, . wrote: Hi, has anyone yet updated Cyrus 1.5.19-9.2 to 2.2.12-4? I was in the middle of testing the conversion on a copy of the mail spool, but lacked the ctl_mboxlist script/program. That should have been in the cyrus-common package, but it was nowhere to find in version 2.1. So I had to upgrade to 2.2, but that file is still nowhere to be found. I'm trying to follow the upgrade instructions provided in the Cyrus docs, and the only thing that apparently worked yet is running the dohash script. Where do I go from here? Are you sure it's not hanging around in /usr/sbin? I built the cyrus 2.2 packages for sarge using the unstable source package for 2.2.12-4 and /usr/sbin/ctl_mboxlist is provided by cyrus-common-2.2. /usr/sbin contains ctl_cyrusdb and ctl_deliver as well. -- Steve Block http://ev-15.com/ http://steveblock.com/ [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: modprobe.d and post-install problem
On Thu, 2 Mar 2006 09:28:13 +0200 "Andras Lorincz" <[EMAIL PROTECTED]> wrote: > Hi, > > I have a tv-tuner with saa7135HL chipset and works fine with kernel version > 2.6.15.4. When booting I want to pass the module alsa=1 option and to load > the saa7134-alsa module also. So I took these steps: > > 1. created a file /etc/modprobe.d/tuner which contains this: > > options saa7134 alsa=1 > post-install saa7134 insmod > /lib/modules/2.6.15.4/kernel/drivers/media/video/saa7134/saa7134-alsa I believe this needs to be all one line, but maybe your mailer wrapped it? A > 2. run update-modules > > 3. reboot to see if these take effect > > The result is that the saa7134-alsa module doesn't get loaded and this > message can be read on boot: > > WARNING: /etc/modprobe.d/tuner line 2: ignoring bad line starting with > 'post-install' > > The path of the module is correct and I also tryied without specifying the > whole path. What am I doing wrong? I must mention that there is no problem > installing the module manually after boot. > pgp3H89ceTZ17.pgp Description: PGP signature
Re: MacBook Pro and Debian
> > I have a very naive question: > > can we install Debian on a MacBook Pro (IntelMac) laptop ? Don't think Sarge or Etch will work as is, Sid with some serious panelbeating might. > I think I read about someone installing windows someway. Only Vista, the earlier ones doesn't support EFI (or whatever they call the bootloader). This link seems to be down: http://xbox-linux.org.nyud.net:8090/mactel/index.php/Main_Page Here's the slashdot article: http://yro.slashdot.org/article.pl?sid=06/03/01/2034217&threshold=1 Hans -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: MacBook Pro and Debian
Oooh, sorry - wrong slashdot link: http://linux.slashdot.org/article.pl?sid=06/02/16/2025243 - > > I have a very naive question: > > can we install Debian on a MacBook Pro (IntelMac) laptop ? Don't think Sarge or Etch will work as is, Sid with some serious panelbeating might. > I think I read about someone installing windows someway. Only Vista, the earlier ones doesn't support EFI (or whatever they call the bootloader). This link seems to be down: http://xbox-linux.org.nyud.net:8090/mactel/index.php/Main_Page Here's the slashdot article: http://yro.slashdot.org/article.pl?sid=06/03/01/2034217&threshold=1 Hans -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Stupid shell script question about "read"
Hi, Kevin. I don't have a solution, but I found that interesting, so did some experiments: $ bash --version bash --version GNU bash, version 3.1.0(1)-release (i486-pc-linux-gnu) Copyright (C) 2005 Free Software Foundation, Inc. $ echo foo | read a; echo $a returns empty variable a whole lot of options on read like -t 1, -n 3 and so on don't improve that, neither does echo -e 'foo\n\n\n' or similar things. -- $ echo foo > temp;read a < temp; echo $a returns foo, but creates and uses a file in between $ mkfifo myfifo creates a named pipe -- terminal1$ echo foo > myfifo; read a < myfifo; echo $a just keeps working and doesn't return, but if I do terminal2$ cat myfifo in another shell, I see that foo has actually gone there, and one moment later, the whole thing returns an empty $a [...] -- $ echo -e "foo\n\n" > myfifo; read -n 2 a < myfifo; echo $a returns: bash: myfifo: interrupted during an operating system call (translation) and an empty $a -- $ echo -e foo\n\n > myfifo & read -n 2 a < myfifo; echo $a [1] 7487 bash: myfifo: Unterbrechung während des Betriebssystemaufrufs (same message) -- $ echo foo > myfifo & sleep 1; read a < myfifo; echo $a [3] 7492 foo Surprise, this one works. So far so good: echo does not return from writing into the pipe before the pipe is not read read does not start reading from the pipe before echo has not stopped -- now, trying: $ echo foo > myfifo & [1] Done echo foo >myfifo $ read a < myfifo $ echo $a this one works as well. -- Now, using *two* shells again: terminal1$ echo foo > myfifo remains pending until... terminal2$ cat myfifo foo returns foo while echo... on shell a returns. -- terminal1$ echo foo > myfifo remains pending until... terminal2$ read a < myfifo; echo $a returns empty line on shell b while echo... on shell a returns. It doesn't work with terminal1$ echo foo > myfifo & either. -- I don't have the in depth knowledge to interpret it, but I find it interesting and surprising. Best wishes, js From: "Kevin B. McCarty" <[EMAIL PROTECTED]> Could someone tell me why the following works in zsh but not in bash/posh/dash? benjo[3]:~% echo foo bar baz | read a b c benjo[4]:~% echo $a $b $c foo bar baz If I try the same with bash (or other sh-compatible shells), the variables $a $b and $c are unset. From the bash man page: >[..] So "read" claims to read from the standard input, but it doesn't actually seem to happen when a pipe is involved. -- --- Dr. med. Jörg M. Sigle http://www.ql-recorder.com+49-5527-846-535 http://www.jsigle.com Have a lovely day... +49-7043-950-6864
kernel 2.6.15.5 and fs/nfs errors
I tried to compile the new kernel. "make-kpkg clean; make-kpkg kernel_image" generates: CC [M] fs/nfs/direct.o fs/nfs/direct.c: In function 'nfs_get_user_pages': fs/nfs/direct.c:110: warning: implicit declaration of function 'nfs_free_user_pages' fs/nfs/direct.c: At top level: fs/nfs/direct.c:127: warning: conflicting types for 'nfs_free_user_pages' fs/nfs/direct.c:127: error: static declaration of 'nfs_free_user_pages' follows non-static declaration fs/nfs/direct.c:110: error: previous implicit declaration of 'nfs_free_user_pages' was here Anybody similar experiences? Is this a kernel bug? -- Bernd -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Debian 3.1 on a Dell PowerEdge 2800 Server
Hi everyone, I'm plan on installing Debian 3.1 (2.4.27 kernel) on a Dell PE2800 server soon (just waiting for a few more pieces of equip. to arrive) and while I have used Debian a little bit in the past, I've never installed in on a server before. I was hoping somebody who has done this before can give me some tips/info on the following: 1) does/will Debian have issues if I use the hw RAID controller on the Dell server? 2) the server will have dual Xeon processors and 8GB of RAM, does Debian suppor this? (I've read in some places that Debian doesn't support > 4GB of RAM, etc. but I haven't been able to get a definite answer to that from googling) Thanks in advance. Cheers, Glen Yu | 416-739-4861 | [EMAIL PROTECTED] Modelling & Integration Research Section Science and Technology Branch Environment Canada 4906 Dufferin St., Downsview, ON, M3H 5T4
Re: Determine order of network interfaces
Ketil Froyn wrote: Hi, I have a computer with some network interfaces, and I am unable to determine which physical interface gets assigned to which ethX during boot. Specifically, my problem is that the firewire driver suddenly started using eth1 instead of eth2 yesterday. It hadn't done this before, and I had to change my interfaces file as a result. The issue is that I want a normal interface to be on eth1, and I want to be certain that this never changes again. I have tried to edit /etc/modutils/aliases and added (near the top) alias eth2 eth1394 but this didn't help at all (I remembered to run update-modules, and saw the added lines in /etc/modules.conf). Then I tried creating /etc/modprobe.conf, with the line alias eth2 eth1394 and as a result I could remove all the network modules and successfully run "modprobe eth2", which had never worked before.However, the order was still wrong after rebooting, then eth2 was my normal ethernet interface, while eth1 had been "stolen" by the firewire driver again. So now I wonder how I can force my debian system to let me specify which interfaces get which names during boot. Cheers, Ketil I solved this problem in my laptop by using Debian tools (see "Dealing with inconsistent naming of interfaces by the kernel" in the Debian reference, http://www.debian.org/doc). here's how I did in my laptop: http://www.lorenzobettini.it/linux/LinuxSonyVaioVGN-S5VP_B hope this helps cheers Lorenzo -- +-+ | Lorenzo Bettini ICQ# lbetto, 16080134 | | PhD in Computer Science| | Dip. Sistemi e Informatica, Univ. di Firenze | | Florence - Italy(GNU/Linux User # 158233) | | Home Page: http://www.lorenzobettini.it| | http://music.dsi.unifi.it XKlaim language | | http://www.purplesucker.com Deep Purple Cover Band | | http://www.gnu.org/software/src-highlite | | http://www.gnu.org/software/gengetopt | | http://www.lorenzobettini.it/software/gengen | | http://www.lorenzobettini.it/software/doublecpp| +-+ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Debian 3.1 on a Dell PowerEdge 2800 Server
On Thu, Mar 02, 2006 at 02:56:01PM -0500, Yu,Glen [Ontario] wrote: Hi everyone, I'm plan on installing Debian 3.1 (2.4.27 kernel) on a Dell PE2800 server soon (just waiting for a few more pieces of equip. to arrive) and while I have used Debian a little bit in the past, I've never installed in on a server before. I was hoping somebody who has done this before can give me some tips/info on the following: 1) does/will Debian have issues if I use the hw RAID controller on the Dell server? 2) the server will have dual Xeon processors and 8GB of RAM, does Debian suppor this? (I've read in some places that Debian doesn't support > 4GB of RAM, etc. but I haven't been able to get a definite answer to that from googling) Both of your questions are pretty much entirely dependent on the kernel you use, and shouldn't be too specific to debian. The 2.6 kernel might be more compatible with some newer hardware than the 2.4 kernel, but you might simply have to compile your own kernel if things don't work out of the box. As far as large memory support, I am pretty sure debian's kernel has this enabled, but I've never had a machine I could test that on. -- Steve Block http://ev-15.com/ http://steveblock.com/ [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: ready to use debian or ubuntu laptop reccomendations?
Alvin Oga wrote: dell cuts corners by: a) making a custom motherboard b) making a custom power supply c) making custom cables and pcb to hold things together d) making custom firmware to assure you're stuck into their modus operandi e) charging you for 3yr warranty for their proprietory hardware - do you really want to get a new P3-2Ghz system as a warranty replacement today for what is the end of your 3yr-1day warranty expiration period - 3yr or 5yr warranty of PC parts is a "scam" Maybe so, but apparently Dell also offers anti-theft warranty, and also covers the laptop for when you drop it, etc. With these in mind, I think it's still decent. (Note, I don't use Dell, as they did not have the hardware I wanted, such as ATI graphics) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
What do you do with a .jar file?
Running Sarge with the Sun Java package installed, per the instructions provided on the IRC channel. OK, so I have this .jar file. If I open it using 'java hidejournal-0.3.1.jar', it gives me: Exception in thread "main" java.lang.NoClassDefFoundError: hidejournal-0/3/1/jar If I open it from Nautilus (I run Gnome), it pops it open in File Roller. Just what should I be using to run this? -Dennis Carr -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: What do you do with a .jar file?
Þann 2006-03-02, 12:53:54 (-0800) skrifaði ke6isf: > Running Sarge with the Sun Java package installed, per the instructions > provided on the IRC channel. > > OK, so I have this .jar file. If I open it using 'java > hidejournal-0.3.1.jar', it gives me: > > Exception in thread "main" java.lang.NoClassDefFoundError: > hidejournal-0/3/1/jar > > If I open it from Nautilus (I run Gnome), it pops it open in File Roller. > > Just what should I be using to run this? This is a zipped file of java files, you can use the jar utility to unzip it, see man jar. Oli -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: What do you do with a .jar file?
On Thu, 2 Mar 2006, Olafur Jens Sigurdsson wrote: This is a zipped file of java files, you can use the jar utility to unzip it, see man jar. This is nice, but it simply unpacks, and I'm at a loss as to how to run it. -Dennis -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: What do you do with a .jar file?
ke6isf wrote: > Running Sarge with the Sun Java package installed, per the instructions > provided on the IRC channel. > > OK, so I have this .jar file. If I open it using 'java > hidejournal-0.3.1.jar', it gives me: > > Exception in thread "main" java.lang.NoClassDefFoundError: > hidejournal-0/3/1/jar If it is a jar that is set up properly internally then you can try java -jar hidejournal-0.3.1.jar but not all jar files are executable. -- Chris [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Installing a package from "testing" or "unstable". How?
Chris Lale wrote: > Kevin Dean wrote: > >> In order to do this, you must have the testing or unstable repository >> enabled and un-commented in /etc/apt/sources/list >> >> For instance, (please not, this will be different based on your >> mirrors and sources, but the concept is the same. >> >> as root, nano /etc/apt/sources.list >> >> You'll see lines that look like >> >> deb http://ftp.us.debian.org/debian/ stable main contrib non-free >> >> Comment this out (put a # in front of it) and add >> >> deb http://ftp.us.debian.org/debian/ unstable main contrib non-free >> >> The save the file and exit. >> >> next, do apt-get update >> >> The apt-get install and it should pull from the >> unstable repository. > > > I don't think that this is the recommended way. Are you not likely to > upgrade other packages that you might not want to? > > The Apt HOWTO > http://www.us.debian.org/doc/manuals/apt-howto/ch-apt-get.en.html#s-default-version > explains how to do what you want using pinning. You add the unstable > deb line to /etc/apt/sources.list without commenting out the stable one. > > There is an example at http://backports.org/instructions.html. It shows > how to set up pinning for the backports repository, but you can easily > see how to change the deb line and substitute "unstable" for > "sarge-backports". > Also, if there are too many dependencies from Etch/Sid to being the package in safely (e.g., if it would try to upgrade your libc), then a do-it-yourself approach might be better: http://familiasanchez.net/~roberto/howtos/debcustomize -Roberto -- Roberto C. Sanchez http://familiasanchez.net/~roberto signature.asc Description: OpenPGP digital signature
Mplayer and alsa bug?
I am unable to use alsa as the output plugin for mplayer. mplayer -ao oss works fine but alsa (the default) gives Starting playback... alsa-play: write error: Broken pipe0) ??,?% alsa-play: trying to reset soundcard A: 0.3 (00.3) of 256.0 (04:16.0) 0.2% the error is sometimes repeated several times before mplayer hangs. The problem is on both my i386 and amd64 sid installs running self compiled 2.6.14 kernels. some info apt-cache policy mplayer mplayer: Installed: 1:1.0-pre7cvs20060219-0.1 Candidate: 1:1.0-pre7cvs20060219-0.1 Version table: *** 1:1.0-pre7cvs20060219-0.1 0 990 http://spello.sscnet.ucla.edu sid/main Packages 100 /var/lib/dpkg/status apt-cache policy libasound2 libasound2: Installed: 1.0.10-2 Candidate: 1.0.10-2 Version table: 1.0.10+1.0.11rc2-1 0 1 http://amd64.debian.net experimental/main Packages *** 1.0.10-2 0 500 http://amd64.debian.net etch/main Packages 990 http://amd64.debian.net sid/main Packages 100 /var/lib/dpkg/status I have ggogled and found one mention of this error on another list, but it was unresolved. Anyone else seen this or got a solution, then I would appreciate their input. TIA Wackojacko -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: kernel 2.6.15.5 and fs/nfs errors
Bernd Prager wrote: > I tried to compile the new kernel. > "make-kpkg clean; make-kpkg kernel_image" generates: > > CC [M] fs/nfs/direct.o > fs/nfs/direct.c: In function 'nfs_get_user_pages': > fs/nfs/direct.c:110: warning: implicit declaration of function > 'nfs_free_user_pages' > fs/nfs/direct.c: At top level: > fs/nfs/direct.c:127: warning: conflicting types for 'nfs_free_user_pages' > fs/nfs/direct.c:127: error: static declaration of 'nfs_free_user_pages' > follows non-static declaration > fs/nfs/direct.c:110: error: previous implicit declaration of > 'nfs_free_user_pages' was here > > Anybody similar experiences? > Is this a kernel bug? > > -- Bernd > First, please don't hijack other threads. Start a new one. Second, what version of gcc are you using? -Roberto -- Roberto C. Sanchez http://familiasanchez.net/~roberto signature.asc Description: OpenPGP digital signature
Re: Installing packages from source
RAPPAZ Francois wrote: > Hi, I would like to install libgnomeprint-2.2-2.10. > On my sarge I got 2.8 and with Abiword, fill justified text using true type > font are ill printed. > > I've read that upgrading libgnomeprint would solve this. > > The next version of libgnomeprint-2.2 I've found is 2.12 and trying to > install as a debian package would upgrade a lot of other libraries. I would > like to upgrade to 2.10 only but have not found any debian package of that > version. > > So I have downloaded the source. Now, I have problems with ./configure since > a lot of .pc files are missing (I suppose because I have installed those > libraries as binaries deb packages. > My questions: > - would it be easier to make a debian package with ibgnomeprint-2.2-2.10 and > to install it next ? is there any explanations on the web on how to do this ? > - is there a tool to build these .pc files without having to download all the > sources ? > > Thanks for any help ! > > François Rappaz > Get the Debian source package and backport it yourself: http://familiasanchez.net/~roberto/howtos/debcustomize (I have found that to always be the better option, rather than installing from upstream source.) -Roberto -- Roberto C. Sanchez http://familiasanchez.net/~roberto signature.asc Description: OpenPGP digital signature
Re: copying a 12GB file
On Wed, March 1, 2006 11:04 am, Mike McCarty wrote: > . wrote: >> >> Hi, >> >> how can I copy a 12GB file at reasonable speed over a 1000Mbit ethernet connection from one computer (mailserver) to another (SAMBA file server or my workstation) without going to lengths like installing an FTP server or the like on the mailserver? >> >> File size limit is 2GB with smbmount; NFS will take about 14 hours(!) because copying fails after about 1--2 GB with an I/O error unless using sync mode. > > Why does it fail? You have some sort of hardware problem, presumably. I was thinking there might be something else at work too, perhaps a configuration issue instead of (or inaddition to) a hardware problem? I regularly transfer ~9GB files across my [100mbit] network from a Sarge server to any number of Linux workstations as well as a Windows MCE set top box. Everything is stored on Samba shares using CIFS. I've never gotten any errors and my transfer times are usually very reasonable. -- - Josh www.omg-stfu.com This message has been brought to you by the American Kneejerk Coalition for Equality, Compassion, and the Restoration of Karmic Unity of Self And Other Silly Hippy Happy-Swell Gayness Bullshit, or AKCECRKUSAOSHHSGB for short. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Messages from my firewall
I have Debian Sarge 3.1 r1 with Firestarter as my firewall and I am on DSL. The firewall works great but I am receiving messages every minute or two with the following format: Inbound IN=eth0 OUT= MAC=00:0f:b5:46:4f:5a:00:0b:23:ca:68:ec:08:00 SRC=4.79.142.206 DST=71.129.207.113 LEN=28 TOS=0x00 PREC=0x00 TTL=113 ID=32768 PROTO=ICMP TYPE=8 CODE=0 ID=0 SEQ=0 Inbound IN=eth0 OUT= MAC=00:0f:b5:46:4f:5a:00:0b:23:ca:68:ec:08:00 SRC=68.142.199.254 DST=71.129.207.113 LEN=1492 TOS=0x00 PREC=0x00 TTL=47 ID=42028 DF PROTO=TCP SPT=80 DPT=33975 WINDOW=65535 RES=0x00 ACK URGP=0 Inbound IN=eth0 OUT= MAC=00:0f:b5:46:4f:5a:00:0b:23:ca:68:ec:08:00 SRC=192.168.0.1 DST=71.129.207.113 LEN=92 TOS=0x00 PREC=0x00 TTL=64 ID=1857 PROTO=ICMP TYPE=8 CODE=0 ID=0 SEQ=1 Inbound IN=eth0 OUT= MAC=00:0f:b5:46:4f:5a:00:0b:23:ca:68:ec:08:00 SRC=68.142.199.254 DST=71.129.207.113 LEN=1492 TOS=0x00 PREC=0x00 TTL=47 ID=24957 DF PROTO=TCP SPT=80 DPT=33975 WINDOW=65535 RES=0x00 ACK URGP=0 These messages appear on my virtual terminals, whether I am logged on or not. Any way to get rid of them. Thanks for your thoughts! -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Debian Install problem on Inspiron
Hi. I tried to install Debian Inspiron 16000 with Debian 3.1r1, rc2, netsinstall and Sarge. Each time the installation failed because the installed couldnt find a disk for partititoning. Here are outputs of some commands when i opened the machine with Knoppix: lspci -vv: http://pastebin.com/580921 lspci: http://pastebin.com/580927 lsmod: http://pastebin.com/580937 proc/ide/drives: http://pastebin.com/580939 -- Oğuz Yarımtepe Çanakkale Onsekiz Mart Üniversitesi Bilgisayar Mühendisliği
postgresql-common 42 fails to upgrade
I have a Debian Etch machine that I keep up to date. Recently when I tried to upgrade from (I believe) postgresql-common version 39 to postgresql-common version 42 in Synaptic, I received an error that a sub-process install had failed. Like a fool I closed the window before copying down the original message. Here's the output I get when running "aptitude reinstall postgresql-common" as root: --- The following packages will be REINSTALLED: postgresql-common 0 packages upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 13 not upgraded. Need to get 0B of archives. After unpacking 0B will be used. Writing extended state information... Done Setting up postgresql-common (42) ... dpkg: error processing postgresql-common (--configure): subprocess post-installation script returned error exit status 1 Errors were encountered while processing: postgresql-common E: Sub-process /usr/bin/dpkg returned an error code (1) A package failed to install. Trying to recover: Setting up postgresql-common (42) ... dpkg: error processing postgresql-common (--configure): subprocess post-installation script returned error exit status 1 Errors were encountered while processing: postgresql-common --- Here's the (partial) output I get when running "dpkg-query -l postgresql-common": iF postgresql-common 42 Any ideas why postgresql-common is failing to upgrade? My Postgresql 8.1 server is still operating fine, and I can install/upgrade other packages. However, this error comes up whenever I run any apt related command. Thanks in advance for any help! Michael Schurter -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Stupid shell script question about "read"
On Thu, Mar 02, 2006 at 09:19:02AM -0800, David Kirchner wrote: > On 3/2/06, Kevin B. McCarty <[EMAIL PROTECTED]> wrote: > > Hi list, > > > > Could someone tell me why the following works in zsh but not in > > bash/posh/dash? > > > > benjo[3]:~% echo foo bar baz | read a b c > > benjo[4]:~% echo $a $b $c > > foo bar baz > > > > If I try the same with bash (or other sh-compatible shells), the > > variables $a $b and $c are unset. From the bash man page: > > ... > > So "read" claims to read from the standard input, but it doesn't > > actually seem to happen when a pipe is involved. > > What's happening here is that the pipe is causing a subshell to be > spawned, which is then parsing the command "read a b c". > > http://linuxgazette.net/issue57/tag/1.html > > The example he gives, with the < <() syntax, worked in bash, but not > in Debian or FreeBSD's /bin/sh. In more recent bashes, the following should work as well #!/bin/bash read a b c <<<`echo foo bar baz` echo $a $b $c The <<< ("here strings") are an extension of the "here document" syntax, IOW, the string given after <<< is supplied as stdin to the command. Then, there's another variant, which is about as ugly as it can get... It should, however, work with most bourne shell compatible shells: #!/bin/sh eval `echo foo bar baz | (read a b c; echo "a='$a';b='$b';c='$c'" )` echo $a $b $c To get the variable's values from the subshell back to the main shell, a shell code fragment is written on stdout, captured with backticks, and then eval'ed in the main shell... (this is the moment when I usually switch to some other scripting language -- if not before :) Cheers, Almut -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: firefox very slow since start of Feb
Micha feigin wrote: Firefox has a serious memory leak issue, esspecially if you open more the one tab. Make sure that your hard disk is not thrashing due to swap usage. I have to restart firefox every few hours due to this problem to cleanup memory. The memory leak in Firefox comes up a lot on this list. I am sure it comes up equally frequently on other lists, as well. Does anyone know if the Mozilla/Firefox team is doing anything about this. They came out with a new version (1.5) but they haven't fixed this problem. Do we know if they plan to fix this, or are they going to just leave bugs in their software like some other company (who shall remain nameless, here, forevermore). -- Marc Shapiro [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Debian 3.1 on a Dell PowerEdge 2800 Server
On Thu, 2006-03-02 at 14:56 -0500, Yu,Glen [Ontario] wrote: > Hi everyone, > > I'm plan on installing Debian 3.1 (2.4.27 kernel) on a Dell PE2800 server > soon (just waiting for a few more pieces of equip. to arrive) and while I > have used Debian a little bit in the past, I've never installed in on a > server before. I was hoping somebody who has done this before can give me > some tips/info on the following: > > 1) does/will Debian have issues if I use the hw RAID controller on the > Dell server? like the perc4i raid controller? > 2) the server will have dual Xeon processors and 8GB of RAM, does > Debian suppor this? (I've read in some places that Debian doesn't support > > 4GB of RAM, etc. but I haven't been able to get a definite answer to that > from googling) download the deb of the kernel you want to run (probably and SMP variant). use 'ar' to unarchive it (google for this). then look at the file 'boot/config-blah' with less or vi or whatever. # CONFIG_NOHIGHMEM is not set CONFIG_HIGHMEM4G=y # CONFIG_HIGHMEM64G is not set CONFIG_HIGHMEM=y look for those lines. if CONFIG_HIGHMEM=y and CONFIG_HIGHMEM64G=y are set, you are gold. -matt zagrabelny -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: ready to use debian or ubuntu laptop reccomendations?
Johannes Wiedersich wrote: Britton Kerin wrote: I would like to buy my non-linux girlfriend a ready to use laptop with: wireless scan, falling back to CAT5 DHCP open office CD ROM that automounts SD card reader that automounts working sound card reasonable memory and disk working video acceleration (at least a bit) Unfortunately, my personal experience is that your requirements won't work out of the box. You may be lucky and find a laptop that supports the hardware you require, but you still need to set it up yourself. I've been having reasonably good luck with my expensive ThinkPad, but wireless, automounting, the modem don't work out of the box. With debian, eg. you manually have to add your user to the cdrom and audio and video groups to fully use your cdrom/dvd. And I found that I had to add my wife to the dialup group, even though we have DSL and do not use a modem, in order to access the USB ports because /dev/ttyUSBxx seem to require it. -- Marc Shapiro [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Debian Install problem on Inspiron
On Fri, 2006-03-03 at 00:14 +0200, Oğuz Yarımtepe wrote: > Hi. I tried to install Debian Inspiron 16000 with Debian 3.1r1, rc2, > netsinstall and Sarge. Each time the installation failed because the > installed couldnt find a disk for partititoning. > > Here are outputs of some commands when i opened the machine with Knoppix: > > lspci -vv: http://pastebin.com/580921 it looks as though you have similar hardware to me. i have a debian inspiron 6000, and have debian running. i installed debian using a 2.4 kernel. then, once installed, i compiled my own kernel with certain atapi tricks. install24 at lilo should work keep in mind that there will be no dma on the drive during the install process and it will seem slow. this will be corrected later with a new kernel that sees the drive as scsi. > lspci: http://pastebin.com/580927 > lsmod: http://pastebin.com/580937 > proc/ide/drives: http://pastebin.com/580939 > -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: firefox very slow since start of Feb
[EMAIL PROTECTED] wrote: Firefox has a serious memory leak issue, esspecially if you open more the one tab. Make sure that your hard disk is not thrashing due to swap usage. I have to restart firefox every few hours due to this problem to cleanup memory. It's not a leak. It's a /feature/. ;) http://developers.slashdot.org/article.pl?sid=06/02/14/2154224 That talks about Firefox v1.5, but the problem has been around at least since v1.0.4, which I am still using), besides, the cache only makes it faster until such time as you start swapping out the cache. -- Marc Shapiro [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
ERP & accounting software
Hello group, I need suggestion for ERP and accounting softwares running on Linux and if it could be package for Debian it would be a plus. It would be for a small to medium business. TIA, Bernard -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: ERP & accounting software
Bernard Fay wrote: > Hello group, > > I need suggestion for ERP and accounting softwares running on Linux and > if it could be package for Debian it would be a plus. It would be for a > small to medium business. > > TIA, > > Bernard > > I've begin experimenting with sql-ledger. It is very flexible and powerul. Consqeuntly, it will probably take a good bit of tweaking and configuring to get it how you like. One big advantage is that everything is done through a web interface and the permission system is very fine grained. So, for example, you can have users that can only view certain accounts, others who can view all accounts, and yet others that can view all and only modify some accounts. On the down side, the documentation is not free, and if you want it you must be prepared to pay the author for it. As far as ERP, I have experimented briefly with crm-ctt (not packaged for Debian). The interface is very nice and looks very professional. However, it only works with MySQL. I started working to port it to PostgreSQL (since I refuse to deploy MySQL), but I won't have the time to finish it for a few more months. Regards, -Roberto -- Roberto C. Sanchez http://familiasanchez.net/~roberto signature.asc Description: OpenPGP digital signature
Re: kernel 2.6.15.5 and fs/nfs errors
Roberto C. Sanchez wrote: Bernd Prager wrote: I tried to compile the new kernel. "make-kpkg clean; make-kpkg kernel_image" generates: CC [M] fs/nfs/direct.o fs/nfs/direct.c: In function 'nfs_get_user_pages': fs/nfs/direct.c:110: warning: implicit declaration of function 'nfs_free_user_pages' fs/nfs/direct.c: At top level: fs/nfs/direct.c:127: warning: conflicting types for 'nfs_free_user_pages' fs/nfs/direct.c:127: error: static declaration of 'nfs_free_user_pages' follows non-static declaration fs/nfs/direct.c:110: error: previous implicit declaration of 'nfs_free_user_pages' was here Anybody similar experiences? Is this a kernel bug? -- Bernd First, please don't hijack other threads. Start a new one. Second, what version of gcc are you using? -Roberto Sorry, my bad. This question should be easy, but I am not entirely sure. Just "gcc --version" reports: gcc (GCC) 4.0.3 20060212 (prerelease) (Debian 4.0.2-9) But "dpkg --list | grep gcc" indicates I have still an older version on my system: ii gcc 4.0.2-2The GNU C compiler ii gcc-3.3 3.3.6-10 The GNU C compiler ii gcc-3.3-base3.3.6-10 The GNU Compiler Collection (base package) ii gcc-4.0 4.0.2-9The GNU C compiler ii gcc-4.0-base4.0.2-9The GNU Compiler Collection (base package) ii libgcc1 4.0.2-9GCC support library I assume make-kpkg picks the standard (the newer) version. Am I mistaken? -- Bernd -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: 2.6 compilation woes...
Doofus wrote: > My question now is: which is the better kernel build method, initrd > where everything can be just modularised and there's not much else to > worry about, or compiling the necessary core drivers into the kernel and > loading other modules on-the-fly as needed (which is what I've always > done with 2.4 kernels)? The first of these seems clearly the easier path > to take, but isn't the second methos using kmod a better/more optimum > method? If you're compiling for only one machine, I'd just compile what is necessary to boot the machine (or that doesn't work as a module) into the kernel. If you are creating a kernel for multiple types of machines, use initrd. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: xrdb questions
On Thu, Mar 02, 2006 at 10:02:59AM -0600, Robert D. Crawford wrote: > Andrew Cady <[EMAIL PROTECTED]> writes: > > > Please re-read my post. I know you don't want the resources cleared. > > That's why I told you how to avoid it! > > I am still not sure how the information will help my problem. Will the > resources persist across reboots or logging out of X? X resources are stored in the X server. When the X server is started, there are none set; when it is reset, they are cleared. The program xrdb is responsible for setting them. It should be run automatically upon X login. (The Debian X session script will do this; the script is documented in Xsession(5) and the relevant file is /etc/X11/Xsession.d/30xfree86-common_xresources). If xrdb is run before another client connects, the -retain option must be used. This seems to be a problem that occurs when people write their own X sessions, for some reason. However, reading that (below) I think -retain may not be the fix. Not sure why I thought it was, but anyway... > Since the last x client is the wm, the settings persist as long as I > am using X. My problem is that when I log in, which is pretty rarely > as the machine is up all the time and is rarely rebooted, emacs must > be closed and restarted for my settings to be in effect. Do you mean you launch emacs in your X session? It sounds like you just have to make sure xrdb runs (and finishes) before emacs starts. Your resources are getting set, just not in time, correct? -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
environment for viewing/creating ANSI art?
Hi -- I would like to set up an environment on my Debian system that is suitable for viewing and creating ANSI art, specifically the sort that was popular on bulletin board systems in the 90's. Based on what I could find on Google, these are usually intended for the so-called "extended ASCII" 8-bit character set that was used on IBM PC's and compatible systems running DOS. (code page 437? please correct me if I am wrong). The tetradraw package in the editors section appears very promising. I've installed it, but I've run into problems with things such as line-drawing and box characters appearing garbled. I've tried a variety of X terminal programs (e.g., gnome-terminal, konsole, xterm, rxvt) with a variety of font faces; some of them presented a variety of character encoding options and I've tried many of those as well. I've read some messages stating that tetradraw runs best on the Linux console; I've tried using both framebuffers and the standard console with even more disappointing results ("bright" colors not displayed at all, and some characters omitted entirely). The closest I've been able to come is using the "Andale Mono" font face from the msttcorefonts package, with either gnome-terminal or konsole. The tetraview tool will display most of the ANSI art files I can find as expected, but running tetradraw still displays with accented letters and empty rectangles where I would expect box-drawing characters and so forth. I haven't seen any problem with the escape sequences for character color or cursor positioning, so I am led to believe that this is simply a matter of finding the right combination of locale, character encoding, and terminal or console font. If anyone has recommendations for configuration (or other software to look into) I would be very grateful. Thanks cmr -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Stupid shell script question about "read"
On Thu, Mar 02, 2006 at 10:23:20AM -0500, Kevin B. McCarty wrote: > Hi list, > > Could someone tell me why the following works in zsh but not in > bash/posh/dash? > > benjo[3]:~% echo foo bar baz | read a b c > benjo[4]:~% echo $a $b $c > foo bar baz > > If I try the same with bash (or other sh-compatible shells), the > variables $a $b and $c are unset. From the bash man page: [...] > So "read" claims to read from the standard input, but it doesn't > actually seem to happen when a pipe is involved. It does happen. However, see the section "Pipelines" in the bash info page: A `pipeline' is a sequence of simple commands separated by `|'. [...] The output of each command in the pipeline is connected via a pipe to the input of the next command. That is, each command reads the previous command's output. [...] Each command in a pipeline is executed in its own subshell For some builtin commands this may be useful; for 'read' obviously it is not. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: ready to use debian or ubuntu laptop reccomendations?
On Thursday 02 March 2006 01:20, Star King of the Grape Trees wrote: > Andrew Cady wrote: > > > > > >(If you're thinking that just because Dell can't switch to Linux they > >have no power, consider that they *could* start shipping PCs with > >Firefox, or servers optionally with Linux, or PCs without OSes). > > I am very certain that Dell does sell servers that optionally have > Linux, and even says this on their website. Nothing but lip service. I tried this week, still no dice. They advertise it on their website, but Dell will not, under any circumstance, sell you a preinstalled Linux box. You can even call them and ask questions, they'll as politely as possible tell you that you're a freaking moron for even thinking they do. Two years have passed, not one bit has changed: http://www.groklaw.net/articlebasic.php?story=20040918105850387 -- Paul Johnson Email and IM (XMPP & Google Talk): [EMAIL PROTECTED] Jabber: Because it's time to move forward http://ursine.ca/Ursine:Jabber -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: kernel 2.6.15.5 and fs/nfs errors
On Thu, 02 Mar 2006, Bernd Prager wrote: > I tried to compile the new kernel. > "make-kpkg clean; make-kpkg kernel_image" generates: > > CC [M] fs/nfs/direct.o > fs/nfs/direct.c: In function 'nfs_get_user_pages': > fs/nfs/direct.c:110: warning: implicit declaration of function > 'nfs_free_user_pages' http://sourceforge.net/forum/forum.php?thread_id=1447532&forum_id=426789 -- "One disk to rule them all, One disk to find them. One disk to bring them all and in the darkness grind them. In the Land of Redmond where the shadows lie." -- The Silicon Valley Tarot Henrique Holschuh -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: environment for viewing/creating ANSI art?
On Thu, Mar 02, 2006 at 08:37:21PM -0500, Chris Roddy wrote: > Hi -- > > I would like to set up an environment on my Debian system that is > suitable for viewing and creating ANSI art, specifically the sort that > was popular on bulletin board systems in the 90's. > > Based on what I could find on Google, these are usually intended for the > so-called "extended ASCII" 8-bit character set that was used on IBM PC's > and compatible systems running DOS. (code page 437? please correct me if > I am wrong). [...] > I haven't seen any problem with the escape sequences for character color > or cursor positioning, so I am led to believe that this is simply a > matter of finding the right combination of locale, character encoding, > and terminal or console font. > > If anyone has recommendations for configuration (or other software to > look into) I would be very grateful. The "dosemu" package includes the font that you want -- the very same one that came on the IBM-PC, with all the line-drawing glyphs and such. The other problem is colors. I know that the 'rxvt' xterm clone allows each ANSI color to be set to an arbitrary RGB value using X resources. I don't know what the proper settings are, but I would not be surprised if the dosemu documentation was helpful in this respect. Unfortunately, rxvt does not support blinking. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: kernel 2.6.15.5 and fs/nfs errors
On Thu, 02 Mar 2006, Henrique de Moraes Holschuh wrote: > On Thu, 02 Mar 2006, Bernd Prager wrote: > > I tried to compile the new kernel. > > "make-kpkg clean; make-kpkg kernel_image" generates: > > > > CC [M] fs/nfs/direct.o > > fs/nfs/direct.c: In function 'nfs_get_user_pages': > > fs/nfs/direct.c:110: warning: implicit declaration of function > > 'nfs_free_user_pages' > > http://sourceforge.net/forum/forum.php?thread_id=1447532&forum_id=426789 Of course, I didn't mean to paste that URL, HPLIP has nothing to do with the kernel bug :) It looks that by going from GNOME to KDE I got rid of a system that is dumbed down every release in exchange for a system that can't fucking get the X cut buffer right. Anyway, the proper URL is: http://article.gmane.org/gmane.linux.kernel/384680 -- "One disk to rule them all, One disk to find them. One disk to bring them all and in the darkness grind them. In the Land of Redmond where the shadows lie." -- The Silicon Valley Tarot Henrique Holschuh -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Stupid shell script question about "read"
On Thursday 02 March 2006 16:23, Kevin B. McCarty wrote: > Hi list, > > Could someone tell me why the following works in zsh but not in > bash/posh/dash? > > benjo[3]:~% echo foo bar baz | read a b c > benjo[4]:~% echo $a $b $c > foo bar baz > > If I try the same with bash (or other sh-compatible shells), the > > variables $a $b and $c are unset. From the bash man page: > > read [-ers] [-u fd] [-t timeout] [-a aname] [-p prompt] [-n nchars] > > [-d delim] [name ...] > > One line is read from the standard input, or from > > the file descriptor fd supplied as an argument to the -u option, and > > the first word is assigned to the first name, the second word to the > > second name, and so on, with leftover words and their interven‐ ing > > separators assigned to the last name. > > So "read" claims to read from the standard input, but it doesn't > actually seem to happen when a pipe is involved. > [...] Each command in the pipeline gets executed in its own subshell and so the variables are set there and not passed back to the parent process. This is clear for example when you read about the compound command ( list ): (list) list is executed in a subshell. Variable assignments and builtin commands that affect the shell's environment do not remain in effect after the command completes. [...] So this would work: $ echo foo bar baz | ( read a b c; echo $a $b $c) foo bar baz $ Else you can use a 'here document' construct to feed some standard input to "read" in the same environment as the shell doing the "read", as for example: $ read a b c< foo bar baz > END $ echo $a $b $c foo bar baz $ Ciao. alfredo
Re: environment for viewing/creating ANSI art?
Chris Roddy wrote: > Based on what I could find on Google, these are usually intended for the > so-called "extended ASCII" 8-bit character set that was used on IBM PC's > and compatible systems running DOS. You probably want one of these: xfonts-terminus-dos - Fixed-width fonts for DOS encodings xfonts-dosemu - VGA font for the DOS Emulator If you want to use the console, 'man consolechars'. 'apropos console' for other relevant commands. You may also be interested in these packages: aa3d - ASCII art stereogram generator aewan - ASCII-art Editor Without A Name artwiz-cursor - artwiz futuristic mouse cursor for x11 ascii - interactive ASCII name and synonym chart asciijump - Small and funny ASCII-art game about ski jumping aview - A high quality ASCII art image viewer and video player bb - ASCII-art demo based on AAlib libaa1 - ascii art library libaa1-dev - ascii art library, development kit msc - Generates simple ASCII message sequence charts overkill - bloody 2D action deathmatch-like game in ascii-art textdraw - Tool to draw/modify/move geometric figures & text for ASCII art xfonts-mona - proportional fonts for 2ch ASCII art -- John Hasler -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: ready to use debian or ubuntu laptop reccomendations?
On 03/02/2006, Paul Johnson wrote: > On Thursday 02 March 2006 01:20, Star King of the Grape Trees wrote: > >>> Andrew Cady wrote: >> > >>> I am very certain that Dell does sell servers that optionally >>> have Linux, and even says this on their website. > > > Nothing but lip service. I tried this week, still no dice. They > advertise it on their website, but Dell will not, under any > circumstance, sell you a preinstalled Linux box. You can even call > them and ask questions, they'll as politely as possible tell you that > you're a freaking moron for even thinking they do. You're not alone. Read this article... Quoting from: http://www.desktoplinux.com/news/NS7763046071.html Why Won't Dell Promote Its Linux Desktops? > Last Thursday, when I wrote about Dell's new Linux desktop, was one > of the most frustrating days of my professional life. My eWEEK > colleague John Spooner and I tried our best to get Dell to confess > that they really had released an honest-to-God Linux desktop. > > But Dell simply wouldn't do it. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: kernel 2.6.15.5 and fs/nfs errors
В сообщении от Четверг 02 марта 2006 22:54 Bernd Prager написал(a): > I tried to compile the new kernel. > "make-kpkg clean; make-kpkg kernel_image" generates: > > CC [M] fs/nfs/direct.o > fs/nfs/direct.c: In function 'nfs_get_user_pages': > fs/nfs/direct.c:110: warning: implicit declaration of function > 'nfs_free_user_pages' > fs/nfs/direct.c: At top level: > fs/nfs/direct.c:127: warning: conflicting types for 'nfs_free_user_pages' > fs/nfs/direct.c:127: error: static declaration of 'nfs_free_user_pages' > follows non-static declaration > fs/nfs/direct.c:110: error: previous implicit declaration of > 'nfs_free_user_pages' was here > > Anybody similar experiences? > Is this a kernel bug? > > -- Bernd I found this patch somewhere on lwn.net :) -- If you think of MS-DOS as mono, and Windows as stereo, then Linux is Dolby Digital and all the music is free... Index: linux-2.6.15-ck5/fs/nfs/direct.c === --- linux-2.6.15-ck5.orig/fs/nfs/direct.c 2006-03-02 13:06:57.0 +1100 +++ linux-2.6.15-ck5/fs/nfs/direct.c2006-03-02 13:55:28.0 +1100 @@ -73,6 +73,8 @@ struct nfs_direct_req { error; /* any reported error */ }; +static void +nfs_free_user_pages(struct page **pages, int npages, int do_dirty); /** * nfs_get_user_pages - find and set up pages underlying user's buffer pgp2rvaFDooJI.pgp Description: PGP signature
Re: Stupid shell script question about "read"
On Thu, Mar 02, 2006 at 10:23:20AM -0500, Kevin B. McCarty wrote: > Hi list, > > Could someone tell me why the following works in zsh but not in > bash/posh/dash? > > benjo[3]:~% echo foo bar baz | read a b c > benjo[4]:~% echo $a $b $c > foo bar baz > > If I try the same with bash (or other sh-compatible shells), the > variables $a $b and $c are unset. From the bash man page: > > > Posh and dash behave like bash in this respect, so I guess that this is > not a bug, and that what zsh does is actually an extension. So, what is > the correct POSIX-compatible way to get "read" to work as I want? > I think the POSIX way would be echo foo bar baz | { read a b c; echo $a $b $c; } -- Some people cause happiness wherever they go; others, whenever they go. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: FAQ on debian newcomer list
On Wed, 2006-01-11 at 00:49 -0500, kamaraju kusumanchi wrote: > I would appreciate any feedback/corrections/suggestions etc., (however > trivial you think they are) on the following FAQ on debian-user. The > final corrected version will be uploaded to > http://people.cornell.edu/pages/kk288/du-guidelines.html . I am posting > the initial version for your kind consideration. I'm a little late on this, but ... Point 8: 'Keep the posts on the list' could possibly note some exceptions to this rule. Knowing the author personally is one, though not necessarily relevant; the reply could still be relevant to the list. Another that springs to mind is leaving the topic, for example enquiring about something mentioned in passing, perhaps even in the poster's .sig, which may be totally unrelated to debian, let alone the thread. Having mentioned the examples will also provide some answers to the FAQ at the bottom about Reply-To: being set - if it is munged, the post can't easily be replied to off-list, and having private posts go to the list is worse than having public ones go off it. Richard -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]