[gentoo-user] md5sum error
Hi: When i use: md5sum -c stage3-x86-2005.0.tar.bz2.md5 I got a result as below: stage3-x86-2005.0.tar.bz2: FAILED md5sum: WARNING: 1 of 1 computed checksum did NOT match install-x86-universal-2005.0.iso was downloaded via BitTorrent from gentoo.org Any suggestion? Thanks! -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] eterm issue
- Original Message - From: Bob Sanders [EMAIL PROTECTED] To: gentoo-user@lists.gentoo.org Sent: Saturday, August 06, 2005 2:52 AM Subject: Re: [gentoo-user] eterm issue On Fri, 5 Aug 2005 15:58:11 +0200 Arek Murzyn [EMAIL PROTECTED] wrote: I've done something recently on my gentoo and I don't remember what but till that moment I cannot run Eterm or xterm when logged as user. When logged as root everything is working. This issue is known on the web but solutions does not satisfy me Eterm. There are messages: Can't open pseudo-tty --No such file or directory Unable to run sub-command Then Eterm window raises and there is only Hit any key to exit I checked: - /dev/pty is compiled in kernel - /dev/pty directory exists and all files within - symbolic links in /dev exists too - changed rights to all these files to rwxrwxrwx - nothing helped 2.6.12r6, 2005.0 What can I do more? Changin debugging level in Eterm gives nothing. Did you use Unix98 PTY or Legacy (BSD) Pty? Also, are you using udev? And you have Virtual terminal? fwiw - I haven't seen it here with Unix98 ptys, udev, and 2.6.12-r4. I use udev and Legacy(BSD) with 2.6.12-r6. How to check if I use virtual terminal? How to switch to Unix98 - I can't find this option in menuconfig. Very strange is that root can open eterm without problems, any user (even with additional group 'root') can't. I see some messages in logs about pam authentication. Could it be related to that? Thanks, Arek -- gentoo-user@gentoo.org mailing list
[gentoo-user] Acer TM2313 NIC problems
Hi, I've bought a new Acer TravelMate 2313. I've tried to install this weekend. Everything seemed to go fine but I don't have a network connection. The NIC is a SiS 900 PCI fast ethernet adapter. Looking at ``dmesg'' there everything looks O.K. I see the driver loading, finding the card and bringing the link up. The lights on the NIC are both (continous) lighting. If I do an ``ifconfig eth0 down'' followed by an ``ifconfig eth0 up`` the lights turn both off for about one second and then both on again. I see the link coming up in the log and in dmesg. Trying to ping some address I get network unreachable. The network connection itself works. This is tested with another (Acer) notebook. Due to the fact that there are a couple of messages about disconnecting and connecting PCI devices in the log I'm wondering about a hardware problem. Well this all don't happen with Gentoo. Acer (fortunately) has a Linpus Linux installed on delivery. So I have a means to do some recovery. I've tried this of course with the Gentoo install CD too. Further on I've tried Knoppix, Mandrake, SuSe, Ubuntu and Fedora. I know I've seen some messages about Acer notebooks on this list. Unfortunately I cannot search the archives without a network connection. My chief tolerates if I'm writing a mail during working time. I'm afraid he won't tolerate me spending hours searching something private on the WEB. If someone knows about issues with the sis900.c module please let me know. Thanks in advance Frank PS: ... and yes, I did RTFM ``menuconfig'' points to. ;) -- gentoo-user@gentoo.org mailing list
[gentoo-user] How do I emerge Evolution+eds with debug information?
Hi, Evolution is crashing on me on start with the following output: ## snip ## [EMAIL PROTECTED] ~ $ evolution es menu class init adding hook target 'source' (evolution:8059): camel-WARNING **: Invalid root: '/home/colding/.evolution/mail/local/Drafts.ibex.index' (evolution:8059): camel-WARNING **: version: TEXT.000 (TEXT.000) (evolution:8059): camel-WARNING **: block size: 1024 (1024) OK (evolution:8059): camel-WARNING **: free: 0 (0 add size 1024) OK (evolution:8059): camel-WARNING **: last: 6144 (6144 and size: 1024) BAD (evolution:8059): camel-WARNING **: flags: unSYNC ## snip ## Does anyone have an idea on how I can get evo happy and maybe even read mail again? I can not get any sensible debug information from bug-buddy. So how do I re-emerge evo and eds with debug symbols? Thanks, jules -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] how to control portage space usage
On Sun, 7 Aug 2005, Fernando Meira wrote: Hi Tero, what I meant with redo my partitions was in the way that I will expand my gentoo partition (or try to). I have: # df -h Filesystem Size Used Avail Use% Mounted on /dev/hda4 4.6G 3.8G 803M 83% / ^^ *might* be enough for a minimal system, but not for your compiles or distfiles. udev 252M 808K 252M 1% /dev ^^ Why a separate partition for /dev? This is complete waste. Especially with that size. /dev/hda5 23G 20G 3.3G 86% /mnt/share ^^ You'll *never* need that much space in here. Do not have this on a separate partition. Maybe you could make this partition your /home ? /dev/hda1 9.8G 8.0G 1.8G 82% /mnt/windows ^^ Complete waste ;) none 252M 0 252M 0% /dev/shm Options: - erase hda1 (win$) and merge with with hda4. - somehow rearrange hda5 (which is FAT) and split it 2, and merge a part to hda4. It is up to you how to rearrange them but I suggest that you have only these partitions for Gentoo: /boot / /home (optional but recommended) (+swap) what are the advantages of pointing PORTAGE_TMPDIR and DISTDIR to other partitions? The idea is, ofcourse, to give your compiles and distfiles more room. This in turn would free up space for your system. thanks for the localepurge tip: - Total disk space freed by localepurge: 48448K (not bad ;) Yeah, it's great. BTW, check out the 'userlocales' USE flag for glibc too. It will speed up the compilation and save some space. -- T.G. -- gentoo-user@gentoo.org mailing list
[gentoo-user] 16 colours xpm
Anybody in the know how to generate an xpm image with 16 colours and 1 character per pixel? I mean other than using vi. ;-) Alternatively, converting an image to that format would do for me. Uwe -- 95% of all programmers rate themselves among the top 5% of all software developers. - Linus Torvalds http://www.uwix.iway.na (last updated: 20.06.2004) -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] how to control portage space usage
On Sun, 07 Aug 2005 19:04:32 -0300, Francisco J. A. Ares wrote: Not a script, but I have some machines with /usr/portage NFS'd to a server (I'm thinking about doing the same with /var/tmp/portage/ also, but don't know how to lock it to avoid colisions). Putting PORTAGE_TMPDIR on an NFS partition would slow merging down horribly. -- Neil Bothwick Teamwork is essential; it gives the enemy other people to shoot at. pgpaer0jbUgAl.pgp Description: PGP signature
Re: [gentoo-user] how to control portage space usage
Also makes long builds like OO and xorg fail for random network issues as well seeming to take forever. My success rate for OO is under 50% of attempts when I was using NFS for the tmpdir. Did work fine for smaller builds tho. BillK On Mon, 2005-08-08 at 09:03 +0100, Neil Bothwick wrote: On Sun, 07 Aug 2005 19:04:32 -0300, Francisco J. A. Ares wrote: Not a script, but I have some machines with /usr/portage NFS'd to a server (I'm thinking about doing the same with /var/tmp/portage/ also, but don't know how to lock it to avoid colisions). Putting PORTAGE_TMPDIR on an NFS partition would slow merging down horribly. -- gentoo-user@gentoo.org mailing list
[gentoo-user] Gentoo on P7010: very quiet sound
Hello, I installed last week on my Fijutsu Siemens P7010 Notebook Gentoo. The sound is working fine after manuelly amending the modules for ALSA, but its very very quiet. Even with alsamixer and kdemixer set to the top I hardly hear anything. Any idea how to solve this ? And a another question: Because the notebook doesn't have any volume adjuster: is there any chance to get the [FN] Keys to work ? Thanks Stonki -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Gentoo on P7010: very quiet sound
Hi, I installed last week on my Fijutsu Siemens P7010 Notebook Gentoo. The sound is working fine after manuelly amending the modules for ALSA, but its very very quiet. Even with alsamixer and kdemixer set to the top I hardly hear anything. Any idea how to solve this ? ignore me... ;:) 1) I found a setting in the bios 2) I used the PCM mixer in KDE and now its fine. cu stonki -- gentoo-user@gentoo.org mailing list
RE: [gentoo-user] Re: rebuilding with -e -- problem with output
-Original Message- From: Raymond Lillard [mailto:[EMAIL PROTECTED] Sent: 06 August 2005 21:57 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Re: rebuilding with -e -- problem with output Zac Medico wrote: Raymond Lillard wrote: Mark Shields wrote: Perhaps I wasn't clear enough (I apologize, I was only waking up then). I changed my make.conf file yesterday and starting recompiling my entire system with emerge -ve world . I used the because I was at work and didn't want the recompile process stopping if my ssh session was terminated unexpectedly. It's still compiling today as I see pktstat is running, but I want to be able to see the output. Is there a way to recapture the output to screen or to a file? Not that I know of now. If asked in advance of starting the emerge, I would have advised you to use nohup. I'm not aware of a way to reconnect with stderr, stdin, and stdout but I know that those file descriptors still exist in /proc/${PID}/fd. Normally, in order to accomplish what you want, I would use app-misc/screen. Screen is a very nice solution because you can reattach to an interactive terminal whenever you want. Good idea. Alternatively, you can redirect the emerge output to a log file: emerge foo /var/log/emerge-foo.log 21 All true, but the point of using nohup is that it disassociates the nohup'd process from the parent shell/terminal session. This allows one to start a long running task and log out without ending it. Pushing a task into the background followed by a logout will end said background task. Progress may be monitored by logging in at some later point in time and/or from some other location. tail -f works well for this. -- Regards, Ray In addition to the above there's also PORTAGE_LOG=/var/log/portage which can be set in the /etc/make.conf to capture the emerge proceedings by tee-ing into the relevant file in /var/log/portage. Again, using tail -f in this file(s) will show you what's happening. Setting up logrotate or a cron jobby will help to keep the /var/log/portage directory under control before it bloats itself to destruction. ;) -- Regards, Mick -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] md5sum error
On Mon, 8 Aug 2005 14:17:25 +0800, glumtail wrote: stage3-x86-2005.0.tar.bz2: FAILED md5sum: WARNING: 1 of 1 computed checksum did NOT match install-x86-universal-2005.0.iso was downloaded via BitTorrent from gentoo.org Any suggestion? Thanks! Download it again. md5sum is telling you it is corrupt. -- Neil Bothwick I am logged in, therefore I am. pgp1QjjpZdm0J.pgp Description: PGP signature
Re: [gentoo-user] how to control portage space usage
On Mon, 8 Aug 2005 10:45:36 +0300 (EEST), Tero Grundstr_m wrote: udev 252M 808K 252M 1% /dev ^^ Why a separate partition for /dev? This is complete waste. Especially with that size. udev is a virtual filesystem, it's using 808K of memory, not 252M of disk space. udev appears to allocate half the available RAM as the maximum size for /dev. -- Neil Bothwick But there, everything has its drawbacks, as the man said when his mother-in-law died, and they came down upon him for the funeral expenses. -- Jerome K. Jerome pgpC4OMhDv0KV.pgp Description: PGP signature
Re: [gentoo-user] How do I emerge Evolution+eds with debug information?
On Mon, 2005-08-08 at 09:15 +0200, Jules Colding wrote: I can not get any sensible debug information from bug-buddy. So how do I re-emerge evo and eds with debug symbols? Try USE=debug CFLAGS=-g emerge -1 evolution evolution-data-server. -- gentoo-user@gentoo.org mailing list
RE: [gentoo-user] NE module, modprobe, etc.
-Original Message- From: W.Kenworthy [mailto:[EMAIL PROTECTED] Sent: 08 August 2005 03:42 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] NE module, modprobe, etc. Experience across a number of cards on a number of machines (both running 2.4 and early 2.6 kernels) says otherwise - and its not working so its worth a try! In fact, I cant remember it ever working without the irq option, even if the card uses auto. This brings up another memory - some cards refuse to work under auto, or plugnplay setting (planet I think in my case), I had to force a fixed IRQ with a jumper (nominally the same as the auto seemed to be). Whenever I boot a LiveCD (Gentoo, Knoppix, etc.) I have to kick start mine by: === modprobe ne io=0x300 irq=3 === If you have M$Windoze check which irq the card uses and adjust accordingly. -- Regards, Mick -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] how to control portage space usage
On Mon, 8 Aug 2005, Neil Bothwick wrote: On Mon, 8 Aug 2005 10:45:36 +0300 (EEST), Tero Grundstr_m wrote: udev 252M 808K 252M 1% /dev ^^ Why a separate partition for /dev? This is complete waste. Especially with that size. udev is a virtual filesystem, it's using 808K of memory, not 252M of disk space. udev appears to allocate half the available RAM as the maximum size for /dev. Your right. It's correct. Maybe I got distracted because of the 23Gb /mnt/share partition and spoke too early... -- T.G. -- gentoo-user@gentoo.org mailing list
RE: [gentoo-user] how to control portage space usage
-Original Message- From: Tero Grundstrm [mailto:[EMAIL PROTECTED] Sent: 08 August 2005 08:46 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] how to control portage space usage On Sun, 7 Aug 2005, Fernando Meira wrote: It is up to you how to rearrange them but I suggest that you have only these partitions for Gentoo: /boot / /home (optional but recommended) (+swap) You could have a separate /usr or /usr/portage partition so that when/if it runs out of space, your system continues to run despite the emerge coming to a halt. -- Regards, Mick -- gentoo-user@gentoo.org mailing list
[gentoo-user] Arts problem
Hi, I'm running Gentoo 2005.0 with gentoo-sources (2.6.12) on an AMD Athlon 64. I'am using alsa-driver. Sound is working with mplayer and with xmms even using the arts plugin. But it is not working in kde. Why ? Regards Marc -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] How do I emerge Evolution+eds with debug information?
On Mon, 2005-08-08 at 10:41 +0100, Edward Catmur wrote: USE=debug CFLAGS=-g emerge -1 evolution evolution-data-server That was easy. Thanks, jules -- gentoo-user@gentoo.org mailing list
RE: [gentoo-user] how to control portage space usage
On Mon, 8 Aug 2005, Michael Kintzios wrote: -Original Message- From: Tero Grundstrm [mailto:[EMAIL PROTECTED] Sent: 08 August 2005 08:46 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] how to control portage space usage On Sun, 7 Aug 2005, Fernando Meira wrote: It is up to you how to rearrange them but I suggest that you have only these partitions for Gentoo: /boot / /home (optional but recommended) (+swap) You could have a separate /usr or /usr/portage partition so that when/if it runs out of space, your system continues to run despite the emerge coming to a halt. I don't don't know if this is very practical, atleast without a volume manager. Besides, isn't this taken care of by the filesystem already? I know that ext2/3 preserve a persentage of the partition size for root especially for these cases. -- T.G. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] 16 colours xpm
Uwe Thiem wrote: Anybody in the know how to generate an xpm image with 16 colours and 1 character per pixel? I mean other than using vi. ;-) Alternatively, converting an image to that format would do for me. imagemagick is your friend :-) # emerge -avt imagemagick The following isn't tested, read the man page if it doesn't work... $ convert -size 800x600 -colors 16 -depth 8 image.png image.xpm Christoph -- echo mailto: NOSPAM !#$.'*'|sed 's. ..'|tr * !#:2 [EMAIL PROTECTED] -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] how to control portage space usage
Fernando Meira wrote: Hi Tero, what I meant with redo my partitions was in the way that I will expand my gentoo partition (or try to). I have: # df -h FilesystemSize Used Avail Use% Mounted on /dev/hda4 4.6G 3.8G 803M 83% / udev 252M 808K 252M 1% /dev /dev/hda5 23G 20G 3.3G 86% /mnt/share /dev/hda1 9.8G 8.0G 1.8G 82% /mnt/windows none 252M 0 252M 0% /dev/shm Options: - erase hda1 (win$) and merge with with hda4. - somehow rearrange hda5 (which is FAT) and split it 2, and merge a part to hda4. The question is...can you live without the windows partition? if you don't need it I would look at this: 1) Merge hda1 and hda4. Assuming this is desktop box that should be plenty of space for the system and applications 2) Create a /boot partition (assuming you don't currently have one on your box that wasn't mounted when you did the df). This way if your system crashes at least /boot will not be corrupted. 3) Convert hda5 to ext3|reiserfs|jfs|mature non-fat fs of choice. Mount it as /home. 4) Consider creating a swap partition. Even if you have plenty of RAM, in my experience Linux just runs better with a swap partition mounted. I would strongly suggest that you do a full backup before doing any of this. I know there are partition resizing and reformatting utilities but they I wouldn't trust them without a backup. HTH -- spr -- gentoo-user@gentoo.org mailing list
[gentoo-user] OT: disk full but lot of space
Hello, This is OT, but I'm kind of worried and google hasn't been my friend... * I'm doing backups of my server everynight and had the following errors in the mail from the cron output this morning. repeated a dozen of times. bzip2: I/O or other error, bailing out. Possible reason follows. bzip2: No space left on device Input file = (stdin), output file = (stdout) /local/sbin/mk-rs-backups.sh: line 26: 22516 Broken pipe $TAR cjf $DSTDIR/site-$site.tar.gz $name bzip2: I/O or other error, bailing out. Possible reason follows. bzip2: No space left on device Input file = (stdin), output file = (stdout) tar: Child returned status 1 tar: Error exit delayed from previous errors * checking my logs I found the following error repeating ~6000 times. Aug 8 03:17:00 www kernel: EXT3-fs error (device ide0(3,2)): ext3_new_block: block(14366126) = blocks count(14366126) - block_group = 438, es == c2510400 [...] Aug 8 08:46:52 www kernel: EXT3-fs error (device ide0(3,2)): ext3_new_block: block(14372149) = blocks count(14366126) - block_group = 438, es == c2510400 df is telling that my disk is only half full: ~28Gb free. df -i is reporting only ~2% inodes used. tune2ds -l follows So... is my disk broken? my fs corrupted? While is ext3 trying to allocate a block with a higher count than the max? Any help welcomed, thanks in advance. [EMAIL PROTECTED] log]# /sbin/tune2fs -l /dev/hda2 tune2fs 1.26 (3-Feb-2002) Filesystem volume name: / Last mounted on: not available Filesystem UUID: none Filesystem magic number: 0xEF53 Filesystem revision #:1 (dynamic) Filesystem features: has_journal filetype needs_recovery sparse_super Filesystem state: clean with errors Errors behavior: Continue Filesystem OS type: Linux Inode count: 7192576 Block count: 14366126 Reserved block count: 718306 Free blocks: 11154684 Free inodes: 7060644 First block: 0 Block size: 4096 Fragment size:4096 Blocks per group: 32768 Fragments per group: 32768 Inodes per group: 16384 Inode blocks per group: 512 Last mount time: Wed Feb 23 20:49:57 2005 Last write time: Mon Aug 8 08:46:52 2005 Mount count: 22 Maximum mount count: -1 Last checked: Wed Nov 20 03:44:33 2002 Check interval: 0 (none) Reserved blocks uid: 0 (user root) Reserved blocks gid: 0 (group root) First inode: 11 Inode size: 128 Journal UUID: none Journal inode:8 Journal device: 0x First orphan inode: 6488266 --mat -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] OT: disk full but lot of space
[EMAIL PROTECTED] wrote: Aug 8 03:17:00 www kernel: EXT3-fs error (device ide0(3,2)): ext3_new_block: block(14366126) = blocks count(14366126) - block_group = 438, es == c2510400 [...] Aug 8 08:46:52 www kernel: EXT3-fs error (device ide0(3,2)): ext3_new_block: block(14372149) = blocks count(14366126) - block_group = 438, es == c2510400 Did you try fsck? Christoph -- echo mailto: NOSPAM !#$.'*'|sed 's. ..'|tr * !#:2 [EMAIL PROTECTED] -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] OT: disk full but lot of space
Aug 8 03:17:00 www kernel: EXT3-fs error (device ide0(3,2)): ext3_new_block: block(14366126) = blocks count(14366126) - block_group = 438, es == c2510400 [...] Aug 8 08:46:52 www kernel: EXT3-fs error (device ide0(3,2)): ext3_new_block: block(14372149) = blocks count(14366126) - block_group = 438, es == c2510400 Did you try fsck? nope :-( I'm a bit too afraid to try it. It's a production server with only one partition and it's located about 6000 miles away. If something goes wrong, I'll be really in a bad situation. I think I'll have to do it anyway, but I'm checking for lighter solutions first... --mat -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Media players
Norberto Bensa wrote: Alexander Skwar wrote: It has radio, nice visuals, dvd, etc support. Much Since when does Windows Media Player have DVD support? Last time I looked at it, it couldn't play DVDs by itself. Yep. It does. You need drivers from your DVD player, Ah, so it does not play DVDs. Thanks. but WMP 9/10 do actually play DVDs. But only with drivers/codecs and after installation of those, many other players play DVDs just fine as well. Alexander Skwar -- If mathematically you end up with the wrong answer, try multiplying by the page number. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] OT: disk full but lot of space
[EMAIL PROTECTED] wrote: bzip2: I/O or other error, bailing out. Possible reason follows. bzip2: No space left on device Input file = (stdin), output file = (stdout) tar: Child returned status 1 tar: Error exit delayed from previous errors Check your temp partitions... -- Norberto Bensa informática BeNSA 4544-9692 / 15-4190-6344 Ciudad de Buenos Aires, Argentina pgpQpA1mhdSQF.pgp Description: PGP signature
Re: [gentoo-user] OT: disk full but lot of space
Le Lundi, 8 Août 2005 13.57, vous avez ecrit : bzip2: I/O or other error, bailing out. Possible reason follows. bzip2: No space left on device Input file = (stdin), output file = (stdout) tar: Child returned status 1 tar: Error exit delayed from previous errors Check your temp partitions... No temp partitions. There is only one partition: / It's a rented server, so I can't do anything about it. Beside the last command of my script is date DATE, to keep a timestamp in a file. Even this has failed: date: write error: No space left on device --mat -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] OT: disk full but lot of space
Norberto Bensa wrote: [EMAIL PROTECTED] wrote: bzip2: I/O or other error, bailing out. Possible reason follows. bzip2: No space left on device Input file = (stdin), output file = (stdout) tar: Child returned status 1 tar: Error exit delayed from previous errors Check your temp partitions... What makes you believe this has something to do with /tmp? Just curious... Christoph -- echo mailto: NOSPAM !#$.'*'|sed 's. ..'|tr * !#:2 [EMAIL PROTECTED] -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] OT: disk full but lot of space
[EMAIL PROTECTED] wrote: Did you try fsck? nope :-( I'm a bit too afraid to try it. It's a production server with only one partition and it's located about 6000 miles away. If something goes wrong, I'll be really in a bad situation. I think I'll have to do it anyway, but I'm checking for lighter solutions first... fsck -n ? Christoph -- echo mailto: NOSPAM !#$.'*'|sed 's. ..'|tr * !#:2 [EMAIL PROTECTED] -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] SOLVED [OT] GRUB won't boot my new Gentoo install
On Sunday 07 August 2005 19.40, Dan Johansson wrote: On Sunday 07 August 2005 19.22, Richard Fish wrote: Dan Johansson wrote: On Saturday 06 August 2005 20.43, Richard Fish wrote: Dan Johansson wrote: On Friday 05 August 2005 14.37, Holly Bostick wrote: Dan Johansson schreef: 1. Isn't (hd1,2) the same device as /dev/sdb2? It looks like your /boot and / are the same here... No, (hd1,2) is /dev/sdb3 (grub start counting from 0). Sorry, my mistake. No problem... Ok. everything looks sane to me. What are the starting/ending sectors for /dev/sdb3? (fdisk -l -u). Some systems still have trouble accessing sectors past about 8GB through BIOS calls. Disk /dev/sdb: 4335 MB, 4335206400 bytes 255 heads, 63 sectors/track, 527 cylinders, total 8467200 sectors Units = sectors of 1 * 512 = 512 bytes Device BootStart EndBlocks Id System /dev/sdb163498014248976 82 Linux swap /dev/sdb2498015706859104422+ 83 Linux /dev/sdb3706860819314 56227+ 83 Linux /dev/sdb4819315 8466254 3823470 8e Linux LVM As you see its installed on a quite small disk (4GB) so the 8GB limit should not be a problem in this case. I'm starting to think it's the kernel it self that is having a problem (miss configuration) so I'm playing around with the kernel configuration at the moment. As I suspected, this was not a problem with GRUB, but with my brain. I had compiled the kernel with ProcessorFamily=Pentium4, and this machine only have a PII processor. After selecting ProcessorFamily=i586 the Gentoo system boots OK. Sorry for the trouble and thanks for all suggestions. -- Dan Johansson, http://www.dmj.nu *** This message is printed on 100% recycled electrons! *** pgp9dij1oGvSY.pgp Description: PGP signature
Re: [gentoo-user] Setting default MTU for rp-pppoe
Found an easier way to do it instead of editting the adsl-connect script, for future reference. In /etc/ppp/pppoe.conf there is the following line: PPPD_EXTRA= (round line 136) you can list any extra arguments here that you would like to pass to pppd, like: PPPD_EXTRA=mtu 1352 mru 1352 logfd 1 to set the MTU and logging or whatever. Instead of having to edit the script file. It also overrides the defaults. :P -- When you play a Microsoft CD backwards you can hear demonic Voices... that's nothing - when you play it forward it installs Windows -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Setting default MTU for rp-pppoe
thanks man I'll use that On 8/8/05, Ryan Viljoen [EMAIL PROTECTED] wrote: Found an easier way to do it instead of editting the adsl-connect script, for future reference. In /etc/ppp/pppoe.conf there is the following line: PPPD_EXTRA= (round line 136) you can list any extra arguments here that you would like to pass to pppd, like: PPPD_EXTRA=mtu 1352 mru 1352 logfd 1 to set the MTU and logging or whatever. Instead of having to edit the script file. It also overrides the defaults. :P -- When you play a Microsoft CD backwards you can hear demonic Voices... that's nothing - when you play it forward it installs Windows -- gentoo-user@gentoo.org mailing list -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] OT: disk full but lot of space
[EMAIL PROTECTED] wrote: with this, fsck won't change anything to my partition at all? nope. and what about this line from the output of tune2fs? Filesystem state: clean with errors Is it like critical or like informative? only fsck can tell... Since e2fsck _will_ find errors, I'll have to do an e2fsck without -n anyway. Or should I light a candle, buy some horseshoes and hope that my / will stay the longest possible clean with errors, before going to HD paradise? How useful is this system to you, when you can't even write to the disk? I would take to system down, check the filesystems, repair them (if needed), recover lost data from backups and get up and running again. Things are a little more complicated for you, since you don't seem to have full access to the machine. Talk to your vendor/sysadmin who is responsible for the (physical) machines. I'm not familiar with your particular situation... Christoph -- echo mailto: NOSPAM !#$.'*'|sed 's. ..'|tr * !#:2 [EMAIL PROTECTED] -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] 16 colours xpm
On 08 August 2005 11:45, Christoph Gysin wrote: Uwe Thiem wrote: Anybody in the know how to generate an xpm image with 16 colours and 1 character per pixel? I mean other than using vi. ;-) Alternatively, converting an image to that format would do for me. imagemagick is your friend :-) # emerge -avt imagemagick The following isn't tested, read the man page if it doesn't work... $ convert -size 800x600 -colors 16 -depth 8 image.png image.xpm Thanks you! Uwe -- 95% of all programmers rate themselves among the top 5% of all software developers. - Linus Torvalds http://www.uwix.iway.na (last updated: 20.06.2004) -- gentoo-user@gentoo.org mailing list
RE: [gentoo-user] how to control portage space usage
-Original Message- From: Tero Grundstrm [mailto:[EMAIL PROTECTED] Sent: 08 August 2005 11:21 To: gentoo-user@lists.gentoo.org Subject: RE: [gentoo-user] how to control portage space usage On Mon, 8 Aug 2005, Michael Kintzios wrote: -Original Message- From: Tero Grundstrm [mailto:[EMAIL PROTECTED] Sent: 08 August 2005 08:46 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] how to control portage space usage [snip] You could have a separate /usr or /usr/portage partition so that when/if it runs out of space, your system continues to run despite the emerge coming to a halt. I don't don't know if this is very practical, atleast without a volume manager. Besides, isn't this taken care of by the filesystem already? I know that ext2/3 preserve a persentage of the partition size for root especially for these cases. Well, it has been practical enough for *my* needs. For a while I was running Gentoo on a small partition and having run aground on a couple of cases with a seized system during some mammoth emerge, I decided to set up a separate /usr partition. Thereafter, I was able to recover future incidents without having to boot the LiveCD. As you say, if someone is going to alter partition sizes often then LVM is the way to go. On the other hand if you have a good idea on how big your /usr/portage is or needs to be then my suggestion is a simple enough solution. -- Regards, Mick -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] [OT] Apache Virtual Host
On Sun, 7 Aug 2005, Michael Crute wrote: Just a note for the future. Whenever you create a virual host that points to a directory you must create a directory container inside of the virual host container that sets up the permissions for the directory otherwise your will always get a 403 error. Or, if all your vhosts roots will be under a certain folder, you can do something like this (outside of any VirtualHost container): Directory /home/*/html AllowOverride All Options MultiViews -Indexes Includes FollowSymLinks Order allow,deny Allow from all /Directory Directory /home/*/cgi-bin Options +ExecCGI -Includes -Indexes SetHandler cgi-script /Directory In my case, each site is under a folder under /home and consists of html and cgi-bin folders. -Mike On 8/7/05, q-parser [EMAIL PROTECTED] wrote: Yes, that's it! Many thanks...I hope, there'll be no other problems. Michael Crute wrote: Try this... VirtualHost Gentoo-drak:85 ServerAdmin [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] DocumentRoot /usr/local/koha/opac/htdocs ServerName Gentoo-drak ScriptAlias /cgi-bin/koha/ /usr/local/koha/opac/cgi-bin/ Redirect permanent index.html http://Gentoo-drak:85/cgi-bin/koha/opac-main.pl http://gentoo-drak:85/cgi-bin/koha/opac-main.pl ErrorLog /usr/local/koha/log/opac-error_log TransferLog /usr/local/koha/log/opac-access_log SetEnv PERL5LIB /usr/local/koha/intranet/modules SetEnv KOHA_CONF /etc/koha.conf Directory /usr/local/koha/opac/htdocs Options Indexes FollowSymLinks AllowOverride None Order allow,deny Allow from all /Directory /VirtualHost On 8/7/05, *q-parser* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Thanks for help, however, it didn't work. I'm still getting 403 - You don't have permission to access / on this server. I think it's not necessary to define virtual hosts in vhosts.conf as it is, to my knowledge, included to apache2.conf, so does my config. Any other suggestions for this? This is getting rather pushy. Paul Raison wrote: To use virtual hosting with Apache2, you should them up in the /etc/apache2/conf/vhosts/vhosts.conf file. Then you need to add this directive within the Virtual Host block:- directory /usr/local/koha/opac/cgi-bin/ Order allow,deny Allow from all /directory Repeat this section for /usr/local/koha/opac/htdocs/ This should get it working. Paul q-parser wrote: I've got a problem with setting up a virtual host for my koha perl-based application. It has its own httpd.conf which I include into apache2.conf using Include directive. It looks like this: # Listen 85 VirtualHost Gentoo-drak:85 ServerAdmin [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] DocumentRoot /usr/local/koha/opac/htdocs ServerName Gentoo-drak ScriptAlias /cgi-bin/koha/ /usr/local/koha/opac/cgi-bin/ Redirect permanent index.html http://Gentoo-drak:85/cgi-bin/koha/opac-main.pl ErrorLog /usr/local/koha/log/opac-error_log TransferLog /usr/local/koha/log/opac-access_log SetEnv PERL5LIB /usr/local/koha/intranet/modules SetEnv KOHA_CONF /etc/koha.conf /VirtualHost Gentoo-drak is a name of my machine. Ok, when I try to connect to localhost using port 85, I get this error message: You don't have permission to access / on this server. I don't understand because DocumentRoot dir /usr/local/koha/opac/htdocs has 775 permissions. Could anybody advise me how to get this to work or tip me out some tutorial on virtual hosting? Thanks -- gentoo-user@gentoo.org mailto:gentoo-user@gentoo.org mailing list -- Michael E. Crute Software Developer SoftGroup Development Corporation In a world without walls and fences, who needs windows and gates? -- gentoo-user@gentoo.org mailing list -- heads down [Sun] adj. Concentrating, usually so heavily and for so long that everything outside the focus area is missed. See also hack mode and larval stage, although this mode is hardly confined to fledgling hackers. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] how to control portage space usage
On Mon, 8 Aug 2005 14:00:49 +0100, Michael Kintzios wrote: Well, it has been practical enough for *my* needs. For a while I was running Gentoo on a small partition and having run aground on a couple of cases with a seized system during some mammoth emerge, I decided to set up a separate /usr partition. You don't need to add partitions, because portage isn't hard coded to use any particular partitions. If you run out of space during emerges, you only have to change $PORTAGE_TMPDIR to somewhere with more space than /var. Equally, you can change $DISTDIR to reduce the amount of space used in /usr/portage, you could even change it to a FAT32 partition of your Windows installation has more free space than Gentoo. -- Neil Bothwick I am NOT Paranoid! And why are you always watching me?? pgpQ4WahpeQd6.pgp Description: PGP signature
Re: [gentoo-user] Acer TM2313 NIC problems
Frank Schafer wrote: Hi, I've bought a new Acer TravelMate 2313. I've tried to install this weekend. Everything seemed to go fine but I don't have a network connection. The NIC is a SiS 900 PCI fast ethernet adapter. Looking at ``dmesg'' there everything looks O.K. I see the driver loading, finding the card and bringing the link up. The lights on the NIC are both (continous) lighting. If I do an ``ifconfig eth0 down'' followed by an ``ifconfig eth0 up`` the lights turn both off for about one second and then both on again. Did you assign an address when you did ifconfig eth0 up? Or does your network use DHCP, and if so, did you run dhcpcd/dhclient to get an address? The output of ifconfig -a, route -n, and cat /etc/conf.d/net might give us some more clues. -Richard -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Resuming operations after suspend.
Pupeno wrote: Hello, I am tryngi to get suspend to ram working on my IBM Thinkpad G40 but I can't get it to turn on agan. I am able to put it on suspend with klaptop, by hand, or by closing it and this script: http://www.hardeman.nu/~david/thinkpad.php#suspend But it never comes up, wehn I open it it makes some noices (the HD working) but the monitor is never turned on. Any ideas ? I have this problem with my Sager laptop and software suspend 2 unless I add noapic to the kernel boot options. I would say try noapic and/or pci=routeirq, and see if it helps. -Richard -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] how to control portage space usage
Fernando Meira wrote: Ok, so running through that forum I decided to try out some of the scripts to clean stale distfiles. The first one (distcleaner-0.0.2) returned a lot of errors. The second (distmaint.py) was too weird. Finally, (distclean.sh) seemed to be ok, and freed 255 MB. I could then end my emerge (eclipse). After the emerge I end-up with 805Mb free. As you say Holly, this is far from enough if I want to compile something big and also maybe for smaller apps. Which means that I have a problem. In fact, I have a 38GB disk on my laptop. My mistake was that I assumed that gentoo was not so space-consuming. Now I'll have to make some modifications, redo my partitions. What I would like was to clean once per all my windoz partition (9GB)... but from time to time I need it.. unless I find a replacement to all the things I need from there. Anyway, thanks for the replies. If someone has a nice script to maintain distfiles under control let me know. ;) My preference, since I normally mount with noatime, is: mount /u/p/distfiles -o remount,atime(yes, I keep distfiles on a separate LVM volume!) emerge --deep --emptytree --fetchonly world (updates atimes) mount /u/p/distfiles -o remount,noatime find /u/p/distfiles -amin +60 -exec rm -v {} \; The above commands will remove all distfiles not needed anymore, either due to updates or unmerge packages. -Richard -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] OT: disk full but lot of space
How useful is this system to you, when you can't even write to the disk? I can write to the system again... The system couldn't write from 3 AM to 8 AM, after that, It was ok again. That's why I'm not really enthousiast to tune my fs. If it's not broken, don't fix it. I would take to system down, check the filesystems, repair them (if needed), recover lost data from backups and get up and running again. Yes, I would do that too, if I could :-( Things are a little more complicated for you, since you don't seem to have full access to the machine. Talk to your vendor/sysadmin who is responsible for the (physical) machines. I'm not familiar with your particular situation... I've attached the output of e2fsck -n. Could you please tell me how bad it looks? Are there questions to which answering yes is dangerous? e2fsck 1.26 (3-Feb-2002) Warning! /dev/hda2 is mounted. Warning: skipping journal recovery because doing a read-only filesystem check. / contains a file system with errors, check forced. Pass 1: Checking inodes, blocks, and sizes Deleted inode 229438 has zero dtime. Fix? no Inodes that were part of a corrupted orphan linked list found. Fix? no Inode 229528 was part of the orphaned inode list. IGNORED. Inode 4145432, i_blocks is 16, should be 8. Fix? no Inode 4538621, i_blocks is 120, should be 88. Fix? no Inode 4538633, i_blocks is 104, should be 88. Fix? no Inode 4538779, i_blocks is 248, should be 224. Fix? no Inode 4997298, i_blocks is 64, should be 56. Fix? no Inode 5161059, i_blocks is 86304, should be 41288. Fix? no Inode 5161060, i_blocks is 2888, should be 1016. Fix? no Inode 5652717, i_blocks is 40, should be 0. Fix? no Inode 5701868, i_blocks is 24, should be 8. Fix? no Inode 6488261, i_blocks is 48, should be 40. Fix? no Inode 6488266 was part of the orphaned inode list. IGNORED. Inode 6488293, i_blocks is 24, should be 8. Fix? no Inode 6488299, i_blocks is 40, should be 8. Fix? no Inode 6488300, i_blocks is 24, should be 8. Fix? no Inode 6488253, i_blocks is 168, should be 152. Fix? no Inode 6488259, i_blocks is 5680, should be 5664. Fix? no Inode 6488242, i_blocks is 2032, should be 2016. Fix? no Inode 6504594, i_blocks is 56, should be 48. Fix? no Inode 6504639, i_blocks is 72, should be 56. Fix? no Inode 6750248, i_blocks is 64, should be 56. Fix? no Pass 2: Checking directory structure Entry 'xfj78Dhpf14819' in /var/spool/mqueue (2277384) has deleted/unused inode 2277431. Clear? no Entry 'dfj78Dhpf14819' in /var/spool/mqueue (2277384) has deleted/unused inode 2277432. Clear? no Entry 'qfj78Dhpf14819' in /var/spool/mqueue (2277384) has deleted/unused inode 2277447. Clear? no Pass 3: Checking directory connectivity Pass 4: Checking reference counts Unattached zero-length inode 3244154. Clear? no Unattached inode 3244154 Connect to /lost+found? no Unattached zero-length inode 3244183. Clear? no Unattached inode 3244183 Connect to /lost+found? no Unattached zero-length inode 3244186. Clear? no Unattached inode 3244186 Connect to /lost+found? no Unattached zero-length inode 3244187. Clear? no Unattached inode 3244187 Connect to /lost+found? no Unattached zero-length inode 3244188. Clear? no Unattached inode 3244188 Connect to /lost+found? no Unattached zero-length inode 3244189. Clear? no Unattached inode 3244189 Connect to /lost+found? no Unattached zero-length inode 3244204. Clear? no Unattached inode 3244204 Connect to /lost+found? no Unattached zero-length inode 3244206. Clear? no Unattached inode 3244206 Connect to /lost+found? no Unattached zero-length inode 3244208. Clear? no Unattached inode 3244208 Connect to /lost+found? no Unattached zero-length inode 3244210. Clear? no Unattached inode 3244210 Connect to /lost+found? no Unattached zero-length inode 3244211. Clear? no Unattached inode 3244211 Connect to /lost+found? no Unattached zero-length inode 3244236. Clear? no Unattached inode 3244236 Connect to /lost+found? no Unattached zero-length inode 3244243. Clear? no Unattached inode 3244243 Connect to /lost+found? no Unattached zero-length inode 3244263. Clear? no Unattached inode 3244263 Connect to /lost+found? no Unattached zero-length inode 3244264. Clear? no Unattached inode 3244264 Connect to /lost+found? no Unattached zero-length inode 3244265. Clear? no Unattached inode 3244265 Connect to /lost+found? no Unattached zero-length inode 3244266. Clear? no Unattached inode 3244266 Connect to /lost+found? no Unattached zero-length inode 3244267. Clear? no Unattached inode 3244267 Connect to /lost+found? no Unattached zero-length inode 3244268. Clear? no Unattached inode 3244268 Connect to /lost+found? no Unattached zero-length inode 3244269. Clear? no Unattached inode 3244269 Connect to /lost+found? no Unattached zero-length inode 3244270. Clear? no Unattached inode 3244270 Connect to /lost+found? no Unattached zero-length inode 3244271. Clear? no Unattached inode 3244271 Connect to /lost+found? no Unattached
Re: [gentoo-user] OT: disk full but lot of space
On Mon, 8 Aug 2005, Christoph Gysin wrote: Check your temp partitions... What makes you believe this has something to do with /tmp? Just curious... He didn't read the whole message, saw disk full and said oh, his temp partition is overflowing. The correct answer here is that you have to do an fsck. The best solution is to just be at the console of the machine, where you can boot into single user mode and run the fsck. If that is not an option you'll need to make sure everyone is off the machine (Maintenance window?), stop all the services except the network services and sshd then remount the partition readd only and run the fsck. quick rundown of commands: rc-update show /etc/init.d/service stop #for each non-repair essential service ps auwx #to verify that all the services are stopped that need to be mount -o remount,ro / fsck.ext3 /dev/hdxy mount -o remount,rw / /etc/init.d/services start #for each service you stopped At the end of this I really prefer doing a reboot (And fsck may tell you a reboot is required). Might want to test the procedure a few times on a non-critical machine, but that should get you through the process. Christopher Fisk -- Adelai: A package is just a box until it's delivered. cBlog: http://chris.uasoft.com/ -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] OT: disk full but lot of space
On Mon, 8 Aug 2005, [EMAIL PROTECTED] wrote: How useful is this system to you, when you can't even write to the disk? I can write to the system again... The system couldn't write from 3 AM to 8 AM, after that, It was ok again. That's why I'm not really enthousiast to tune my fs. If it's not broken, don't fix it. But it is broken... I would take to system down, check the filesystems, repair them (if needed), recover lost data from backups and get up and running again. Yes, I would do that too, if I could :-( Read my other post about how to do this remotely. Things are a little more complicated for you, since you don't seem to have full access to the machine. Talk to your vendor/sysadmin who is responsible for the (physical) machines. I'm not familiar with your particular situation... I've attached the output of e2fsck -n. Could you please tell me how bad it looks? Are there questions to which answering yes is dangerous? Disclaimer: You should have backups of the system! I've found that fsck is actually pretty damn good at being safe. I've never had fsck fail to repair a non-hardware filesystem corruption. The most likely thing you'll need to do after a repair here is to reboot the machine, which is the sweating time. If you can possibly get someone onsite from that office to watch the reboot you should be fine. Christopher Fisk -- Listen, Bender, where's your bathroom? -Fry Bath what? -Bender Bathroom. -Fry What room? -Bender Bathroom! -Fry What what? Bender Ah, nevermind. -Fry -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] OT: disk full but lot of space
Hi, On Mon, 8 Aug 2005 15:53:54 +0200 [EMAIL PROTECTED] wrote: I've attached the output of e2fsck -n. Could you please tell me how bad it looks? Are there questions to which answering yes is dangerous? e2fsck 1.26 (3-Feb-2002) Warning! /dev/hda2 is mounted. That is done in a mounted situation. I guess, it is even read/write- mounted? Well, I'll cite the man page: ---snip Note that in general it is not safe to run e2fsck on mounted filesystems. The only exception is if the -n option is specified, and - c, -l, or -L options are not specified. However, even if it is safe to do so, the results printed by e2fsck are not valid if the filesystem is mounted. ---snip This is very harsh, I'd say, remounting it ro (read-only), sync'ing it and then doing e2fsck -n will give a lot more valid information. In mounted state, esp. read-write, it is pretty normal on a busy system to have these inconsistencies the e2fsck dump showed... -hwh -- gentoo-user@gentoo.org mailing list
[gentoo-user] setting using_dma on a BenQ DVD/RW drive
I have a BenQ DW1620 DVD/RW drive but DMA is not set, even though it support it. When I try to set it using: using_dma -d 1 It will not let me. Was the limit set by the manufacture? -- #Joseph -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Re-post:How to get jfs root partition to properly fsck on power failure?
On Sun, 7 Aug 2005, Aaron Nichols wrote: I was going to try the non-genkernel approach and see if that worked any differently, as the grub configuration is quite different. I have examples of other distributions which work fine using jfs in this situation, but those do not use udev and none require the same options that genkernel seems to. I dont know if genkernel has much to do with it - OTOH, a lot of us dont use genkernel because of people always reporting problems with it... -- -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] md5sum error
HI: install-x86-universal-2005.0.iso is ok stage3-authon-xp-2005.0.tar.bz2 and other stages (but not x86) is ok too I have downloaded stage3-x86-2005.0.tar.bz2 from several servers but has the same problem. 2005/8/8, Neil Bothwick [EMAIL PROTECTED]: On Mon, 8 Aug 2005 14:17:25 +0800, glumtail wrote: stage3-x86-2005.0.tar.bz2: FAILED md5sum: WARNING: 1 of 1 computed checksum did NOT match install-x86-universal-2005.0.iso was downloaded via BitTorrent from gentoo.org Any suggestion? Thanks! Download it again. md5sum is telling you it is corrupt. -- Neil Bothwick I am logged in, therefore I am. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] [OT] recomendations for web stats in php
On Sun, 7 Aug 2005, glumtail wrote: Why not write a GLOBAL script for collecting some usefull information? And then just be included in every pages, store records in a particular file. This is a horrible way to do it. A lot of free stats services do something similar with a block of JavaScript (usually some code that hits a script on the stats server while the page is loading). Since your web server logs accesses and errors it does most of the work for you! All you need to do is download the logs and run analog on them (optional: you could also setup analog to feed data to reportmagic). On our servers we have written scripts to do this weekly. 2005/8/7, Hans-Werner Hilse [EMAIL PROTECTED]: Hi, On Sat, 06 Aug 2005 12:34:58 -0300 Mauro Faccenda [EMAIL PROTECTED] wrote: I have an customer that has a website hosted in a chrooted environment and want a stats page (hits, origin, etc...) I have access to the apache logs but I don't have a shell access, so I was thinking if there is any php script that reads the log file and plots a nice web page with those stats. Or can anyone suggest another solution? Hm, I don't think using a simple php script would work very reliably. Parsing the log files can become a heavy task depending on the logfile's size. So I think it's always the best solution to run the analyzer from command line. You could e.g. run the analyzer on a different host where you have command line access and can run that scripted every night. The resulting stats pages and graphs can then be synced back to the web- only server. Another possibility would be to use desktop programs for the logfile analysis. I don't know of good free programs here, but at least there are a few very professional commercial ones. Both solutions only require access to the logfile which you told you have. -hwh -- gentoo-user@gentoo.org mailing list -- English 1. n. obs. The source code for a program, which may be in any language, as opposed to the linkable or executable binary produced from it by a compiler. The idea behind the term is that to a real hacker, a program written in his favorite programming language is at least as readable as English. Usage: mostly by old-time hackers, though recognizable in context. 2. The official name of the database language used by old the Pick Operating System, actually a sort of crufty, brain-damaged SQL with delusions of grandeur. The name permitted marketroids to say Yes, and you can program our computers in English! to ignorant suits without quite running afoul of the truth-in-advertising laws. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] [OT] recomendations for web stats in php
glumtail wrote: Hi: Why not write a GLOBAL script for collecting some usefull information? And then just be included in every pages, store records in a particular file. Because the first time you get any spike in traffic your performance goes to hell especially if done through a db with a remote call. I had to have just such a talk with a site recently after they ended up on Howard Stern. It nearly took down the web servers before we figured out what was causing the performance issues. kashani -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] setting using_dma on a BenQ DVD/RW drive
On Mon, 2005-08-08 at 10:03 -0600, Joseph wrote: I have a BenQ DW1620 DVD/RW drive but DMA is not set, even though it support it. When I try to set it using: using_dma -d 1 It will not let me. Was the limit set by the manufacture? -- #Joseph I think the issue might be the driver for BenQ writer units. Does anybody know what driver should be used with BenQ, if it is available at all? -- #Joseph -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] [OT] recomendations for web stats in php
you might want to check out awstats (emerge awstats) it's a very in-depth apache log analyser that'll parse combined-formated log files to capture all sorts of handy information and graph it to be pretty too ;-) barring that, you could write your own php (or whatever language you like) -based script to handle pixel calls. something like this: the page you track includes html display of a pixel. the img call for the pixel looks like this: img src=/pixel.php?name1=valuename2=value width=1 height=1 alt=tracking pixel / you can use your own code (even javascript if you wanna capture neat stuff like client resolution and colour depth) and pass that in the query string to your tracking server. your tracking code will look something like this: ? // capture query string data foreach ($_GET as $name = $value) { // do some logging of some kind } header('Content-type: image/gif'); header('P3P: CP=NOI NID ADMa OUR IND UNI COM NAV'); header('Expires: Sat, 22 Apr 1978 02:19:00 GMT'); header('Last-Modified: ' . gmdate('D, d M Y H:i:s') . ' GMT'); header('Cache-Control: no-store, no-cache, must-revalidate'); header('Cache-Control: post-check=0, pre-check=0', false); header('Pragma: no-cache'); printf( '%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%', 71,73,70,56,57,97,1,0,1,0,128,255,0,192,192,192,0,0,0,33,249,4,1,0,0,0,0,44,0,0,0,0,1,0,1,0,0,2,2,68,1,0,59 ); ? that'll output a transparent gif and make sure that it's not cached so you can continue to log repeated page calls. hope that helps ;-) -- keep away from people who belittle your ambitions. small people always do that, but the really great make you feel that you too can become great. - mark twain -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] crypted key for dm-crypt
On Sunday 07 August 2005 04:39, Christian Hoenig wrote: Hi, Well, I have dm-crypt configured and running. It encrypts tha swap, a loopback for /tmp (with a random key), all this using the standard /etc/conf.d/cryptfs. Now I'd like to encrypt my home with a key instad of a passphrase, place that key on my pen drive after etcrypting it with a key, my questions are: - How do I generate the key ? I have restricted my key to printable letters. So an easy way to generate a key without uuencode or stuff is something like this: cat /dev/random |sed -e s/[^a-zA-Z0-9]//g - How do I en/decrypt it ? Encrypt your just generated key? I thought you wanted to get rid of passphrases. No, I wanted to get rid of having to recreate the whole filesystem to change the passphrase (with an encrypted key I only change the encripting passphrase). Furthermore I'd have stronger encription because a dictionary attack would be harder. -- Pupeno [EMAIL PROTECTED] (http://pupeno.com) Reading ? Science Fiction ? http://sfreaders.com.ar pgpLzsvnN7USC.pgp Description: PGP signature
Re: [gentoo-user] 16 colours xpm
Use The GIMP Uwe Thiem wrote: Anybody in the know how to generate an xpm image with 16 colours and 1 character per pixel? I mean other than using vi. ;-) Alternatively, converting an image to that format would do for me. Uwe -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] setting using_dma on a BenQ DVD/RW drive
Joseph wrote: On Mon, 2005-08-08 at 10:03 -0600, Joseph wrote: I have a BenQ DW1620 DVD/RW drive but DMA is not set, even though it support it. When I try to set it using: using_dma -d 1 It will not let me. Was the limit set by the manufacture? -- #Joseph I think the issue might be the driver for BenQ writer units. Does anybody know what driver should be used with BenQ, if it is available at all? Hi, First thing to do is to make sure you have support for your mobos' chipset into kernel-config. Then emerge/install hdparm and have a customized '/etc/conf.s/hdparm' file. Ex.(mine): hda_args=-d1 -A1 -m16 -u1 -a64 // this is for my hard disk all_args=-d1 // this is for all other disks - DVD-R and DVD-RW Think i took this mainly from install-guide.2005.0. Don't forget to start /etc/init.d/hdparm start as root and if everything is OK, rc-update add hdparm default to always have this at boot time. Test with hdparm -Tt /dev/hdX X is a,b,c,d (for an IDE-disk) check again man hdparm for the options ;) HTH. Rumen smime.p7s Description: S/MIME Cryptographic Signature
Re: [gentoo-user] setting using_dma on a BenQ DVD/RW drive
Joseph wrote: On Mon, 2005-08-08 at 10:03 -0600, Joseph wrote: I have a BenQ DW1620 DVD/RW drive but DMA is not set, even though it support it. When I try to set it using: using_dma -d 1 It will not let me. Was the limit set by the manufacture? -- #Joseph I think the issue might be the driver for BenQ writer units. Does anybody know what driver should be used with BenQ, if it is available at all? I'm having the same issue with a Memorex DVD writer. Googling suggests making sure the IDE controller chipset module is loaded. My problem is that I don't see a config module option for Intel 82801EB (ICH5). Roy -- gentoo-user@gentoo.org mailing list
[gentoo-user] How do you remove packages made with --buildpkg?
First off, let me say that I know perfectly well that you can `emerge -C package_name` at any time. That's not what I'm talking about. What I want to do is to remove the built binary too. Let me explain what I do and what I'm trying to do in more detail... Sometimes, I like to be able to test several different ~arch versions of a package to see which one works best for me. I may try switching back and forth between several different versions, possibly deciding ultimately that none of the ~arch versions are any improvement over the previously installed arch version, and so I re-emerge the old one. If the program in question is rather large, I won't want to build it any more times than I have to. Consequently, I use quickpkg on the original, and then --buildpkg on all of the testing versions. This way, I only have to compile each package once, yet I can switch back and forth between them in mere seconds. The problem with this scheme is that the built binaries aren't removed when you unmerge the corresponding package. Actually, if they were, then this technique wouldn't work at all. I have a very small hard drive so I can't afford to have these unneeded binaries cluttering up the disk. I have to get rid of them somehow. How the heck do you remove the old built binaries? They aren't simply put in '${PKGDIR}/All' like the manual says. There are a bunch of places that the different pieces go. A bunch of symlinks and new directories are created too, IIRC. It is a nuisance to remove everything by hand. I wrote a script to do some of the legwork for me, but it's time consuming and requires a lot of user intervention. Isn't there a tool to remove these old binaries? Is there a command you pass to emerge? I assume there's something really trivial and obvious that I've simply missed, but I'm getting tired of searching for it. Thanks! -- Pluralitas non est ponenda sine necessitate - W. of O. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] how to control portage space usage
Hi, On 8/8/05, Tero Grundstr� [EMAIL PROTECTED] wrote: On Sun, 7 Aug 2005, Fernando Meira wrote: Hi Tero, what I meant with redo my partitions was in the way that I will expand my gentoo partition (or try to). I have: # df -h Filesystem Size Used Avail Use% Mounted on /dev/hda4 4.6G 3.8G 803M 83% /^^ *might* be enough for a minimal system, but not for your compiles ordistfiles. Yep. I don't pretend to have a minimal system. In fact, my laptop is the only pc I currently use, so it has to have everything I need. udev 252M 808K 252M 1% /dev^^ Why a separate partition for /dev? This is complete waste. Especially with that size. As Neil said, it is a virtual filesystem. I didn't create it. What I did create was the swap partition with 512MB (the same size as my RAM) and it looks like it is split into two: udev and none. /dev/hda5 23G 20G 3.3G 86% /mnt/share^^ You'll *never* need that much space in here. Do not have this on a separate partition. Maybe you could make this partition your /home ? Well, this partition has the purpose to hold all my documents and stuff. My idea was to have a partition only to windoz and its programs, another to gentoo and its programs, and then this one accessed by both side. It started to be my /home but I had some problems with permissions in the beginning that I couldn't solve, so I had to move /home back to gentoo partition. /dev/hda1 9.8G 8.0G 1.8G 82% /mnt/windows^^ Complete waste ;) ehheh.. .yes! The problem is that I need some things from there. I really can't wait for the day when I don't waste disk space with crap. what are the advantages of pointing PORTAGE_TMPDIR and DISTDIR to other partitions? The idea is, ofcourse, to give your compiles and distfiles more room.This in turn would free up space for your system. Ok, but that is assuming that I can point them to other partition. But if I have other partition available, I can just merge it with gentoo's one and keep everything together. It would be the same, right? thanks for the localepurge tip: - Total disk space freed by localepurge: 48448K (not bad ;) Yeah, it's great. BTW, check out the 'userlocales' USE flag for glibc too.It will speed up the compilation and save some space. I'll have a look to that. Thanks! Fernando
Re: [gentoo-user] setting using_dma on a BenQ DVD/RW drive
On Mon, 2005-08-08 at 20:52 +0300, Rumen Yotov wrote: Joseph wrote: On Mon, 2005-08-08 at 10:03 -0600, Joseph wrote: I have a BenQ DW1620 DVD/RW drive but DMA is not set, even though it support it. When I try to set it using: using_dma -d 1 It will not let me. Was the limit set by the manufacture? -- #Joseph I think the issue might be the driver for BenQ writer units. Does anybody know what driver should be used with BenQ, if it is available at all? Hi, First thing to do is to make sure you have support for your mobos' chipset into kernel-config. Then emerge/install hdparm and have a customized '/etc/conf.s/hdparm' file. Ex.(mine): hda_args=-d1 -A1 -m16 -u1 -a64 // this is for my hard disk all_args=-d1 // this is for all other disks - DVD-R and DVD-RW Think i took this mainly from install-guide.2005.0. Don't forget to start /etc/init.d/hdparm start as root and if everything is OK, rc-update add hdparm default to always have this at boot time. Test with hdparm -Tt /dev/hdX X is a,b,c,d (for an IDE-disk) check again man hdparm for the options ;) HTH. Rumen I have tried hdparm -d1 /dev/hdd but it is not accepting the it. I can not set DMA on this DVD I just called BenQ and they don't support Linux; so don't buy BenQ products as they don't support Linux. In example of DVD/writer it will become plain CD reader. Without DMA access the writing to CD will be very slow. -- #Joseph -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] how to control portage space usage
Hi Sean,On 8/8/05, Sean Reiser [EMAIL PROTECTED] wrote: Fernando Meira wrote: I have: # df -h FilesystemSizeUsed Avail Use% Mounted on /dev/hda4 4.6G3.8G803M83% / udev252M808K252M 1% /dev /dev/hda523G 20G3.3G86% /mnt/share /dev/hda1 9.8G8.0G1.8G82% /mnt/windows none252M 0252M 0% /dev/shm Options:- erase hda1 (win$) and merge with with hda4.- somehow rearrange hda5 (which is FAT) and split it 2, and merge a part to hda4.The question is...can you live without the windows partition? Well, maybe. The problem is that sometimes I need to use something that works only under windows (or better under windows). Besides that I only use windows for video-conference (I haven't found the time to look for a linux replacement, assuming that my webcam works under linux). if you don't need it I would look at this:1) Merge hda1 and hda4.Assuming this is desktop box that should be plenty of space for the system and applications Yes, that would be the best I could do. But, assuming that I can't remove entirely windows from my laptop, what about reduce it to it's minimum (windows + apps that I really need) and run it by VMware, always under Gentoo? The spare space from unused apps would merge it with gentoo's partition.. I estimate it of about 4Gb. What do you say about this? 2) Create a /boot partition (assuming you don't currently have one onyour box that wasn't mounted when you did the df).This way if your system crashes at least /boot will not be corrupted. My /boot is inside gentoo's partition. I understand the point of having it outside.. I should think of changing it!! Good point! 3) Convert hda5 to ext3|reiserfs|jfs|mature non-fat fs of choice.Mountit as /home. The reason it is FAT32 is to windows be able to access it. With windows away, I could do that. >From this partition (hda5) I may be able to free some space and move it to gentoo's partition. 4) Consider creating a swap partition.Even if you have plenty of RAM,in my experience Linux just runs better with a swap partition mounted. I have. 512mb swap. df shows it slitted into 2 other: udev and none I would strongly suggest that you do a full backup before doing any ofthis.I know there are partition resizing and reformatting utilities but they I wouldn't trust them without a backup. Yes, of course! Thanks for suggestions. Fernando.
Re: [gentoo-user] setting using_dma on a BenQ DVD/RW drive
Alle 20:16, lunedì 08 agosto 2005, Joseph ha scritto: I have tried hdparm -d1 /dev/hdd but it is not accepting the it. I can not set DMA on this DVD I just called BenQ and they don't support Linux; so don't buy BenQ products as they don't support Linux. In example of DVD/writer it will become plain CD reader. Without DMA access the writing to CD will be very slow. -- #Joseph I have a BenQ all works great: dvd writing (8x) and cd writing (24x) I use hdparm as boot service all it is enough Luigi -- Public key GPG(0x073A0960) on http://keyserver.linux.it/ pgpAMFpoXowSK.pgp Description: PGP signature
Re: [gentoo-user] setting using_dma on a BenQ DVD/RW drive
Rumen Yotov wrote: Hi, First thing to do is to make sure you have support for your mobos' chipset into kernel-config. Then emerge/install hdparm and have a customized '/etc/conf.s/hdparm' file. Ex.(mine): hda_args=-d1 -A1 -m16 -u1 -a64 // this is for my hard disk all_args=-d1 // this is for all other disks - DVD-R and DVD-RW Think i took this mainly from install-guide.2005.0. Don't forget to start /etc/init.d/hdparm start as root and if everything is OK, rc-update add hdparm default to always have this at boot time. Test with hdparm -Tt /dev/hdX X is a,b,c,d (for an IDE-disk) check again man hdparm for the options ;) HTH. Rumen Here's the details of what I'm seeing from a root shell: royw-gentoo conf.d # hdparm -d1 /dev/dvd /dev/dvd: setting using_dma to 1 (on) HDIO_SET_DMA failed: Operation not permitted using_dma= 0 (off) royw-gentoo conf.d # less /etc/conf.d/hdparm | grep -v \# all_args=-d1 royw-gentoo conf.d # /etc/init.d/hdparm start * Caching service dependencies ... [ ok ] * Starting hdparm ... [ ok ] * Running hdparm on /dev/cdroms/cdrom0 ... HDIO_SET_DMA failed: Operation not permitted royw-gentoo linux # hdparm -I /dev/dvd /dev/dvd: ATAPI CD-ROM, with removable media Model Number: Memorex DVD+/-RW True-8X Serial Number: DADC011844WL Firmware Revision: 1.06 Standards: Likely used CD-ROM ATAPI-1 Configuration: DRQ response: 50us. Packet size: 12 bytes Capabilities: LBA, IORDY(can be disabled) Buffer size: 64.0kB DMA: mdma0 mdma1 mdma2 udma0 udma1 *udma2 Cycle time: min=120ns recommended=120ns PIO: pio0 pio1 pio2 pio3 pio4 Cycle time: no flow control=240ns IORDY flow control=120ns Commands/features: Enabled Supported: *DEVICE RESET cmd *PACKET command feature set *Power Management feature set HW reset results: CBLID- above Vih Device num = 0 determined by the jumper royw-gentoo conf.d # lspci :00:00.0 Host bridge: Intel Corporation 82875P/E7210 Memory Controller Hub (rev 02) :00:01.0 PCI bridge: Intel Corporation 82875P Processor to AGP Controller (rev 02) :00:03.0 PCI bridge: Intel Corporation 82875P/E7210 Processor to PCI to CSA Bridge (rev 02) :00:1d.0 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #1 (rev 02) :00:1d.1 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #2 (rev 02) :00:1d.2 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI #3 (rev 02) :00:1d.3 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #4 (rev 02) :00:1d.7 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB2 EHCI Controller (rev 02) :00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev c2) :00:1f.0 ISA bridge: Intel Corporation 82801EB/ER (ICH5/ICH5R) LPC Interface Bridge (rev 02) :00:1f.2 IDE interface: Intel Corporation 82801EB (ICH5) SATA Controller (rev 02) :00:1f.3 SMBus: Intel Corporation 82801EB/ER (ICH5/ICH5R) SMBus Controller (rev 02) :00:1f.5 Multimedia audio controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller (rev 02) :01:00.0 VGA compatible controller: nVidia Corporation NV40 [GeForce 6800 GT] (rev a1) :02:01.0 Ethernet controller: Intel Corporation 82547EI Gigabit Ethernet Controller (LOM) royw-gentoo linux # dmesg | grep -i dma DMA zone: 4096 pages, LIFO batch:1 ata1: SATA max UDMA/133 cmd 0x1F0 ctl 0x3F6 bmdma 0xF000 irq 14 ata1: dev 0 ATA, max UDMA/133, 145226112 sectors: lba48 ata1: dev 1 ATA, max UDMA/133, 145226112 sectors: lba48 ata1: dev 0 configured for UDMA/133 ata1: dev 1 configured for UDMA/133 royw-gentoo linux # less /usr/src/linux/.config | grep -i dma CONFIG_GENERIC_ISA_DMA=y CONFIG_BLK_DEV_IDEDMA_PCI=y # CONFIG_BLK_DEV_IDEDMA_FORCED is not set CONFIG_IDEDMA_PCI_AUTO=y # CONFIG_IDEDMA_ONLYDISK is not set CONFIG_BLK_DEV_IDEDMA=y # CONFIG_IDEDMA_IVB is not set CONFIG_IDEDMA_AUTO=y I'm missing something simple, but just don't see it. TIA, Roy -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] how to control portage space usage
Hi Neil,On 8/8/05, Neil Bothwick [EMAIL PROTECTED] wrote: On Mon, 8 Aug 2005 14:00:49 +0100, Michael Kintzios wrote: Well, it has been practical enough for *my* needs.For a while I was running Gentoo on a small partition and having run aground on a couple of cases with a seized system during some mammoth emerge, I decided to set up a separate /usr partition.You don't need to add partitions, because portage isn't hard coded to useany particular partitions. If you run out of space during emerges, you only have to change $PORTAGE_TMPDIR to somewhere with more spacethan /var. Equally, you can change $DISTDIR to reduce the amount of spaceused in /usr/portage, you could even change it to a FAT32 partition of your Windows installation has more free space than Gentoo. So I can point them both to the FAT32 partition and get 1Gb back (when not emerging) to gentoo's system.. that's interesting! That could help me until I find a real solution to the mess on my pc... :)
Re: [gentoo-user] how to control portage space usage
On 8/8/05, Richard Fish [EMAIL PROTECTED] wrote: My preference, since I normally mount with noatime, is:mount /u/p/distfiles -o remount,atime(yes, I keep distfiles on a separate LVM volume!)emerge --deep --emptytree --fetchonly world(updates atimes)mount /u/p/distfiles -o remount,noatimefind /u/p/distfiles -amin +60 -exec rm -v {} \;The above commands will remove all distfiles not needed anymore, either due to updates or unmerge packages. This looks to be a very nice way to do it. It works in another way than the scripts I been looking to. Instead of searching what should be deprecated, it verifies that after an emerge world.. nice and simple!! However, in this way you'll erase all other packages that you may need in case you want to recompile them.. but maybe in this case, it's better to download them again than keep ALL of them wasting your disk space. Other thing: I was not aware of LVM volumes, what are the advantages of using it to keep distfiles? And, how big is your volume? Cheers, Fernando
Re: [gentoo-user] setting using_dma on a BenQ DVD/RW drive
Roy Wright wrote: Rumen Yotov wrote: Hi, First thing to do is to make sure you have support for your mobos' chipset into kernel-config. Then emerge/install hdparm and have a customized '/etc/conf.s/hdparm' file. Ex.(mine): hda_args=-d1 -A1 -m16 -u1 -a64 // this is for my hard disk all_args=-d1 // this is for all other disks - DVD-R and DVD-RW Think i took this mainly from install-guide.2005.0. Don't forget to start /etc/init.d/hdparm start as root and if everything is OK, rc-update add hdparm default to always have this at boot time. Test with hdparm -Tt /dev/hdX X is a,b,c,d (for an IDE-disk) check again man hdparm for the options ;) HTH. Rumen Here's the details of what I'm seeing from a root shell: royw-gentoo conf.d # hdparm -d1 /dev/dvd /dev/dvd: setting using_dma to 1 (on) HDIO_SET_DMA failed: Operation not permitted using_dma= 0 (off) royw-gentoo conf.d # less /etc/conf.d/hdparm | grep -v \# all_args=-d1 royw-gentoo conf.d # /etc/init.d/hdparm start * Caching service dependencies ... [ ok ] * Starting hdparm ... [ ok ] * Running hdparm on /dev/cdroms/cdrom0 ... HDIO_SET_DMA failed: Operation not permitted royw-gentoo linux # hdparm -I /dev/dvd /dev/dvd: ATAPI CD-ROM, with removable media Model Number: Memorex DVD+/-RW True-8X Serial Number: DADC011844WL Firmware Revision: 1.06 Standards: Likely used CD-ROM ATAPI-1 Configuration: DRQ response: 50us. Packet size: 12 bytes Capabilities: LBA, IORDY(can be disabled) Buffer size: 64.0kB DMA: mdma0 mdma1 mdma2 udma0 udma1 *udma2 Cycle time: min=120ns recommended=120ns PIO: pio0 pio1 pio2 pio3 pio4 Cycle time: no flow control=240ns IORDY flow control=120ns Commands/features: Enabled Supported: *DEVICE RESET cmd *PACKET command feature set *Power Management feature set HW reset results: CBLID- above Vih Device num = 0 determined by the jumper royw-gentoo conf.d # lspci :00:00.0 Host bridge: Intel Corporation 82875P/E7210 Memory Controller Hub (rev 02) :00:01.0 PCI bridge: Intel Corporation 82875P Processor to AGP Controller (rev 02) :00:03.0 PCI bridge: Intel Corporation 82875P/E7210 Processor to PCI to CSA Bridge (rev 02) :00:1d.0 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #1 (rev 02) :00:1d.1 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #2 (rev 02) :00:1d.2 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI #3 (rev 02) :00:1d.3 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #4 (rev 02) :00:1d.7 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB2 EHCI Controller (rev 02) :00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev c2) :00:1f.0 ISA bridge: Intel Corporation 82801EB/ER (ICH5/ICH5R) LPC Interface Bridge (rev 02) :00:1f.2 IDE interface: Intel Corporation 82801EB (ICH5) SATA Controller (rev 02) :00:1f.3 SMBus: Intel Corporation 82801EB/ER (ICH5/ICH5R) SMBus Controller (rev 02) :00:1f.5 Multimedia audio controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller (rev 02) :01:00.0 VGA compatible controller: nVidia Corporation NV40 [GeForce 6800 GT] (rev a1) :02:01.0 Ethernet controller: Intel Corporation 82547EI Gigabit Ethernet Controller (LOM) royw-gentoo linux # dmesg | grep -i dma DMA zone: 4096 pages, LIFO batch:1 ata1: SATA max UDMA/133 cmd 0x1F0 ctl 0x3F6 bmdma 0xF000 irq 14 ata1: dev 0 ATA, max UDMA/133, 145226112 sectors: lba48 ata1: dev 1 ATA, max UDMA/133, 145226112 sectors: lba48 ata1: dev 0 configured for UDMA/133 ata1: dev 1 configured for UDMA/133 royw-gentoo linux # less /usr/src/linux/.config | grep -i dma CONFIG_GENERIC_ISA_DMA=y CONFIG_BLK_DEV_IDEDMA_PCI=y # CONFIG_BLK_DEV_IDEDMA_FORCED is not set CONFIG_IDEDMA_PCI_AUTO=y # CONFIG_IDEDMA_ONLYDISK is not set CONFIG_BLK_DEV_IDEDMA=y # CONFIG_IDEDMA_IVB is not set CONFIG_IDEDMA_AUTO=y I'm missing something simple, but just don't see it. TIA, Roy Hi Roy, Just guessing here but seems you have SATA drives not IDE, don't use/know much about SATA yet ;) but maybe this have something to do with the error on activating DMA, from the logs your hard-disk *is* using UDMA-133 PIO4 ? Could check BIOS-settings, other thoughts here? Check with 'hdparm' setting on your hard (/dev/sdaX or /dev/). All kernel-config you show deals with IDE/ISA settings. HTH. Rumen smime.p7s Description: S/MIME Cryptographic Signature
Re: [gentoo-user] how to control portage space usage
Fernando Meira wrote: The question is...can you live without the windows partition? Well, maybe. The problem is that sometimes I need to use something that works only under windows (or better under windows). Besides that I only use windows for video-conference (I haven't found the time to look for a linux replacement, assuming that my webcam works under linux). mmhmm... the webcam / video-conference stuff is not something I have much expirience with either, sorry to say. As far as the other software is concerned I would look at the crossover office fork of wine (assuming that wine itself won't run it) or maybe some virtualization software such as vmare. if you don't need it I would look at this: 1) Merge hda1 and hda4. Assuming this is desktop box that should be plenty of space for the system and applications Yes, that would be the best I could do. But, assuming that I can't remove entirely windows from my laptop, what about reduce it to it's minimum (windows + apps that I really need) and run it by VMware, always under Gentoo? The spare space from unused apps would merge it with gentoo's partition.. I estimate it of about 4Gb. What do you say about this? With VMWare you create a virtual disk, which can be expanded as needed. This is one way to go. As mentioned Wine is the other. 3) Convert hda5 to ext3|reiserfs|jfs|mature non-fat fs of choice. Mount it as /home. The reason it is FAT32 is to windows be able to access it. With windows away, I could do that. Right. Keep in mind that with VMWare you can mount your linux home directory as a SMB share. Another advantage of a seperate /home is that you can reinstall the OS without effecting your important personal data and settings. I realize on your current system /mnt/share really handled some of that but thought I'd mention it as well. 4) Consider creating a swap partition. Even if you have plenty of RAM, in my experience Linux just runs better with a swap partition mounted. I have. 512mb swap. df shows it slitted into 2 other: udev and none OK... blury vision... that email was part of an allnighter. -- spr -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] eterm issue
On Mon, Aug 08, 2005 at 09:01:09AM +0200, Arek Murzyn wrote: - Original Message - From: Bob Sanders [EMAIL PROTECTED] To: gentoo-user@lists.gentoo.org Sent: Saturday, August 06, 2005 2:52 AM Subject: Re: [gentoo-user] eterm issue On Fri, 5 Aug 2005 15:58:11 +0200 Arek Murzyn [EMAIL PROTECTED] wrote: I've done something recently on my gentoo and I don't remember what but till that moment I cannot run Eterm or xterm when logged as user. When logged as root everything is working. This issue is known on the web but solutions does not satisfy me Eterm. There are messages: Can't open pseudo-tty --No such file or directory Unable to run sub-command Then Eterm window raises and there is only Hit any key to exit I checked: - /dev/pty is compiled in kernel - /dev/pty directory exists and all files within - symbolic links in /dev exists too - changed rights to all these files to rwxrwxrwx - nothing helped 2.6.12r6, 2005.0 What can I do more? Changin debugging level in Eterm gives nothing. Did you use Unix98 PTY or Legacy (BSD) Pty? Also, are you using udev? And you have Virtual terminal? fwiw - I haven't seen it here with Unix98 ptys, udev, and 2.6.12-r4. I use udev and Legacy(BSD) with 2.6.12-r6. How to check if I use virtual terminal? How to switch to Unix98 - I can't find this option in menuconfig. Very strange is that root can open eterm without problems, any user (even with additional group 'root') can't. I see some messages in logs about pam authentication. Could it be related to that? Thanks, Arek I had such a problem after an upgrade of udev. I didn't run etc-update and with the old config udev just made the ptys with wrong permissions after etc-update and a reboot with the new udev config all was well again... yoyo -- _ | YoYo () Siska http://www.ksp.sk/ -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] how to control portage space usage
On Mon, 2005-08-08 at 14:54 -0400, Sean Reiser wrote: Fernando Meira wrote: The question is...can you live without the windows partition? Well, maybe. The problem is that sometimes I need to use something that works only under windows (or better under windows). Besides that I only use windows for video-conference (I haven't found the time to look for a linux replacement, assuming that my webcam works under linux). mmhmm... the webcam / video-conference stuff is not something I have much expirience with either, sorry to say. As far as the other software is concerned I would look at the crossover office fork of wine (assuming that wine itself won't run it) or maybe some virtualization software such as vmare. I don't have any experience with it, but gnomemeeting might be something you would be interested in -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] how to control portage space usage
On Mon, 8 Aug 2005 18:23:30 +, Fernando Meira wrote: You don't need to add partitions, because portage isn't hard coded to use any particular partitions. If you run out of space during emerges, you only have to change $PORTAGE_TMPDIR to somewhere with more space than /var. Equally, you can change $DISTDIR to reduce the amount of space used in /usr/portage, you could even change it to a FAT32 partition of your Windows installation has more free space than Gentoo. So I can point them both to the FAT32 partition and get 1Gb back (when not emerging) to gentoo's system.. that's interesting! That could help me until I find a real solution to the mess on my pc... :) I'm not sure whether $PORTAGE_TMPDIR would work on a FAT32 partition, because of the lack of permissions. -- Neil Bothwick -Come, come, why they couldn't hit an elephant from this dist- pgp77B5C3WYLi.pgp Description: PGP signature
Re: [gentoo-user] OT: disk full but lot of space
I can write to the system again... The system couldn't write from 3 AM to 8 AM, after that, It was ok again. That's why I'm not really enthousiast to tune my fs. If it's not broken, don't fix it. Yikes. Y'know, what city is this machine in? One of us might be nearby and willing to talk the data center folks through the issue. *shrug* Just an idea. :) -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] setting using_dma on a BenQ DVD/RW drive
On Mon, 2005-08-08 at 13:25 -0500, Roy Wright wrote: royw-gentoo linux # dmesg | grep -i dma DMA zone: 4096 pages, LIFO batch:1 ata1: SATA max UDMA/133 cmd 0x1F0 ctl 0x3F6 bmdma 0xF000 irq 14 ata1: dev 0 ATA, max UDMA/133, 145226112 sectors: lba48 ata1: dev 1 ATA, max UDMA/133, 145226112 sectors: lba48 ata1: dev 0 configured for UDMA/133 ata1: dev 1 configured for UDMA/133 Is your DVD units SCSI, if so you will not be able to use hdparm to set any options. hdparm doesn't work with SCSI unit, you can list the parameters but not set them. My BenQ DW1620 is an IDE unit connected to hdd so I should be able to set the parameters using hdaprm. I can set some parameters but not DMA with -d1 -- #Joseph -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] How do you remove packages made with --buildpkg?
On Mon, 08 Aug 2005 13:59:26 -0400, Matt Randolph wrote: How the heck do you remove the old built binaries? They aren't simply put in '${PKGDIR}/All' like the manual says. There are a bunch of places that the different pieces go. A bunch of symlinks and new directories are created too, IIRC. The packages go in ${PKGDIR}/All, the rest are just symlinks. Remove the packages from All then delete the dangling symlinks with symlinks -dr ${PKGDIR} emerge symlinks if you don't already have it. Or you can do it automatically with qpkg -I -nc -v | while read p; do touch --no-create $PKGDIR/$p.tbz2 touch --no-create $PKGDIR/All/$(basename $p).tbz2 done find $PKGDIR ! -mtime +1 -exec rm {} \; -- Neil Bothwick Why do Kennedy's cry after sex? . Mace! pgp6D6N7utSpJ.pgp Description: PGP signature
Re: [gentoo-user] setting using_dma on a BenQ DVD/RW drive
Rumen Yotov wrote: Hi Roy, Just guessing here but seems you have SATA drives not IDE, don't use/know much about SATA yet ;) but maybe this have something to do with the error on activating DMA, from the logs your hard-disk *is* using UDMA-133 PIO4 ? Could check BIOS-settings, other thoughts here? Check with 'hdparm' setting on your hard (/dev/sdaX or /dev/). All kernel-config you show deals with IDE/ISA settings. HTH. Rumen My system has two SATA WD Raptors for hard disks. I'm trying to get DMA working for the DVD writer which is IDE. I'd just like to eliminate the occasionaly hiccup when playing DVDs. FYI, AFAIK hdparm does not work with SATA. From the man page it is pretty explicit that it is EIDE/IDE only. When I try it against my SATA drives it barfs: royw-gentoo linux # hdparm -i /dev/sda /dev/sda: HDIO_GET_IDENTITY failed: Inappropriate ioctl for device Thank you, Roy -- gentoo-user@gentoo.org mailing list
[gentoo-user] Web classes - can't pass their windows compatibility test
Hi, Anyone want a challenge? ;-) I was interested in taking a web class later this afternoon. The signup page sent me this link in and email: http://prod1.centra.com/SiteRoots/main/SystemCheck/SystemCheck.jhtml and asked me to check my compatibility. Of course, being a non-Windows user my Gentoo/Firefox system doesn't meet the requirements, but what the heck, why not try, right? OK, I pass the first step (Browser Java) but it then goes on to check the network and all it does is go to a blank page after a message about popups. I've set Firefox to allow popups but that's not working. Can anyone get further? Thanks, Mark -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] setting using_dma on a BenQ DVD/RW drive
Roy Wright wrote: -snip- I'm having the same issue with a Memorex DVD writer. Googling suggests making sure the IDE controller chipset module is loaded. My problem is that I don't see a config module option for Intel 82801EB (ICH5). Yes u are right, IMO it has nothing to do with CD/DVD writer or HDD itself, it depends on IDE chipset driver. My mobo is also based on i865 chipset, one SATA and one PATA HDD connected. If I use 2.4 kernel, both drives are fast, also DMA on PATA drive is on, but using 2.6 kernel PATA HDD gives sustain rate only ~2MB/s, DMA setting fails with Operation not permitted error. lshw says this: *-ide description: IDE interface product: 82801EB (ICH5) SATA Controller vendor: Intel Corporation physical id: 1f.2 bus info: [EMAIL PROTECTED]:1f.2 logical name: scsi0 version: 02 width: 32 bits clock: 66MHz capabilities: ide bus_master emulated configuration: driver=ata_piix resources: ioport:fc00-fc0f irq:18 # grep -i pii\|ata /usr/src/linux/.config: CONFIG_BLK_DEV_PIIX=y CONFIG_SCSI_SATA=y # CONFIG_SCSI_SATA_AHCI is not set # CONFIG_SCSI_SATA_SVW is not set CONFIG_SCSI_ATA_PIIX=y # CONFIG_SCSI_SATA_NV is not set # CONFIG_SCSI_SATA_PROMISE is not set # CONFIG_SCSI_SATA_QSTOR is not set # CONFIG_SCSI_SATA_SX4 is not set # CONFIG_SCSI_SATA_SIL is not set # CONFIG_SCSI_SATA_SIS is not set # CONFIG_SCSI_SATA_ULI is not set # CONFIG_SCSI_SATA_VIA is not set # CONFIG_SCSI_SATA_VITESSE is not set # CONFIG_SCSI_EATA is not set # CONFIG_ATALK is not set CONFIG_I2C_PIIX4=m CONFIG_USB_STORAGE_DATAFAB=y Although I have ata_piix.o compiled in kernel (listed by lshw), there is only slow generic PATA support available. noro -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Web classes - can't pass their windows compatibility test
Mark Knecht wrote: Hi, Anyone want a challenge? ;-) I was interested in taking a web class later this afternoon. The signup page sent me this link in and email: http://prod1.centra.com/SiteRoots/main/SystemCheck/SystemCheck.jhtml and asked me to check my compatibility. Of course, being a non-Windows user my Gentoo/Firefox system doesn't meet the requirements, but what the heck, why not try, right? OK, I pass the first step (Browser Java) but it then goes on to check the network and all it does is go to a blank page after a message about popups. I've set Firefox to allow popups but that's not working. Can anyone get further? Thanks, Mark Look in Tools-JavaScript Console. On the network check it gave me a JavaScript error: Error: netscape.softupdate has no properties Source File: http://prod1.centra.com/SiteRoots/main/Install/NS-Install.jsp?sessionid=1123535472702316034redirect=http%3A%2F%2Fprod1.centra.com%2FSiteRoots%2Fmain%2FSystemCheck%2FNetworkCheckLauncher.jhtml%3Fcurr%3D1%26status%3D100%26securemode%3D%26locale%3Den_US%26sessionid%3D1123535472702316034launchclient=truereturnPageUrl=http%3A%2F%2Fprod1.centra.com%2FSiteRoots%2Fmain%2FInstall%2FMessage.jsp%3Fsessionid%3D1123535472702316034 Line: 208 It seems to be unsuccessful trying to install a netscape plugin. Zac -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Re-post:How to get jfs root partition to properly fsck on power failure?
On 8/8/05, A. Khattri [EMAIL PROTECTED] wrote: On Sun, 7 Aug 2005, Aaron Nichols wrote: I was going to try the non-genkernel approach and see if that worked any differently, as the grub configuration is quite different. I have examples of other distributions which work fine using jfs in this situation, but those do not use udev and none require the same options that genkernel seems to.I dont know if genkernel has much to do with it - OTOH, a lot of us dont use genkernel because of people always reporting problems with it... Thanks, apparently you can add yet another reason not to use it. I recompiled the kernel without using genkernel, used the grub.conf stanza below, and now this works fine. title=Gentoo Linux 2.6.12-r6 root (hd0,1) kernel /kernel-2.6.12-gentoo-r6 root=/dev/sda6 udev hda=ide-scsi hde=ide-scsi ro Very frustrating. Thanks for helping. Aaron
Re: [gentoo-user] How do you remove packages made with --buildpkg?
Neil Bothwick wrote: Or you can do it automatically with qpkg -I -nc -v | while read p; do touch --no-create $PKGDIR/$p.tbz2 touch --no-create $PKGDIR/All/$(basename $p).tbz2 done find $PKGDIR ! -mtime +1 -exec rm {} \; Since qpkg is being phased out, I guess the equery way to do this is: equery -C l 2 /dev/null | grep / | while read p; do touch --no-create $PKGDIR/$p.tbz2 touch --no-create $PKGDIR/All/$(basename $p).tbz2 done find $PKGDIR ! -mtime +1 -exec rm {} \; Right? qpkg is a lot faster, though. -- Pluralitas non est ponenda sine necessitate - W. of O. -- gentoo-user@gentoo.org mailing list
[gentoo-user] Which filesystem for a notebook?
Hello! What filesystem(s) do you recommend for use on a notebook? I'm looking for a FS that's fairly stable even if all of a sudden the power goes away (battery empty) and one, that also doesn't (overly) unneccesarily spin up the hard drive. I don't think that I'll use Reiser4, as it's lacking an online fs resizer. At least making the fs bigger should be doable while the FS is mounted. Thanks, Alexander Skwar -- /* James M doesn't say fuck enough. */ linux-2.4.3/net/core/netfilter.c -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Web classes - can't pass their windows compatibility test
Christoph Zac, Thanks. Guess I'm out of luck. cheers, Mark On 8/8/05, Christoph Gysin [EMAIL PROTECTED] wrote: Mark Knecht wrote: OK, I pass the first step (Browser Java) but it then goes on to check the network and all it does is go to a blank page after a message about popups. I've set Firefox to allow popups but that's not working. Can anyone get further? Not with firefox. The site uses ActiveX... Christoph -- echo mailto: NOSPAM !#$.'*'|sed 's. ..'|tr * !#:2 [EMAIL PROTECTED] -- gentoo-user@gentoo.org mailing list -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] OT: disk full but lot of space
Christopher Fisk wrote: On Mon, 8 Aug 2005, [EMAIL PROTECTED] wrote: How useful is this system to you, when you can't even write to the disk? I can write to the system again... The system couldn't write from 3 AM to 8 AM, after that, It was ok again. That's why I'm not really enthousiast to tune my fs. If it's not broken, don't fix it. But it is broken... Mat, It sure sounds broken to me. Have you looked at your log files for hardware errors? Maybe you've lost a superblock due to a hard disk error? Ray -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] How do you remove packages made with --buildpkg?
On Mon, 08 Aug 2005 17:37:06 -0400, Matt Randolph wrote: Since qpkg is being phased out, I guess the equery way to do this is: equery -C l 2 /dev/null | grep / | while read p; do touch --no-create $PKGDIR/$p.tbz2 touch --no-create $PKGDIR/All/$(basename $p).tbz2 done Probably, but I still use qpkg wherever possible. find $PKGDIR ! -mtime +1 -exec rm {} \; This line is wrong, it should be find $PKGDIR -mtime +1 -exec rm {} \; Right? qpkg is a lot faster, though. Yes, by several orders of magnitude, which is why I still use it. -- Neil Bothwick God: What one human uses to persecute another. pgpx0kq673BAG.pgp Description: PGP signature
Re: [gentoo-user] How do you remove packages made with --buildpkg?
Matt Randolph wrote: Neil Bothwick wrote: Or you can do it automatically with qpkg -I -nc -v | while read p; do touch --no-create $PKGDIR/$p.tbz2 touch --no-create $PKGDIR/All/$(basename $p).tbz2 done find $PKGDIR ! -mtime +1 -exec rm {} \; Since qpkg is being phased out, I guess the equery way to do this is: equery -C l 2 /dev/null | grep / | while read p; do touch --no-create $PKGDIR/$p.tbz2 touch --no-create $PKGDIR/All/$(basename $p).tbz2 done find $PKGDIR ! -mtime +1 -exec rm {} \; Right? qpkg is a lot faster, though. Oops! I guess the -C flag isn't strictly necessary. -- Pluralitas non est ponenda sine necessitate - W. of O. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] setting using_dma on a BenQ DVD/RW drive
On Mon, 08 Aug 2005 14:19:46 -0500, Roy Wright wrote: My system has two SATA WD Raptors for hard disks. I'm trying to get DMA working for the DVD writer which is IDE. I'd just like to eliminate the occasionaly hiccup when playing DVDs. This makes it more likely that the problem is lack of support for your IDE chipset in your kernel. -- Neil Bothwick ISDN: It Still Does Nothing pgpMYGaVabbyy.pgp Description: PGP signature
Re: [gentoo-user] md5sum error
glumtail wrote: HI: install-x86-universal-2005.0.iso is ok stage3-authon-xp-2005.0.tar.bz2 and other stages (but not x86) is ok too If the iso md5 checks then everything on it should be okay. You could be having problems with the cd drive or cd media though. If you have cdrtools then you can test the readability of the cd media like this: readcd dev=/dev/cdrom sectors=0-$(isoinfo -d -i /dev/cdrom | grep Volume size is: | grep -o [0-9]*$) f=- | md5sum I have downloaded stage3-x86-2005.0.tar.bz2 from several servers but has the same problem. Look at the output of md5sum stage3-x86-2005.0.tar.bz2. Do you get the same result every time? You should get 4ea12f4ae446c72164c28aa0b836453e. Zac -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] setting using_dma on a BenQ DVD/RW drive
Neil Bothwick wrote: On Mon, 08 Aug 2005 14:19:46 -0500, Roy Wright wrote: My system has two SATA WD Raptors for hard disks. I'm trying to get DMA working for the DVD writer which is IDE. I'd just like to eliminate the occasionaly hiccup when playing DVDs. This makes it more likely that the problem is lack of support for your IDE chipset in your kernel. Joseph, Please post *ALL* of the output of a dmesg and lspci-v command. I too believe chipset issues are most likely the problem. I am at present fighting a similar problem with a 915GM. -- Regards, Ray -- gentoo-user@gentoo.org mailing list
[gentoo-user] sha1sum of cd
I've downloaded a KNOPPIX cd and burned it onto a cd via cdrecord (k3b having recently evolved to brain death). The command was cdrecord dev=/dev/hdc KNOPPIX_V3.9-2005-05-27-EN.iso The sha1sum of the downloaded image is 51294cb7439a127efd36f819f636208163988972, which is what it's supposed to be. The cd boots, but something seems wrong ('ls /etc' hangs forever, and segfaulted once). So, maybe the burning was not right. I tried $ cat /dev/hdc|sha1sum cat: /dev/hdc: Input/output error 8d792624cfe365a1b8ee1e9f06fe3520c28d91cc - Then, $ dd if=/dev/hdc of=knoppix.iso dd: reading `/dev/hdc': Input/output error 1425088+0 records in 1425088+0 records out $ sha1sum knoppix.iso 8d792624cfe365a1b8ee1e9f06fe3520c28d91cc knoppix.iso Last, I followed Zac Medico's suggestion in the md5sum error thread: $ readcd dev=/dev/hdc sectors=0-$(isoinfo -d -i /dev/cdrom | grep Volume size is: | grep -o [0-9]*$) f=- | sha1sum Read speed: 7042 kB/s (CD 40x, DVD 5x). Write speed: 2818 kB/s (CD 16x, DVD 2x). Capacity: 356298 Blocks = 712596 kBytes = 695 MBytes = 729 prMB Sectorsize: 2048 Bytes Copy from SCSI (1,0,0) disk to file '-' end:356296 addr: 356296 cnt: 84 Time total: 160.792sec Read 712592.00 kB at 4431.8 kB/sec. 51294cb7439a127efd36f819f636208163988972 - So, there is order in this madness. Can someone explain the meaning of this? Jorge Almeida -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] setting using_dma on a BenQ DVD/RW drive
I'm starting to believe that it has something to do with some option in the kernel that is not enabled. I just swap the CD/RW Plextor from the machine that is working OK on kernel 2.6.11 (where DMA is enabled and everything is working, CD/RW, except eject - but that is another story) into a new New Machine on kernel-2.6.12 Anyhow, I just put the Plextor CD/RW into my new machine and the DMA was not not enabled: hdparm /dev/hdc for plextor on working machine. /dev/hdc: IO_support = 1 (32-bit) unmaskirq= 1 (on) using_dma= 1 (on) keepsettings = 0 (off) readonly = 0 (off) readahead= 256 (on) hdparm for plextor on new machine: /dev/hdd: IO_support = 0 (16-bit) unmaskirq= 0 (off) using_dma= 0 (off) keepsettings = 0 (off) readonly = 0 (off) readahead= 256 (on) So, I strongly believe it has to do with some setting in the kernel or diver. Another interesting thing is that lshw is not even listing CDROM present in a new machine for both drives: BenQ and Plextor, even though kernel detects them correctly. I did not put BenQ Writer into working machine, I'll try to analyze both kernel settings first, to see what I'm missing. -- #Joseph This makes it more likely that the problem is lack of support for your IDE chipset in your kernel. Joseph, Please post *ALL* of the output of a dmesg and lspci-v command. I too believe chipset issues are most likely the problem. I am at present fighting a similar problem with a 915GM. -- Regards, Ray -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] How do you remove packages made with --buildpkg?
Neil Bothwick wrote: find $PKGDIR ! -mtime +1 -exec rm {} \; This line is wrong, it should be find $PKGDIR -mtime +1 -exec rm {} \; Oops! I should read more slowly too. Thanks again, btw. -- Pluralitas non est ponenda sine necessitate - W. of O. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] sha1sum of cd
Jorge Almeida wrote: I've downloaded a KNOPPIX cd and burned it onto a cd via cdrecord (k3b having recently evolved to brain death). The command was cdrecord dev=/dev/hdc KNOPPIX_V3.9-2005-05-27-EN.iso The sha1sum of the downloaded image is 51294cb7439a127efd36f819f636208163988972, which is what it's supposed to be. The cd boots, but something seems wrong ('ls /etc' hangs forever, and segfaulted once). So, maybe the burning was not right. I tried $ cat /dev/hdc|sha1sum cat: /dev/hdc: Input/output error 8d792624cfe365a1b8ee1e9f06fe3520c28d91cc - Then, $ dd if=/dev/hdc of=knoppix.iso dd: reading `/dev/hdc': Input/output error 1425088+0 records in 1425088+0 records out $ sha1sum knoppix.iso 8d792624cfe365a1b8ee1e9f06fe3520c28d91cc knoppix.iso Last, I followed Zac Medico's suggestion in the md5sum error thread: $ readcd dev=/dev/hdc sectors=0-$(isoinfo -d -i /dev/cdrom | grep Volume size is: | grep -o [0-9]*$) f=- | sha1sum Read speed: 7042 kB/s (CD 40x, DVD 5x). Write speed: 2818 kB/s (CD 16x, DVD 2x). Capacity: 356298 Blocks = 712596 kBytes = 695 MBytes = 729 prMB Sectorsize: 2048 Bytes Copy from SCSI (1,0,0) disk to file '-' end:356296 addr: 356296 cnt: 84 Time total: 160.792sec Read 712592.00 kB at 4431.8 kB/sec. 51294cb7439a127efd36f819f636208163988972 - So, there is order in this madness. Can someone explain the meaning of this? Jorge Almeida Well, readcd works well for a cd while dd and cat do not. ;-) The ls /etc hang and segaufault sounds like a unionfs problem (known bugs). If you do dmesg|tail you will probabably see evidence of a unionfs error/oops. I've been using a unionfs snapshot from 4/19 for the longest time because I have found later versions to be too unstable for my liking. Zac -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] [SOLVED] setting using_dma on a BenQ DVD/RW drive
Problem SOLVED - but another problem pop-up. Writing to a disk is not reliable. I was right, I've missed some setting in the Kernel, Device Drivers: ATA/ATAPI/MFM/RLL Support (x) Sharing PCI IDE interrupts support (x) Generic PCI IDE Chipset support (x) VIA82Cxxx Shipset support #I have this chipset The first two option must have been the culprit of my problems. To write two files (44Mb +11Mb =55MB total) to a CDRW it tooks me about 2min. When I open the drive I can see those two files there 11MB and 44MB But when I try to copy them back to Hard Drive I get and I/O error So much if I was relying on these disks for real backup :-/ I would be convinced that the files are there but if I needed them in emergency I would get an I/O error. -- #Joseph On Mon, 2005-08-08 at 15:46 -0700, Raymond Lillard wrote: Neil Bothwick wrote: On Mon, 08 Aug 2005 14:19:46 -0500, Roy Wright wrote: My system has two SATA WD Raptors for hard disks. I'm trying to get DMA working for the DVD writer which is IDE. I'd just like to eliminate the occasionaly hiccup when playing DVDs. This makes it more likely that the problem is lack of support for your IDE chipset in your kernel. Joseph, Please post *ALL* of the output of a dmesg and lspci-v command. I too believe chipset issues are most likely the problem. I am at present fighting a similar problem with a 915GM. -- Regards, Ray -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] eterm issue
On Mon, 8 Aug 2005 09:01:09 +0200 Arek Murzyn [EMAIL PROTECTED] wrote: I use udev and Legacy(BSD) with 2.6.12-r6. How to check if I use virtual terminal? How to switch to Unix98 - I can't find this option in menuconfig. It's on the same menu, just above the BSD pseudo terms. The path is - Device Drivers -- Character Devices -- The Virtual terminal option is there as well. Very strange is that root can open eterm without problems, any user (even with additional group 'root') can't. I see some messages in logs about pam authentication. Could it be related to that? Yes. I don't run pam, thus can't help with that one. Pam_login sets up permissions somewhat dynamically upon a user's login. Bob - -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] sha1sum of cd
On Tue, 2005-08-09 at 00:18 +0100, Jorge Almeida wrote: I've downloaded a KNOPPIX cd and burned it onto a cd via cdrecord (k3b having recently evolved to brain death). The command was cdrecord dev=/dev/hdc KNOPPIX_V3.9-2005-05-27-EN.iso The sha1sum of the downloaded image is 51294cb7439a127efd36f819f636208163988972, which is what it's supposed to be. The cd boots, but something seems wrong ('ls /etc' hangs forever, and segfaulted once). So, maybe the burning was not right. try burning another at a lower speed. I sometimes get weird cd errors from burning too fast for the media / writer / universe. HTH, -- Iain Buchanan [EMAIL PROTECTED] -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] sha1sum of cd
On Tue, 2005-08-09 at 10:47 +0930, Iain Buchanan wrote: On Tue, 2005-08-09 at 00:18 +0100, Jorge Almeida wrote: I've downloaded a KNOPPIX cd and burned it onto a cd via cdrecord (k3b having recently evolved to brain death). The command was cdrecord dev=/dev/hdc KNOPPIX_V3.9-2005-05-27-EN.iso The sha1sum of the downloaded image is 51294cb7439a127efd36f819f636208163988972, which is what it's supposed to be. The cd boots, but something seems wrong ('ls /etc' hangs forever, and segfaulted once). So, maybe the burning was not right. try burning another at a lower speed. I sometimes get weird cd errors from burning too fast for the media / writer / universe. oops, I got lost in all the sha1sums...! I didn't realise the first and the last ones were the same. Oh well, it may be a knoppix bug then - is there a knoppix users list? -- Iain Buchanan [EMAIL PROTECTED] -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Which filesystem for a notebook?
On Mon, 08 Aug 2005 23:40:36 +0200 Alexander Skwar [EMAIL PROTECTED] wrote: Hello! What filesystem(s) do you recommend for use on a notebook? I'm looking for a FS that's fairly stable even if all of a sudden the power goes away (battery empty) and one, that also doesn't (overly) unneccesarily spin up the hard drive. Any journaling filesystem is going to spin up the drive or keep it spinning. And unless your drive is one of the 7200 rpm drives, it's still not the energy hog that the LCD is. I don't think that I'll use Reiser4, as it's lacking an online fs resizer. At least making the fs bigger should be doable while the FS is mounted. You're asking for Enterprise server features for a laptop? fwiw - I use XFS on my laptop. It survives fine with power going away. But, if all the data is in the buffer and the drive is spun down, having the power die will cause lost data regardless of filesystem. Bob - -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] sha1sum of cd
Iain Buchanan wrote: oops, I got lost in all the sha1sums...! I didn't realise the first and the last ones were the same. Oh well, it may be a knoppix bug then - is there a knoppix users list? The problem he reported is really quite typical of unionfs problems. No doubt, many other knoppix users have experienced this. Zac -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Media players
On Mon, 08 Aug 2005 13:59:48 +0200 Alexander Skwar wrote: Norberto Bensa wrote: Alexander Skwar wrote: It has radio, nice visuals, dvd, etc support. Much Since when does Windows Media Player have DVD support? Last time I looked at it, it couldn't play DVDs by itself. Yep. It does. You need drivers from your DVD player, Ah, so it does not play DVDs. Thanks. but WMP 9/10 do actually play DVDs. But only with drivers/codecs and after installation of those, many other players play DVDs just fine as well. vlc plays dvd's just fine on windows. Alexander Skwar -- If mathematically you end up with the wrong answer, try multiplying by the page number. -- gentoo-user@gentoo.org mailing list -- Nick Rout [EMAIL PROTECTED] -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Which filesystem for a notebook?
Hi, On Monday 08 August 2005 23:40, Alexander Skwar wrote: Hello! What filesystem(s) do you recommend for use on a notebook? I'm looking for a FS that's fairly stable even if all of a sudden the power goes away (battery empty) and one, that also doesn't (overly) unneccesarily spin up the hard drive. I don't think that I'll use Reiser4, as it's lacking an online fs resizer. At least making the fs bigger should be doable while the FS is mounted. I do not have any direct experience, but from all that I read over the years I came to this: XFS is very fragile, when the power is failing. XFS will replace damaged files with zeros this is both not acceptable. Reiser4 is alpha code in motion. I would not touch it with a 10 feet pole at the moment. Well 4 filesystems left ;) -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Media players
Alexander Skwar wrote: Norberto Bensa wrote: Alexander Skwar wrote: It has radio, nice visuals, dvd, etc support. Much Since when does Windows Media Player have DVD support? Last time I looked at it, it couldn't play DVDs by itself. Yep. It does. You need drivers from your DVD player, Ah, so it does not play DVDs. Thanks. Neither does mplayer/xine/totem/whatever if you remove libdvdcss... but WMP 9/10 do actually play DVDs. But only with drivers/codecs and after installation of those, many other players play DVDs just fine as well. If the player's maker pay U$S10.000 per year to the DVD consortium for -one- DVD key, yes. Alexander Skwar -- If mathematically you end up with the wrong answer, try multiplying by the page number. -- Norberto Bensa informática BeNSA 4544-9692 / 15-4190-6344 Ciudad de Buenos Aires, Argentina pgpl15c7k9O6m.pgp Description: PGP signature
Re: [gentoo-user] NFS configuration (tcp/ip MythTV)
Version 3 should work... the internal filesize is a 64bit value... Do a search for NFS v2/v3 and you can read up on it all. (It is boring and just a simple footnote...) On Tue, 2 Aug 2005, Mark Knecht wrote: On 8/2/05, Bryan Whitehead [EMAIL PROTECTED] wrote: BTW, it could be you are using NFS v2 which is ONLY 32bit so you have the 4gb filesize limit. OK, I've built the kernels on both machines and have support for both V3 and V3 clients and servers built in. Ethereal tells me now that I'm using V3. We'll see if that stays on line longer than the V2 protocol did. thanks! - Mark -- Bryan Whitehead Email:[EMAIL PROTECTED] -- gentoo-user@gentoo.org mailing list