Re: switching from apt-get to aptitude

2006-05-18 Thread Justin Guerin
On Wednesday 17 May 2006 23:51, mustard lee wrote:
 Christopher Nelson wrote:
 On Wed, May 17, 2006 at 02:59:26PM +0200, H. Wilmer wrote:
 Florian Kulzer wrote:
[snip]

 One thing thats always confused me with aptitude is how to 'unmark'
 packages that I have accidently marked when uses the ncurses interface.
 I have no trouble marking things and installing them, although, I
 generally use the command line for this.  It usually when I have a lot
 of upgrades and I'd like to mark them all, and then unmark the few that
 I wannt to skip in upgrading, that I strike this problem of not knowing
 how to umark marked packages.

 Chris L.

From /usr/share/doc/aptitude/README:

||Cancel any pending installation, upgrade, or |
|Package-Keep (:)   |removal of the currently selected package, and   |
||remove any hold that was set on the package. |
||_|
|Package-Hold (=)   |Hold the currently selected package back.|
||_|

If you previously put a hold on a package, : will remove it, but then again, 
if a package was on hold, choosing to upgrade them all should honor that.

Note that sometimes, pressing : won't seem to have any effect.  This is 
because another package you're choosing to install / upgrade conflicts with 
that package, and you'll need to cancel the pending operation on that 
package as well.  If the conflict resolution dialog doesn't come up, then 
press g once to review the pending operations.  The package you're wanting 
to hold should be in the list of packages to be removed due to unsatisfied 
dependencies.  If you highlight that package, the information pane will 
tell you that another package conflicts with it, so it's being removed.  
You can then search for that package, cancel its pending operation, and 
unless there's another dependency, your original package will now be 
properly held back from the upgrade.

After you change the preview (the tab you're in after you press g once), it 
will update, but I always use q to close that tab, then press g again to 
generate the preview again, so I'm sure no packages are listed in 
unexpected places.

Naturally, if you choose to review carefully what packages will be removed, 
upgraded, or installed before pressing g again, you'll never be surprised 
at what aptitude does.  This is why I never understood how people can have 
aptitude remove packages without them expecting it.

Justin


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: aptitude dist-upgrade wants to install 695 new packages

2006-05-18 Thread Justin Guerin
On Wednesday 17 May 2006 21:27, John O'Hagan wrote:
 On Wednesday 17 May 2006 14:59, rs wrote:

 [...]

 In other words, upgrade will hold back any package whose new version has
 new dependencies or requires the removal of any package. Dist-upgrade
 will install any new dependencies and remove any newly conflicting
 packages (it automatically decides which packages must go when there is a
 conflict, or you can control this by marking packages in various ways).

 So I'm afraid what you're asking is not possible: the packages you have
 installed must have their new dependencies if they are to be upgraded.
 And a major change like the one from stable to testing will usually bring
 in a lot of new dependencies.

There may not be a one command way to do this, but it can be done.  The 
simplest way is a 2 step process:
1) do your normal upgrade.  Don't worry about packages that are held back.
2) after the upgrade, run aptitude in interactive mode.  The packages that 
were previously held back will be in the upgradable packages section.  
Open that section, and for each package you want to upgrade, hit +  Each 
time you hit plus, other packages may be marked for install, removal, or 
upgrade, depending on dependency needs (and aptitudes options: see below).  
If you want to review what aptitude is proposing, hit g after each package 
you mark, and review to make sure you're OK with aptitude's plan.  If not, 
use : to cancel the pending operation on a package by package basis.

Also, you'll want to look at the Options - Dependency handling options, as 
Wackojacko suggests.  In addition to the option of installing recommended 
packages by default, you also have the option to:
Automatically resolve dependencies of a package when it is selected
Automatically fix broken packages before installing or removing
Remove unused packages automatically

The last option also has a filter you can set to negate the global effect of 
this option.

[snip]

Justin


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Script to delete duplicate files

2006-05-18 Thread Justin Guerin
On Wednesday 17 May 2006 17:40, Curtis Vaughan wrote:
 When moving numerous messages from one IMAP folder to another it
 turns out that I now have multiple copies of many messages in my
 folder (that I moved everything too). Going to the server, I can see
 that there are are in fact multiple copies of the same file. I was
 wondering is there a script someone knows of that would say something
 like, Ok, if the date and the size of the file are exactly the same
 then delete one of the two.

 Thanks

If you use Kmail, it has this as a menu option.  Folder- Remove Duplicate 
Messages.  Or use Ctrl+*.

Justin


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: OT: Comparison of filesystems

2006-04-25 Thread Justin Guerin
On Tuesday 25 April 2006 09:16, [EMAIL PROTECTED] wrote:
 While we're on the subject of file systems ... Are there any useful
 runours about the long-awaited landing of reiser4 at Debian?


The rumors are true (at least on sid):
[EMAIL PROTECTED]:/usr/src$ apt-cache search reiser4
kernel-patch-2.6-reiser4 - Kernel patches for Reiser4 FS
libaal-dev - Reiser4's application abstraction library
libreiser4-dev - Reiser4's filesystem access and manipulation library
reiser4progs - administration utilities for the Reiser4 filesystem

from the kernel-patch-2.6-reiser4 package description:
Description: Kernel patches for Reiser4 FS
 Patches to build Reiser4 FS support in your kernel.
 .
 Supported kernel version(s): 2.6.12, 2.6.12.1, 2.6.12.2, 2.6.12.3.
 .
 WARNING: this software is to be considered usable but its deployment in
 production environments is still not recommended. Use at your own risk.

Justin Guerin


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



chroot problem with grub

2006-04-13 Thread Justin Guerin
Hi,

I've had to move my install to a new physical disk.  I made an image of my 
two partitions (/boot and /), and they restored properly.  Now, I only need 
to run grub-install to install the boot loader.  

When I boot from Knoppix, I can mount the / to /mnt/target, then mount /boot 
to /mnt/target/boot, and /proc to /mnt/target/proc, but I can't get 
grub-install to work properly.  When I chroot /mnt/target, and run grub, 
grub can't see the drives (error 21).  However, when I back out of the 
chroot, grub sees the drives just fine.

Can anyone tell me how grub accesses the bios to find out information about 
drives?  I'm not passing something through the chroot, but I have no idea 
what.  The device nodes are available in the chroot, and so is proc.  I'm 
running as root, and I know I have access to the device nodes.

Any help is appreciated.

Justin


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: chroot problem with grub

2006-04-13 Thread Justin Guerin
On Thursday 13 April 2006 13:21, Philippe De Ryck wrote:
 On Thu, 2006-04-13 at 12:13 -0600, Justin Guerin wrote:
  Hi,
 
  [snip problem]

 Justin,

 I don't think it is necessary to chroot at all. The knoppix disk has
 grub on board, so you can use that command. The command also has a
 command line switch to specify a device (/dev/hda for instance) and you
 can also specify a root-dir. If you specify as root-dir the mount point
 of your system (/mnt/target) grub will take the config file
 from /mnt/target/boot/...) and everything should work just fine.

 If you search the internet (or the manual perhaps) for this specific
 info you'll find a lot more.

 Good luck

 Philippe De Ryck

You're right, it wasn't necessary to chroot.  I simply mounted the drives 
and issued the command grub-install --root-directory=/mnt/target /dev/hda 
and it worked.  For good measure, before I rebooted, I chrooted and ran 
update-grub, but I'm not certain that was necessary.  Now, all my kernels 
are back and working.

Thanks Philippe!


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: filename prefixes while transfering images from memory cards

2006-04-05 Thread Justin Guerin
H.S. wrote:

 kamaraju kusumanchi wrote:
 
 [snip]
 
 I am already quite familiar with this method. However, if I have large
 number of images in my memory card, it is much more convenient to see
 the images in a browser, select the ones belong to a specific group, and
 copy them over to the harddisk with a preset file format, e.g.
 mmdd_groupnamestring_nnn.jpg, where nnn is automatically fixed by
 the application (gtkam and digikam do this, IIRC).
 
 To get the same effect with a bash script, I need to first get the files
 of images I want to save as one group (which may be nonsequenatial in
 the memory card), then get their basenames and then copy them over with
 the newly constructed names. The first step is the most cumbersome. With
 a GUI browser, it is becomes sooo easy.
 
 So, to put it in very approximate terms, I am enquiring if my memory
 card maybe seen as a camera with an application in the same way as gtkam
 sees a camera through the USB port.
 
 -HS

I know that in Digikam, you can set up your camera as a USB mass storage
device.  It's near the bottom of the list of camera models.  All you reall
need to fill out is the mount point.  Then, when you connect to the camera,
you get the normal download interface, but you use a USB block device back
end instead of gphoto2 or its ilk.  I would imagine that gtkam has some
similar functionality (though, looking at its web site, it doesn't seem
like it).  If you want a Gnome program, how about f-spot?

Justin



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: various parts of gnome up the creek

2006-04-05 Thread Justin Guerin
Adam Hardy wrote:

 hi fellow debian users
 
 I throw myself at your feet and grovel for help with the whole tedious
 mish-mash that has arisen while trying to set up libusb to run the
 hotsynch with my handheld.
 
 This is what went wrong:
 
 (1) suddenly the gnome window manager, menu and taskbar when I booted
 this morning after working on it last night
 (2) the sound is now disabled (esd)
 (3) I can't open a terminal or shell window
 
 I can't strictly narrow this down to libusb, it might have something to
 do with udev and a few other packages I upgraded last night.
 
 I managed to salvage gnome by re-installing it with synatpic.
 
 I can't get the sound back on (even though I see the esd daemon sitting
 there) and the shell launchers in x give me error creating child
 process.
 
 I also see lots of different apps saying:
 
 /usr/bin/X11/startx: line 131: /dev/null: Permission denied
 
What are the permissions on /dev/null?  They should be
crw-rw-rw- 1 root root 1, 3 2006-04-03 01:51 /dev/null

 and also a few of these:
 
 
 (nautilus:4179): libgnomevfs-WARNING **: Cannot load module
 `/usr/lib/gnome-vfs-2.0/modules/libcdda.so'
 (/usr/lib/gnome-vfs-2.0/modules/libcdda.so: cannot open shared object
 file: No such file or directory)
 
What are the permissions on these shared libraries?

 Can anyone tell me where to go from here?
 
What versions are your running?  Both of Debian (sarge, etch, sid, mix?) and
of the failing programs.

Are any packages in a broken state, unconfigured, or otherwise not installed
properly?  I.e. does apt-get install (whatever) suggest you do an
apt-get -f install?
 
 Thanks
 Adam

Justin



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: kernel upgrading problem

2006-04-01 Thread Justin Guerin
Chris Bannister wrote:

 On Wed, Mar 29, 2006 at 07:22:54PM -0700, Justin Guerin wrote:
 On Wednesday 29 March 2006 06:42, S. M. Ibrahim (Lavlu) wrote:
 [..]
 
  Btw, after dooing some hashal i installed the kernel 2.6.15-1-686 still
  cann't upgrade to 2.6.16-1-686
 
 What is hashal?  I've never heard that word.
 
 Also, you should avoid quoting the entire message (not snipping).
 Its no big deal but it makes it hard to follow for people who come in
 late. I've edited your response appropriately.
 
I would have, but his response was sent to me privately.  So if I snipped
anything, then it wouldn't be available anywhere.

Still, your point is well taken.

Justin



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Firefox always prints landscape

2006-03-31 Thread Justin Guerin
Kent West wrote:

 Using Sid, 2.6.11-1-686, cupsys
 
 Printing from OpenOffice.org is fine, but whenever I try to print from
 Firefix, the output comes out in Landscape with the top part of the text
 chopped off. The Print Preview looks fine.
 
 Google hasn't helped much; about:config and filtering for print
 doesn't show anything obviously out of place (but I don't really
 understand most of the options here); some of the Googling indicates
 that Xprint is somehow involved (I don't really understand Xprint, it's
 purpose or it's manner of working), but when I run
 
   export $XPSERVERLIST=`/etc/init.d/xprint get_xpserverlist`
 
 like some Google pages indicate, I get this error:
 
   bash: export: `=:64': not a valid identifier
 
When you export, take the dollar sign out of the front.  If you leave in the
dollar sign, the shell substitutes the current value, then proceeds.

 When I run xplsprinters I get:
 
   xplsprinters:  no printers found for printer spec .

This is likely because your export statement above didn't work.  The
XPSERVERLIST environment variable is blank.
 
 I've uninstalled all my printers from the cups web interface
 (http://localhost:631) and added back in just the one (remote,
 networked) HP LJ 4200 printer with which I'm concerned. All the settings
 that I can find indicate it should be printing portrait, on Letter
 paper. A test print from the cups web interface prints properly.
 
 Any help would be appreciated.
 
 Thanks!
 
Justin Guerin



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: SATA disk smart or not?

2006-03-31 Thread Justin Guerin
On Friday 31 March 2006 10:00, Hugo Vanwoerkom wrote:
 Hi,

 I get contradictory messages about smart enabled for my SATA
 WD800JD-60LUA0. Running Sarge BTW.

 When I do hdparm -I /dev/sda, I get:

 =
 ATA device, with non-removable media
  Model Number:   ST380011A
  Serial Number:  4JV6GCK4
  Firmware Revision:  8.01
 ...
 Commands/features:
  Enabled Supported:
 *READ BUFFER cmd
 *WRITE BUFFER cmd
 *Host Protected Area feature set
 *Look-ahead
 *Write cache
 *Power Management feature set
  Security Mode feature set
 *SMART feature set
 *FLUSH CACHE EXT command
 *Mandatory FLUSH CACHE command
 *Device Configuration Overlay feature set
 *48-bit Address feature set
  SET MAX security extension
 *DOWNLOAD MICROCODE cmd
 *General Purpose Logging feature set
 *SMART self-test
 *SMART error logging
 =

 But when I do smartctl -a /dev/sda, I get:

 =

 Device: ATA  WDC WD800JD-60LU Version: 07.0
 Serial number:  WD-WMAMD4147178
 Device type: disk
 Local Time is: Fri Mar 31 10:44:33 2006 CST
 Device does not support SMART

 ==

 So what is it? Hdparm says yes and smartctl says no.

 Any thoughts? That drive is brand new. I would be suprised if it did not
 support smart, but what do I know.

 H

According to a comment from sensovision from WKey on page 
http://www.linuxjournal.com/article/6983, 
Unfortunately right now official libata library in kernel doesn't support 
ATA-passthrough calls and the only way to check SMART status right now is 
to use patches like this: 
http://www.kernel.org/pub/linux/kernel/people/jgarzik/libata/
Here is the quote from developers of smartmontools:
 Smartmontools should work correctly with SATA drives under both Linux 2.4 
and 2.6 kernels, if you use the standard IDE drivers in drivers/ide. If you 
use the new libata drivers, it won't work correctly because libata doesn't 
yet support the needed ATA-passthrough ioctl() calls. Jeff Garzik, the 
libata developer, says that this support will be added to libata in the 
future. When this happens, we'll add support to smartmontools for a new 
SATA/libata device type '-d sata'. Typically, to force an SATA disk to run 
using the standard (non-libata) drivers, you must use the BIOS to select 
legacy mode for the controller. If the IDE driver doesn't support your 
particular SATA controller, or the controller doesn't have a legacy 
interface, then only libata can be used. Unless the hard disk controller on 
the system motherboard is Intel, VIA or nVidia, standard IDE drivers may 
not work
Note: an unofficial patch to libata that allows smartmontools to be used 
with the standard '-d ata' device type was posted to the linux kernel 
mailing list at the end of August 2004. The patch is included in the 
libata-dev patchset that can be applied to a recent Linux kernel (= 
2.6.9). With a SATA disk driven by a libata driver, smartmontools can now 
be used by specifying both the device type 'ata' and the SCSI device 
corresponding to this disk, for example, smartctl -i -d ata /dev/sda. The 
patch is still under development and it is probably best to make sure that 
the disk is idle before trying smartmontools. 
http://smartmontools.sourceforge.net/#testinghelp
Hope this helps.

Note: comment copied verbatim.

The entire article is worth reading, but if you're attempting to use 
smartctl, you probably know what you're doing.

Justin


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: USB Card Reader.

2006-03-30 Thread Justin Guerin
On Thursday 30 March 2006 08:01, Wulfy wrote:
 Justin Guerin wrote:
 Wulfy wrote:
 Justin Guerin wrote:
[snip]
 
 mount: /dev/card_sm1 is not a valid block device
 
 when I try to mount it.
 
 Any ideas where I've gone wrong?  If you need any more info, just ask.
 
 What does an ls -l /dev/card_sm1 show?

 brw-rw  1 root floppy 8, 33 Mar 28 21:43 /dev/card_sm1

 Seems that udev thinks it's a floppy drive...?  Would that mean that the
 fstab entry below should have msdos (or whatever the format type is
 for floppy drives) rather than vfat?

No.  Udev put the device node in the floppy group, but udev correctly sees 
this as a SCSI disk device.  See the file Documentation/devices.txt of the 
kernel source package for how Linux uses the major and minor device numbers 
for device nodes.  According to that document:
8 block   SCSI disk devices (0-15)
  0 = /dev/sda  First SCSI disk whole disk
 16 = /dev/sdb  Second SCSI disk whole disk
 32 = /dev/sdc  Third SCSI disk whole disk
...
240 = /dev/sdp  Sixteenth SCSI disk whole disk

Partitions are handled in the same way as for IDE
disks (see major number 3) except that the limit on
partitions is 15.

So basically, you're looking at /dev/sdc1 (major = 8, minor = 33), the first 
partition on the third device.  That should be correct, unless the 
partition table of your USB card is non-standard.

Floppy disks can be formatted as msdos, vfat, or even ext2/3.  It just so 
happens that USB drives (and floppy disks) are formatted at the factory to 
vfat.

In any case, the partition contains information about how the device is 
formatted, so if you use the wrong type, you'll get an error that says 
something like wrong fs type, not invalid block device.

Considering the block device exists, the only reason I would think this 
comes up is if udev created the device node incorrectly, or if you can't 
read it.  I notice the permissions are 0660, group floppy.  Are you in the 
floppy group?  According to 
http://www.debian-administration.org/articles/308, the floppy group is used 
locally to give a set of users access to all sorts of (hot) removable 
devices, which includes USB sticks and card readers, but not CDs.

 What do you have in your udev rules that creates that node?

 Yewdales-lodge:~# cat /etc/udev/rules.d/local.rules
 BUS=scsi, SYSFS{model}=USB 2 HS-SM, NAME{all_partitions}=card_sm
 BUS=scsi, SYSFS{model}=USB 2 HS-CF, NAME{all_partitions}=card_cf
 BUS=scsi, SYSFS{model}=USB 2 HS-SD/MMC,
 NAME{all_partitions}=card_sd BUS=scsi, SYSFS{model}=USB 2 HS-MS,
 NAME{all_partitions}=card_ms

 (I set all of them up as I don't want to have to come back to this if I
 ever get other cards to read.)

This looks fine.

 What do you have in your fstab, or what was your mount command if you
  didn't have anything setup in fstab?

 #Card Reader nodes

 /dev/card_sd1   /media/sd   vfatrw,user,noauto  0   0
 /dev/card_cf1   /media/cf   vfatrw,user,noauto  0   0
 /dev/card_sm1   /media/sm   vfatrw,user,noauto  0   0
 /dev/card_ms1   /media/ms   vfatrw,user,noauto  0   0

This also looks fine.

 Also, what does the partition table on your card look like?  That is,
  are you sure the data resides on the first primary partition?

 Here I have no idea, really.  I've only ever done this with the serial
 connector and that was some time ago.

 Justin

 Thanks for all your help.  It's much appreciated...

You're welcome.
Justin


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: kernel upgrading problem

2006-03-29 Thread Justin Guerin
Hi S. M. Ibrahim,

You should reply to the list, to make sure others can help you.

Also, you should avoid top posting (putting your reply on top).  It's no big 
deal, but it makes it hard to follow for people who come in late.  I've 
edited your response appropriately.

On Wednesday 29 March 2006 06:42, S. M. Ibrahim (Lavlu) wrote:
 On 3/29/06, Justin Guerin [EMAIL PROTECTED] wrote:
  S. M. Ibrahim (Lavlu) wrote:
   After making dist upgrade from sarge to sid, when i tried to upgrade
   kernel 2.6.8-1-686 to 2.6.16-1-686 it's failed.
  
   Here is the output of apt
  
   tanha:/home/tania# apt-get install -f
   Reading package lists... Done
   Building dependency tree... Done
   0 upgraded, 0 newly installed, 0 to remove and 35 not upgraded.
   1 not fully installed or removed.
   Need to get 0B of archives.
   After unpacking 0B of additional disk space will be used.
   Setting up linux-image-2.6.16-1-686 (2.6.16-3) ...
   Running depmod.
   Finding valid ramdisk creators.
   Using mkinitramfs-kpkg to build the ramdisk.
   Other valid candidates: mkinitramfs-kpkg mkinitrd.yaird
   /usr/sbin/mkinitramfs-kpkg: line 55: supported_host_version: unbound
   variable
   mkinitramfs-kpkg failed to create initrd image.
   Using mkinitrd.yaird to build the ramdisk.
   Other valid candidates: mkinitramfs-kpkg mkinitrd.yaird
   yaird error: destination /boot/initrd.img-2.6.16-1-686.new already
 
  exists
 
   (fatal)
   mkinitrd.yaird failed to create initrd image.
   Failed to create initrd image.
   dpkg: error processing linux-image-2.6.16-1-686 (--configure):
subprocess post-installation script returned error exit status 9
   Errors were encountered while processing:
linux-image-2.6.16-1-686
   E: Sub-process /usr/bin/dpkg returned an error code (1)
 
  It seems to me that mkinitramfs-kpkg's failure to build the image is
  stopping mkinitrd.yaird from building the image.  What happens if you
  remove the initramfs-tools package?  Also, check that yaird is the latest
  version.  I had problems building the 2.6.16 image until I upgraded yaird
  to the latest available in sid.  I am only recommending you use yaird
  because A) it worked for me and B) it looks like yaird only fails because
  mkinitramfs-kpkg failed before it.
 
  Justin
 
 No i allready upgrade the yaird but nothing improved.

 Btw, after dooing some hashal i installed the kernel 2.6.15-1-686 still
 cann't upgrade to 2.6.16-1-686

What is hashal?  I've never heard that word.

If you could post your setup, we may be able to help.  What are the contents 
of /etc/fstab (local mounts are the only important ones).  How about the 
contents of /etc/yaird/Default.cfg and /etc/yaird/Templates.cfg?  Have either 
of them changed from the stock install?

Justin Guerin


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: help needed to setup logrotate

2006-03-29 Thread Justin Guerin
Hello Peter,

Peter Colton wrote:

 hello all,
 
I would be gratefull for some help in how do I manage the log out
put
 of a demon that I am running. The demon in question is Bttrack  T-0.3.13
 (BitTornado), running on a sarge install at home on a adsl line. The out
 put
 logs are directed to /var/log/bttrack.log  What I want to do with this log
 file is to have 7 days worth of out put that rotates from  bttrack.log.0
 to bttrack.log.6 and for the logs from bttrack.log.1 tbttrack.log.6 to be
 compressed to  .gz format. and the bttrack.log.0 to be uncompressed.
 
 I been trying to get syslog or logrotate to do the job but no luck yet. 
 In the dir /etc/logrotate.d I added the file bttrack and in that file I
 placed the lines :
 
 /var/log/bttrack.log {
 rotate 7
 daily
 monthly
  ^^^ I think your problem is here.  The monthly directive
overrides the daily directive.
 compress
 missingok
 }
 
  With the idea that this would do the job, but no luck again. I had
  similar
 attempts with configuring /etc/syslog.conf to manage the log out put of
 bttrack but again no joy there as well. I have been reading up on what I
 should be doing but I still can not see what the method is yet.
 
 So any positave adive well be more than well and any pointers to some
 howto links.
 
  Regards
 
 peter colton

Justin



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: apt-get install: x11-common vs xfree86-common: trying to overwrite /etc/X11/Xsession

2006-03-29 Thread Justin Guerin
will trillich wrote:

 we haven't figured out how to get past this apt-get snag:
 
 # apt-get install x11-common
 Reading package lists... Done
 Building dependency tree... Done
 Suggested packages:
   x-window-system-core x-window-system
 The following NEW packages will be installed:
   x11-common
 0 upgraded, 1 newly installed, 0 to remove and 22 not upgraded.
 18 not fully installed or removed.
 Need to get 0B/1124kB of archives.
 After unpacking 1647kB of additional disk space will be used.
 Preconfiguring packages ...
 (Reading database ... 42848 files and directories currently installed.)
 Unpacking x11-common (from .../x11-common_6.9.0.dfsg.1-4_all.deb) ...
 dpkg: error processing
 /var/cache/apt/archives/x11-common_6.9.0.dfsg.1-4_all.deb (--unpack):
  trying to overwrite `/etc/X11/Xsession', which is also in package
 xfree86-common
 dpkg-deb: subprocess paste killed by signal (Broken pipe)
 Errors were encountered while processing:
  /var/cache/apt/archives/x11-common_6.9.0.dfsg.1-4_all.deb
 E: Sub-process /usr/bin/dpkg returned an error code (1)
 
 # apt-get install xfree86-common
 Reading package lists... Done
 Building dependency tree... Done
 xfree86-common is already the newest version.
 You might want to run `apt-get -f install' to correct these:
 The following packages have unmet dependencies:
   libx11-6: Depends: x11-common ( 4.3.0) but it is not going to be
   installed xfree86-common: Depends: x11-common but it is not going to be
   installed
 E: Unmet dependencies. Try 'apt-get -f install' with no packages (or
 specify a solution).
 
 # apt-get -f install
 Reading package lists... Done
 Building dependency tree... Done
 Correcting dependencies... Done
 The following extra packages will be installed:
   x11-common
 Suggested packages:
   x-window-system-core x-window-system
 The following NEW packages will be installed:
   x11-common
 0 upgraded, 1 newly installed, 0 to remove and 22 not upgraded.
 18 not fully installed or removed.
 Need to get 0B/1124kB of archives.
 After unpacking 1647kB of additional disk space will be used.
 Do you want to continue [Y/n]?
 Preconfiguring packages ...
 (Reading database ... 42848 files and directories currently installed.)
 Unpacking x11-common (from .../x11-common_6.9.0.dfsg.1-4_all.deb) ...
 dpkg: error processing
 /var/cache/apt/archives/x11-common_6.9.0.dfsg.1-4_all.deb (--unpack):
  trying to overwrite `/etc/X11/Xsession', which is also in package
 xfree86-common
 dpkg-deb: subprocess paste killed by signal (Broken pipe)
 Errors were encountered while processing:
  /var/cache/apt/archives/x11-common_6.9.0.dfsg.1-4_all.deb
 E: Sub-process /usr/bin/dpkg returned an error code (1)
 
 ideas?
 
What happens if you try to remove xfree86-common?  If you can't just remove
it, what happens when you try to remove it and install x11-common at the
same time?

I don't know if you're on Sarge or something else, but if x11-common,
x-window-system-core and x-window-system have a higher priority, then a
dist-upgrade should be able to do the job.  However, that will try to
upgrade everything else, too.  I'd recommend using aptitude's interactive
mode.  Mark x11-common, x-window-system-core and x-window-system for
upgrade, and if it doesn't automatically mark xfree86-common for removal,
do it yourself.  Aptitude won't let you proceed with conflicts, and it will
suggest resolutions, so it should work.

Justin Guerin



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: kernel upgrading problem

2006-03-28 Thread Justin Guerin
S. M. Ibrahim (Lavlu) wrote:

 After making dist upgrade from sarge to sid, when i tried to upgrade
 kernel 2.6.8-1-686 to 2.6.16-1-686 it's failed.
 
 Here is the output of apt
 
 tanha:/home/tania# apt-get install -f
 Reading package lists... Done
 Building dependency tree... Done
 0 upgraded, 0 newly installed, 0 to remove and 35 not upgraded.
 1 not fully installed or removed.
 Need to get 0B of archives.
 After unpacking 0B of additional disk space will be used.
 Setting up linux-image-2.6.16-1-686 (2.6.16-3) ...
 Running depmod.
 Finding valid ramdisk creators.
 Using mkinitramfs-kpkg to build the ramdisk.
 Other valid candidates: mkinitramfs-kpkg mkinitrd.yaird
 /usr/sbin/mkinitramfs-kpkg: line 55: supported_host_version: unbound
 variable
 mkinitramfs-kpkg failed to create initrd image.
 Using mkinitrd.yaird to build the ramdisk.
 Other valid candidates: mkinitramfs-kpkg mkinitrd.yaird
 yaird error: destination /boot/initrd.img-2.6.16-1-686.new already exists
 (fatal)
 mkinitrd.yaird failed to create initrd image.
 Failed to create initrd image.
 dpkg: error processing linux-image-2.6.16-1-686 (--configure):
  subprocess post-installation script returned error exit status 9
 Errors were encountered while processing:
  linux-image-2.6.16-1-686
 E: Sub-process /usr/bin/dpkg returned an error code (1)
 
 
It seems to me that mkinitramfs-kpkg's failure to build the image is
stopping mkinitrd.yaird from building the image.  What happens if you
remove the initramfs-tools package?  Also, check that yaird is the latest
version.  I had problems building the 2.6.16 image until I upgraded yaird
to the latest available in sid.  I am only recommending you use yaird
because A) it worked for me and B) it looks like yaird only fails because
mkinitramfs-kpkg failed before it.

Justin



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Why does dpkg think my pentium computer is an AMD?

2006-03-27 Thread Justin Guerin
Peter Stoddard wrote:

 Thanks for the suggestions to my post:
 
[snip]
 Here are some of the replies I received and additional questions I have:
 
[snip]
amd64 just means it's a 64 bit x86 architecture, since AMD beat
 Intel to the punch.  So, for example, a Pentium 4 with EM64T would
 identify itself in the same way.  Do your processors contain EM64T
 extensions?
 
 I don't know.  How would I find that out?
Read the hardware manuals.  But as Steve stated, if you didn't have a 64 bit
processor, your 64 bit OS would not boot.
 
 If you've got a 32 bit subsystem, I would think this package would
 install. However, I've never messed with a 64 bit system, so I don't know
 exactly how it works.  In any case, first verify that you've got a 64 bit
 or 32 bit processor.
 
 How would I do that?  And if it is 64 bit, how do I determine whether I
 have a 32 bit subsystem?
Check your libc6 installation.  If you have the 32 bit package, odds are you
have a 32 bit subsystem.  If not, you'll have to set one up from scratch. 
To do that, see http://www.debian.org/ports/amd64/ and the links it
contains, specifically
https://alioth.debian.org/docman/view.php/30192/21/debian-amd64-howto.html#id271960
 
 You probably want to see if they have an amd64 package for pine
 available.
 
 I didn't see one.
 
 If not, your best bet may be to download the source and
 build it yourself.  Last time I installed pine on Solaris, that's what I
 did, and I don't recall that it was too difficult.
 
 Good idea, but I really want to get to the bottom of this 64 bit amd
 problem, because I know it will keep coming up.
 
 Thanks for the replies.
 
 Pete

Hope that helps,
Justin



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Fujitsu N3410 Hd won't mount

2006-03-25 Thread Justin Guerin
Damon Randel wrote:

 Fujitsu N3410 Hd won't boot linux.
 
 I think that linux is seeing my ultra ata 100 as a scsi or sata device and
 can't use it. what kind of drivers or modules do i need to make this work
 (gory details below) . I've installed a couple of different distros on
 desktops and have not had major problems. This is probably something
 obvious or easy but I am so new to this and my Google Fu is just up to
 this.
 
I don't think this is something obvious.  It's taken me a while to dig up
this information, so don't feel bad. :-)  Of course, don't feel bad at all
if this information doesn't help.  ;-)

 ==
 Basic Specs
 Fujitsu Lifebook N3410
 Intel Pentium m 740 1.73GHz
 915GM chipset
 512M Ram
 Graphics - mobile Intel 915GM/GMS 910GML
 HD - Toshiba MK8025GAS - Ultra DMA 100 - it is an ata not a sata drive
 according to specs @ toshiba
According to the information I found, you are correct.

 IDE/ATA controllers intel 82801FB/FBM Ultra ATA storage controllers
I believe this is a SATA controller chipset.  This is where your problem
begins.  Luckily, it can be solved, since SATA includes backward
compatibility with PATA.  You just have to enable it.

 Windows Xp Media Center (works with no problems)
 all of these specs came from windows hardware manager and toshiba
 
  opps all most forgot
 Here how i partitioned it - primary for linux drives so that windows can't
 see the drives and want to format them. fat 32 so that i can transfer
 stuff between win and linux
 
 80G
 part1: ntfs (shrank to 15G) - primary
 part2: reiser 15G - primary
 part3: swap 3 gig - primary
 part4: extended/logical fat32
 
 =
 Basic Scenario
 
 I installed debian (5 times same results) etch (and sarg) kernal 2.6.xx
 (and 2.6 generic  2.4) the net install for the latest driver and stuff. I
 boot up and install. I get to disk partitioning. The partitioning software
 recognizes the hard drive (even has the right model # and size) as sda not
 hda but it recognizes the partitions and lets me work with them. I
 partition and format. go through the entire install without any problems
 (that I am aware of). Install grub it recognizes win xp for dual boot.
 finish installation. Reboot and grub comes up no problem choose linux and
 starts booting (I think) it rattles off a bunch of ata errors (see below)
 and drops me to grub shell. I can't seem to do anything here that is
 effective to solve the problem.
 
 debian error messages
 These are the ones that i remember.they moved by very fast and look like
 the same error messages i got with kanotix as it booted.
 ata1:  Status=0x51 { driveready seekcomplete error }
 ata1:  error=0x40  { drivestatus error }
 endrequest: I/O error dev sda nsector 156301424
 
 =
 Attempted solutions
 Checked google  google/linux checked linux on laptops (only 1 n series
 and it was much older) looked at several other lifebooks did not see any
 with similar problem.
 Tried repartitioning - Checked partitions with Partition Magic, Partition
 Commander, Partition manager
 Checked hard drive with two different diagnostic packages - reported no
 problems
 Re- Installed again and again and again checking and repartitioning each
 time. Grub works can boot to windows or attempt the linux.
 Next tried several different live cd's (i'v been playing with these on and
 off for several months on my desktop computers) with different results.
 Here are the results.
 
 ==
 Kanotix
 2005-4, 2006 ce-bit rc 3 with many different boot options.
 Boots up and every thing seems to work (there are error messages during
 boot look below full details). Sound, excelant video, even the wirless and
 i have net access. The hard drive shows on the desktop as sda. can't
 access it. try launching qtparted and it goes into never never land (same
 thing happens in knoppix).and it seems to keep trying to acess the hard
 drive all the time and the 2nd set of errors on terminal 1 just keep
 scrolling on and on.
 
 1st set of errors
 ata1:  translated ata stat/err 0x51/04 to scsi sk/asc/ascq 0xb/00/00 -
 REPEATS 5 TIMES and then
 Buffer I/O errors on device sda logical block 0
 repeats the above 3 times
 
 continues to boot and the next set of errors
 ata1: port reset p_is 4001 is 1 pis 0 cmd 4017 tf 4d1 ss 113 se 0
 ata1: translated ata stat/err 0x51/04 to scsi sk/asc/ascq 0xb/00/00
 ata1: staus=0x51 { driveready seekcomplete error }
 ata1: error=0x40 { drivestatus error }
 endrequest: I/O error dev sda sector  (changes)
 buffer I/O error on device sda logical block xxx
 repeats the above endlessly.
 
 
 Knoppix
 4.0.2 2005 9-23  tried several different boot options
 Boots great. no error messages.sound video and wireless works. does not
 endlessly try to access 

Re: what kernel modules am I really using?

2006-03-25 Thread Justin Guerin
Javier Bernal wrote:

 Hello list,
 
 I want to know which of the modules that 'lsmod' shows I am currently
 using.
 
 lsmod shows 42 modules. Are all of them being used?
 
 Can I see which device is using which module?
 
 Thanks
 
Your best bet here is to install the kernel documentation package.  There,
you'll find a description of all the modules and what they're supposed to
do.  Many are support for specific hardware.  If you know you don't have
that hardware, you can remove that module.

Without consulting the documentation, you could always modprobe -r each
module that isn't referred to by another module.  If it removes, then it
wasn't being used.  If it is being used, you won't be able to remove it. 
Note, however, as Sumo points out, some modules may not be presently used,
but will be needed at specific times (especially the ppp modules).  So just
be aware that when programs that used to work fail for bizarre reasons, it
may just be that you removed a module it depends on.

Justin



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Etch and kvpnc

2006-03-25 Thread Justin Guerin
Grant Thomas wrote:

 I have need of connecting to a Cisco VPN server.
 On windows I can use the cisco VPN utility just fine; so it is not a
 connectivity issue.
 
 I have installed kvpnc and vpnc, so I should have all the packages I
 need. Also, I have transferred my *.pcf file from my windows box to my
 debian workstation.
 
 This is where the problem comes in. When I try to initiate a
 connection through kvpnc, the application crashes; at the bottom of
 this message is a backtrace from KDE's crash handler.
 
 I have tried running from the command line, but I run into a problem:
 vpnc asks for a group password. In my pcf file, the cleartext password
 is empty, but the encoded password is used.
 
 So, since I do not know the group password, this is what vpnc
 expresses on execution:
 vpnc output:
 ---
 vpnc: hash comparison failed: AUTHENTICATION_FAILED
 check group password!
 ---
 
 I guess My main question is if anyone knows of a way to use the
 encoded group password in vpnc.(option enc_GroupPwd in the pcf file)
 
 Any help is appreciated.
 Thanks very much.
 
 
 [snip backtrace]

In the manage profiles / certificate/PSK area, can you check the option
File contains PSK, then point to your pcf file?  Does that work?

Justin



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: USB Card Reader.

2006-03-19 Thread Justin Guerin
Wulfy wrote:

 Thanks to all who answered.  Much appreciated!
 
 Joachim Fahnenmüller wrote:
 
[snip]
 Progress!  well, some. 
 
 I did mkdir /media/card so that there'd be a directory there to attach
 to.
 
 I tried each of the possibilities:
 
 mount -t vfat /dev/sd[a-d] /media/card
 
 Mount told me that a, b and d had no media but c gave me an error message:
 
 Yewdales-lodge:~# mount -t vfat /dev/sdc /media/card
 mount: wrong fs type, bad option, bad superblock on /dev/sdc,
missing codepage or other error
In some cases useful info is found in syslog - try
dmesg | tail  or so
 
 I looked at dmesg | tail:
 
 scsi2: ERROR on channel 0, id 0, lun 2, CDB: Read (10) 00 00 00 00 06
 00 00 02 00
 Current sdc: sense key Medium Error
 Additional sense: Unrecovered read error
 end_request: I/O error, dev sdc, sector 6
 Buffer I/O error on device sdc, logical block 0
  unable to read partition table
 FAT: bogus number of reserved sectors
 VFS: Can't find a valid FAT filesystem on dev sdc.
 FAT: bogus number of reserved sectors
 VFS: Can't find a valid FAT filesystem on dev sdc.
 
You can't mount /dev/sdc, because it represents the entire disk.  You want
to mount the partition on the disk, which is going to be /dev/sdc[1-16]. 
The above error message at least shows you that your card is dev/sdc.

 I also tried Duncan's suggestion of mounting /dev/sdc1.
 
 Yewdales-lodge:~# mount -t vfat /dev/sdc1 /media/card
 mount: special device /dev/sdc1 does not exist
 
This is what you need to do, but it failed because udev didn't create the
special device node.  You can either create it manually with makedev, and
have to create it manually every time, or tell udev to create the
individual partition nodes when the device nodes for the reader are
created.

 Two things come to mind.  Either the card uses some other fs type or
 I've lost all the pictures on it  :(  Of course, I'm not sure what
 the dmsg error message means precisely, but unable to read partition
 table sounds bad.  That doesn't depend on the fs, does it?
 
I doubt it uses some other file system, as vfat is the defacto standard. 
You've just got to have the right device node to mount it.

Justin



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: USB Card Reader.

2006-03-18 Thread Justin Guerin
Wulfy wrote:

 My camera usually links to the computer through the serial port.  As I
 have my modem in there, it's a major pain to get the camera connected.
 So I decided to get a USB card reader to solve the problem.
 
 I plugged it into one of my USB ports and it's recognised:
 
 Relevant bit of syslog:
 
[snip syslog]
 
 [EMAIL PROTECTED]:~$ lsusb
 Bus 003 Device 005: ID 0424:20fc Standard Microsystems Corp. 6-in-1 Card
 Reader
 Bus 003 Device 001: ID :
 Bus 002 Device 001: ID :
 Bus 001 Device 001: ID :
 
 Linux Yewdales-lodge 2.6.8-2-686 #1 Tue Aug 16 13:22:48 UTC 2005 i686
 GNU/Linux
 
 I have Sarge installed.
 
 I can't figure out how to mount my camera card.  I plug it in and the
 reader acknowledges it but nothing seems to work when I try and mount.
 So I googled and went to the site of the manufacturer Vivanco.
 Progress...  they say it needs a driver. (Does it? Syslog says /dev/sd*
 are being created.)  MAC OSX, MSWindows in various flavours...  no Linux
 driver.  No mention of Linux...  :(
 
 Am I missing something very obvious or is there something like
 ndiswrapper that would work with the driver?  I thought that would until
 I read the man page...  :(
 
 If you need anything more info, just ask...  not sure what you'd need.
 
Some USB card readers in Linux don't create hotplug events when cards are
plugged in or pulled out, but only when the reader itself is plugged in or
out.  If one is using udev (and based upon your syslog, you are), then you
need to create a udev rule that creates all the possible device nodes when
the reader is plugged in, so they will be available when the card is
plugged in.

See article 126 [0] in debian-administration.org for detailed instructions
on how to set this up.  Also read the comments, as the first commenter
seems to have exactly your situation.  And if you're interested, article
127 [1] has instructions on how to use automount to automatically mount the
partitions when you try to access them.  I found both to be helpful and
easy to follow.

[0]: http://www.debian-administration.org/articles/126
[1]: http://www.debian-administration.org/articles/127

Justin


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: uninstall desktop environment

2006-03-18 Thread Justin Guerin
Jude DaShiell wrote:

 is there a quick way to clear the whole desktop environment from a debian
 system?  The upgrade from stable to testing got several broken
 dependencies and apt-get -f install is unable to cope anymore.  A broken
 pipe happened when xfree86-common tried to install and Xsession couldn't
 be overwritten.

If you used aptitude to install the desktop environment, then selecting it
for removal should remove all the packages automatically installed due to
dependencies.  If you didn't, aptitude can still help.  Enter the
interactive mode by typing just 'aptitude' with no arguments.  Go to the
package you apt-get installed (whether it be gnome-desktop-environment or
kde or whatever), and open up the package description by hitting enter. 
All of the dependencies will be listed.  Simply mark them for removal (or
purge).  For each package, check that it's a metapackage or desktop package
that you are really removing, because if you dig down deep enough in the
dependencies, you'll get to essentials like libc6.

Alternately, you could use dpkg --get-selections  my_selections.txt, then
edit my_selections.txt, changing install to deinstall for each package you
want to get rid of.  Then, run dpkg --set-selections  my_selections.txt. 
Once your selections are set, run dpkg -a.

Someone else on this list may know of a better way.

Hope that helps,
Justin



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: ndiswrapper for the best distro?

2006-03-18 Thread Justin Guerin
Doofus wrote:

 I intended to give this a try to see if I can get a Netgear WG511v2
 wireless LAN PC Card working.
 
 After downloading the small tar ball
 (http://sourceforge.net/projects/ndiswrapper) I noticed a top level
 debian directory. Highly promising you might think, but unless I'm
 missing something obvious (certainly a possibility) there's not one jot
 of information on the specifics of this directory or how to use it with
 (or in lieu of) the usual build instructions, either in the notes
 included with the tarball, or anywhere on the sourceforge site. Pretty
 poor really, I think.
 
The debian/ directory contains rules used for building a debian package. 
Check out chapter 3 of the debian programmer's manual [0] for information
on how to use it.

You may also find chapter 6 of the apt howto to be helpful. [1]

 They also say they have a ready to go .deb, but the link returns a 404
 file not found. Pretty poor really, I think.
 
 I realise I have no right to expect superlative code from well meaning
 folks who do this development for the love of it, but as an advocate of
 if a job's worth doing it's worth doing properly, I'm wondering if I
 shouldn't ditch the whole idea and buy a natively supported card. On the
 other hand, someone here whith more nous than me may understand what's
 what here and help me out?

Natively supported cards can be difficult to find due to vendors changing
chipsets without changing card versions.

Hope that helps,
Justin

[0]: http://www.debian.org/doc/manuals/programmer/ch-preparation.html
[1]: http://www.debian.org/doc/manuals/apt-howto/ch-sourcehandling.en.html



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Selective remote mail deletion

2006-03-18 Thread Justin Guerin
B.Hoffmann wrote:

 On Fri, 2006-03-17 at 16:52 -0600, Ron Johnson wrote:
 
 Depending on how comfortable you are with the command line, you
 could run this program:
 
 $ python popdel.py your.ISP's.pop your_username
 
 It asks you for a password, then displays From, Subj  Date and
 asks you if you want to delete it.
 
 
 Hi Ron, I am getting following error running it:
 
 
 File popdel.py, line 18
 from_pattern = re.compile(^from\:)
^
 SyntaxError: invalid syntax
 
 
 Any ideas?
 
 
 Kind Regards,
 B.Hoffmann
 
 Linux User #398054

I don't see that anyone told you what's wrong with the script.  Add a
closing parenthesis to the line above, line 17, that currently looks like:
M.pass_(getpass.getpass('POP password: ')
to make it look like this:
M.pass_(getpass.getpass('POP password: '))

Justin



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Problem with 'esd' and changing users while using Gnome

2006-03-18 Thread Justin Guerin
Dave Witbrodt wrote:

 Tonight I logged out from one user account and logged into another.
 When Gnome came up, there was no sound.  I checked the volume, read
 some documentation, and eventually checked ~/.xsession-errors.  I
 discovered that I was getting errors with the 'esd' sound daemon.
 
 After some Googling, I found that others (on various distributions of
 Linux using Gnome) have experienced the same problem:  'esd' is
 supposed to be killed when a user logs out, but if it isn't killed
 then the next user trying to log in is prevented from using sound
 because of permissions on a temporary 'esd' socket not being reset.
 
 Have some of you had the same problem?  Is there a cure for it, or is
 it a randomly occurring thing that is a kind of annoyance?
 
 
 Dave W.

This is a typical problem that tons of users have experienced.  Esd may
support releasing the sound device node after a short timeout.  Check its
manual pages.  

Alternately, if your sound card doesn't support multiple sources at once,
and you're using alsa, you can set up alsa to software mix for you,
allowing each user to grab and alsa device node, and use it with
impunity.  Check out the alsa web site for their asounrc documentation.
http://www.alsa-project.org/alsa-doc/doc-php/asoundrc.php

Hope that helps,
Justin



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Strange top output

2006-03-18 Thread Justin Guerin
Simon wrote:

 Hi There,
 
 We are seeing a large spike in load average on our web server (from
 0.xx to 10-15.xx) but there does not seem to be anything hogging the
 CPUs or anything... Am i missing something here? What can i do to
 check other issues.
 
 Thanks
 
 Simon
 
 [snip top output]

Check for processes in the uninterruptible sleep mode (D in ps).  Those
processes contribute a full point to your load average, for each process in
wait.  That is, if you have 15 processes in the D state, your load average
will be 15.  This state is normally caused by a slow i/o process.  There's
nothing you can do about it, unless you know which i/o is slow, and can
speed it up.

Justin



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: getting ppp working

2006-03-12 Thread Justin Guerin
Marty Landman wrote:

 Is there a recommended tutorial for getting a PPP connection working? I'm
 using the woody mini-iso and having trouble getting things right.
 
 Marty
 
 
 Marty Landman, Face 2 Interface Inc. 845-679-9387
 Web Installed Formmail: http://face2interface.com/formINSTal

Have you used pppconfig?  It should be apt-get installable.

If that doesn't give you enough information / understanding, the linux
documentation project has a HOWTO[0] that may prove insightful.

Justin Guerin

[0]: http://www.linux.org/docs/ldp/howto/PPP-HOWTO/index.html



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: iptables wrong version?

2006-03-12 Thread Justin Guerin
Philip Mak wrote:

 I am trying to ban an IP address from my server (*.*.*.* is a real
 IP):
 
 [EMAIL PROTECTED] root]# ipchains -A INPUT --source *.*.*.* -p tcp -j DROP
 ipchains: Protocol not available
 [EMAIL PROTECTED] root]# iptables -A INPUT --source *.*.*.* -p tcp -j DROP
 iptables v1.2.11: can't initialize iptables table `filter': Module is
 wrong version Perhaps iptables or your kernel needs to be upgraded.

This works for me, if I substitute 10.1.2.3 for your *s.

 [EMAIL PROTECTED] root]# uname -a
 Linux naga.aaanime.net 2.6.8-11-amd64-k8 #1 Sun Oct 2 21:26:54 UTC 2005
 x86_64 GNU/Linux

for comparison, I'm running 2.6.15
[EMAIL PROTECTED]:~$ uname -a
Linux jguerin-lt 2.6.15-1-686 #1 Fri Feb 10 15:49:07 UTC 2006 i686 GNU/Linux

 [EMAIL PROTECTED] root]# apt-get install iptables
 Reading Package Lists... Done
 Building Dependency Tree... Done
 iptables is already the newest version.
 0 upgraded, 0 newly installed, 0 to remove and 7 not upgraded.
 
 Does anyone know what I'm doing wrong?

Which modules relating to iptables do you have loaded?  Also, you're sure
the module is from the kernel currently running?  I.e. if you've upgraded
from one version of 2.6.8 to another, but not yet rebooted, you could be
getting module errors.  I would figure they wouldn't install, but I've
never actually tried it to see what happens, so I don't know.

You might try reinstalling your kernel image.  Sometimes, package
installations can get messed up for unknown reasons.

Hope that helps,
Justin



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Sarge nits: console resized, kernel vga parameter over-ridden, and dead keys.

2006-03-12 Thread Justin Guerin
s. keeling wrote:

 Hi.  I have three niggling little problems I'm hoping someone can help
 me with.  I'm running stock Sarge on a Dell Inspiron 4000 with
 xserver-xfree86 (ATI Rage Mobility M3 AGP 2x (rev 02)), stock kernel
 2.6.8-2-686.
 
   - At boot, my console window is resized down to a smaller than
 full-screen box inside a black border.  How can I eliminate that?
 Is this vesafb related, and what's the simplest solution for
 fixing or disabling it?  Once X starts, it (correctly) takes up
 the full screen again, until I kill X.
 
I believe this is due to your vga=x parameter.  More on that below.

   - Part way through the boot sequence, something in
 /etc/init.d/console.sh (I assume) overrides my kernel command line
 parameter vga=2.  How can I disable this?
 
I'm unfamiliar with the vga=2 mode.  What is it supposed to be?  I'm
familiar with the following modes, garnered from [0]:
| 640x480  800x600  1024x768 1280x1024
+-
256 |  0x3010x3030x3050x307   
32k |  0x3100x3130x3160x319   
64k |  0x3110x3140x3170x31A   
16M |  0x3120x3150x3180x31B   

   - My p and P keypresses just blink at me in mysql-client.  I
 have to use CTRL-v to make it accept these.  The command line
 mysql-client is the only environment I've found which exhibits
 this behaviour.
 
Sorry, I can't help here.

 None of these problems existed when I was running Woody.  The X FAQ
 mentioned in /var/log/XFree86.0.log has nothing on these that I can
 find, and I've so far failed to find mention of them in the list
 archives.  Suggestions appreciated.
 
 Thanks.
 
 
Justin
[0]: http://lists.debian.org/debian-laptop/2003/05/msg00137.html



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Sarge nits: console resized, kernel vga parameter over-ridden, and dead keys.

2006-03-12 Thread Justin Guerin
s. keeling wrote:

 Incoming from Justin Guerin:
 s. keeling wrote:
 
[snip]
 I believe this is due to your vga=x parameter.  More on that below.
 
- Part way through the boot sequence, something in
  /etc/init.d/console.sh (I assume) overrides my kernel command line
  parameter vga=2.  How can I disable this?
 
 I first saw this (and learned to loath it) on SuSE I think.  Shouldn't
 there be some parameter in /etc/default that tells console.sh NOT to
 fsck with my kernel command line?!?  Why do I have a framebuffered
 console?!?  I never asked for that!
 
I thought that putting vga=anything resulted in framebuffered console.  I
thought if you didn't want to use fbcon, you should leave the vga directive
out.  Am I wrong?  I honestly have no idea, and want to educate myself.

 I'm unfamiliar with the vga=2 mode.  What is it supposed to be?  I'm
 
 With traditional, non-framebuffered, X vga=N tells the kernel to
 display 80x25, or some variation thereof, like 40 lines,  etc.  Try
 vga=ask.
 
 Damn.  Framebuffer was a brilliant hack that made X usable on
 unsupported hardware.  Now framebuffer is invoked by default,
 whether it's needed or not?  How do I tell it to use traditional,
 non-framebuffered console?  I neither need nor want framebuffered
 ANYTHING.
 
 Thanks Justin.
 
 
If completely cutting out vga=2 from your kernel command line doesn't get
rid of the framebuffer, what about moving console.sh out of the way?  I
don't have that file, and I can't find what package does.

Sorry I can't be more help.

Justin



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: GXine crashes in fullscreen mode

2006-03-12 Thread Justin Guerin
posted  mailed

Aravind. R wrote:

 Hello
   I am using Gxine version 0.5.4 It crashes when I try to view in
 fullscreen mode. This is the message I get as soon as I open gxine:
 
 lirc: lirc_init failed. Make sure that you have lircd running
 lirc: and that you have the permissions to connect to the socket
 

This has to do with infra-red remote controls.  If you don't have one, then
don't worry about this error message.

 And this is what I get when I try full screen:
 
 The program 'gxine' received an X Window System error.
 This probably reflects a bug in the program.
 The error was 'BadMatch (invalid parameter attributes)'.
   (Details: serial 327 error_code 8 request_code 42 minor_code 0)
   (Note to programmers: normally, X errors are reported asynchronously;
that is, you will receive the error a while after causing it.
To debug your program, run it with the --sync command line
option to change this behavior. You can then get a meaningful
backtrace from your debugger if you break on the gdk_x_error()
function.)
 
 However, I have no problem when I stick to the windowed mode.
 I am not on the list, please CC the replies.
 Thanks

I don't have any issues playing movies full screen in gxine 0.5.4.  I'm
using sid, how about you?  Could you post the version of all of gxine's
dependencies, along with your X setup (xorg or xfree86, version, video
hardware, X config file), and maybe we can help.

Justin



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Re: udev doesn't creat /dev/audio

2006-03-11 Thread Justin Guerin
Olafur Jens Sigurdsson wrote:

 Þann 2006-03-11, 04:47:40 (-0800) skrifaði belahcene abdelkader:
[snip]
 I dont know when the change from .o to .ko was made, maby that is
 confusing your dpkg -S search.
 
.o was used in 2.4.x kernels, and .ko in 2.6.x.

Justin



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: dpkg, apt-get, aptitude, etc. don't work - relocation error.

2006-03-11 Thread Justin Guerin
Mr. Jan Hearthstone wrote:

 Mr. Jan Hearthstone wrote:
 
 I cannot use dpkg, wajig, apt-get--I always get a
 message:
 /usr/bin/perl: relocation error:
 /lib/libpthread.so.0: symbol__libc_stack_end,
 version
 GLIB_2.1 not defined in file ld-linux.so2 with link
 time reference.
 
 I run Linux version 2.4.27-2-586tsc (Debian
 testing).
 
 What is a newbie to do?
 Thanks, Hearthstone.
 
 
 It seems like either your installation of libc6 is
 broken, or your installed
 version of perl doesn't match your installed version
 of libc6.  How did
 your machine get broken like this?  That is, what's
 the last change you
 made before apt-get et. al. broke?
 
 Justin
 
 I cannot recall what I have done, but to my knowledge
 it happened during one of the routine aptitude
 dist-upgrade.
 
 
 Hearthstone:
 I would gladly reinstall, but I have to salvage some
 large files. Unfortunately no browsers work, nor does
 gftp. Lynx does work, but http://beta.yousendit.com
 that I would use to upload my files doesn't work in
 lynx, perhaps due to the same relocation error
 problem (?).
 Could I fix some links? Which ones? How?
 Thanks, Hearthstone.
 
 
If you have a CD drive you can boot from, I'd recommend getting a bootable
linux distribution, such as Knoppix, and using that to transfer your
personal files.  If you don't have a CD drive, you might be able to boot
from USB.  If not, you can boot from floppy, if you have one of those.

In order to fix your system, I think you'll have to use a chroot from a
known good system, or perhaps use a system like Knoppix to manually fix the
problem, if the files are there.  One thing that may make things easier is
to copy static binaries of the programs you need (for example, perl) to
your system.  You only need enough to fix your glibc problems, then the
shared library binaries you've already got can start working again.  I'm
not sure if static binaries for testing are available.  You may have to use
Knoppix to download the source and build it yourself.  Make sure you get
the proper version, though.

Hope that helps,
Justin



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: ls -l gives ?--------- and root has no permission

2006-03-10 Thread Justin Guerin
hanasaki wrote:

 Below is the output from root doing an ls -l of a specific file and of
 the directory... Anyone ever seen this before?  a rebuild tree from a
 booted knoppix disk fixed things for awhile and now this is showing up
 again.  thanks
 
 uname = 2.6.15.4
 partition is reiser3.6
 debian etch
 
 
 ls: /usr/share/locale/fr/LC_MESSAGES/gnome-utils-2.0.mo: Permission denied
 
 
 -rw-r--r-- 1 root root  31475 2006-01-12 17:38 totem.mo
 ?- ? ?? ??
 /usr/share/locale/fr/LC_MESSAGES/gnome-session-2.0.mo
 ?- ? ?? ??
 /usr/share/locale/fr/LC_MESSAGES/gnome-utils-2.0.mo
 ?- ? ?? ??
 /usr/share/locale/fr/LC_MESSAGES/libgksuui1.0.mo
 -rw-r--r-- 1 root root  30600 2006-01-16 16:32 vorbis-tools.mo

Some 2.6.15 kernels had problems with Reiserfs.  The error had to do with
attributes.  Search the archives for the solution.  You'll also probably
want to update your kernel.  I'm on 2.6.15-6, on Reiserfs, and I haven't
had any problems.

Justin



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Release cycle

2006-03-10 Thread Justin Guerin
David Berg wrote:

 I don't know if there's a good way to ask this question, and am very
 tempted to just hit cancel now...
 
 I'm curious to know when etch might freeze.  Now, before you all jump
 on me and tell me its ready when its ready, let me clarify.  I'm not
 looking for a date, or a month, or even a year necessarily as I
 realize they would all be guesses.  Perhaps I could get the best
 answer by making this my question:
 
 Has anyone heard/read anything that MIGHT indicate that etch MIGHT go
 stable faster than the 2-3 years that it took for Sarge, and Woody to
 go stable?
 
 Please note, that I'm looking for information.  I am quite aware that
 etch will be ready when it's ready and that its a volunteer
 organization and things take time.  All I want to know is if there is
 any reason to think that etch might be different than previous
 releases.
 
 If you still feel the need to flame me, fire away.  I'll simply read
 then file in /dev/null.
 
 
 --Dave

I know this is old, but it's the most up to date information I could find. 
It's an email from Steve Langasek about the plans for etch.
http://lists.debian.org/debian-devel-announce/2005/10/msg4.html

It suggests a freeze beginning in July, with a release at the end of this
year.  However, given Debian's policy of it's ready when it's ready, I
think a better way to get a grasp on the release timeframe is to look at
the feature list for etch, and compare it to the current testing snapshot.

Unfortunately, details on what exactly should be in etch are also hard to
find, but in the same email, Steve lays down some of the more major goals:
 - gcc 3.3 - 4.0 toolchain transition
 - xfree86 - xorg transition
 - amd64 as an official arch (and the mirror split as a pre-condition
   for that)
 - sorting out docs-in-main vs. the DFSG
 - sorting out non-free firmware
 - secure apt

As far as I know, the first 2 are done in sid (and possibly etch, though I
don't know because I don't have an etch machine).  I think secure apt is
also done, but the rest, I think, are still ongoing.

I know that there have been a couple of C++ ABI transitions, but I'm not
currently aware of any more that are pending, so that's good.

I'm sure others can fill in a lot more blanks than me.

Hope that helps,
Justin Guerin



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: mkinitrd problems

2006-03-09 Thread Justin Guerin
fai amd wrote:

 Hi
 
 i am trying to create a initrd image that i can use for nfsboot for a
 fai process. i get this error and there is no initrd*img file created
 in the current directory. i am kind of clueless as to why it is
 happening. i would appreciate some help
 
 modules below that the script complains of are compiled into the
 kernel.
 
 uname -a
 Linux fai-amd64 2.6.15modules #1 Tue Mar 7 16:19:18 EST 2006 x86_64
 GNU/Linux
 
 
 #  mkinitrd -o ./initrd-2.6.15modules.img 21 | tee log
 /usr/sbin/mkinitrd: add_modules_dep_2_5: modprobe failed
 FATAL: Module sg not found.
 FATAL: Module mptspi not found.
 FATAL: Module sd_mod not found.
 WARNING: This failure MAY indicate that your kernel will not boot!
 but it can also be triggered by needed modules being compiled into
 the kernel.
[big snip]

What modules are listed in your mkinitrd config file?  Look in the
folder /etc/mkinitrd.  If you compiled sg, mtpspi and sd_mod into your
kernel, then the modules can't be found.  So remove the reference from the
mkinitrd spec, and the image should build just fine.

Justin Guerin



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: KDevelop crashing

2006-03-09 Thread Justin Guerin
David Bruce wrote:

 Over the last few days, KDevelop has started crashing a few seconds after
 I
 try to open it.  I have been using it for months to work on tuxmath.  I am
 running Sid with everything apt-get dist-upgraded to current versions.
 KDevelop is at version 4:3.3.0-2.
 
 Until today, I could get KDevelop to start successfully by trying three or
 four times, but now I cannot get it to work.  Below is the output from
 starting KDevelop on the command line via Konsole:
 
 [EMAIL PROTECTED]:~$ kdevelop3
 QLayout unnamed added to IndexView unnamed, which already has a layout
 ERROR: syntax error
 ERROR: syntax error
 QObject::connect: No such slot ClassViewPart::removeNamespace(const
 QString)
 QObject::connect:  (sender name:   'ClassViewWidget')
 QObject::connect:  (receiver name: 'ClassViewPart')
 ERROR: syntax error
 ERROR: syntax error
 QObject::connect: No such slot subversionPart::slotActionAddToIgnoreList()
 QObject::connect:  (sender name:   'subversion_ignore')
 QObject::connect:  (receiver name: 'Subversion')
 QObject::connect: No such slot
 subversionPart::slotActionRemoveFromIgnoreList()
 QObject::connect:  (sender name:   'subversion_donot_ignore')
 QObject::connect:  (receiver name: 'Subversion')
 QObject::connect: No such slot
 subversionPart::slotStopButtonClicked(KDevPlugin*)
 QObject::connect:  (sender name:   'unnamed')
 QObject::connect:  (receiver name: 'Subversion')
 i = 4, currDir = , currFile = src
 i = 5, currDir = , currFile =
 ASSERT: part  parent
 in /tmp/buildd/kdevelop3-3.3.0/./parts/fileview/partwidget.cpp (40)
 ERROR: syntax error
 ERROR: syntax error
 ERROR: syntax error
 ERROR: syntax error
 ERROR: syntax error
 ERROR: syntax error
 ERROR: syntax error
 ERROR: syntax error
 ERROR: syntax error
 ERROR: syntax error
 ERROR: syntax error
 i = 4, currDir = , currFile = src
 i = 5, currDir = , currFile =
 i = 4, currDir = , currFile = src
 i = 5, currDir = , currFile =
 i = 4, currDir = , currFile = src
 i = 5, currDir = , currFile =
 i = 4, currDir = , currFile = src
 i = 5, currDir = , currFile =
 i = 4, currDir = , currFile = src
 i = 5, currDir = , currFile =
 i = 4, currDir = , currFile = src
 i = 5, currDir = , currFile =
 i = 4, currDir = , currFile = src
 i = 5, currDir = , currFile =
 i = 4, currDir = , currFile = src
 i = 5, currDir = , currFile =
 i = 4, currDir = , currFile = src
 i = 5, currDir = , currFile =
 i = 4, currDir = , currFile = src
 i = 5, currDir = , currFile =
 i = 4, currDir = , currFile = src
 i = 5, currDir = , currFile =
 i = 4, currDir = , currFile = src
 i = 5, currDir = , currFile =
 i = 4, currDir = , currFile = src
 i = 5, currDir = , currFile =
 i = 4, currDir = , currFile = src
 i = 5, currDir = , currFile =
 i = 4, currDir = , currFile = src
 i = 5, currDir = , currFile =
 i = 4, currDir = , currFile = src
 i = 5, currDir = , currFile =
 KCrash: Application 'kdevelop3' crashing...
 [EMAIL PROTECTED]:~$
 
 This is the backtrace from the KDE crash handler (with a lot of the no
 debugging symbols found cut out):
 
 (no debugging symbols found)
 Using host libthread_db library /lib/tls/libthread_db.so.1.
 (no debugging symbols found)
 
 (no debugging symbols found)
 [Thread debugging using libthread_db enabled]
 [New Thread -1241491776 (LWP 7453)]
 [New Thread -1253233744 (LWP 7456)]
 (no debugging symbols found)
 
 (no debugging symbols found)
 [KCrash handler]
 #5  0xb6753e3a in QShared::ref () from /usr/lib/libqt-mt.so.3
 #6  0xb6b46379 in QString::operator= () from /usr/lib/libqt-mt.so.3
 #7  0xb6e83b8a in KURL::operator= () from /usr/lib/libkdecore.so.4
 #8  0xb6eccfaf in KURL::KURL () from /usr/lib/libkdecore.so.4
 #9  0xb757532b in KFileTreeBranch::parentKFTVItem () from
 #/usr/lib/libkio.so.4 10 0xb75bb49f in KFileTreeBranch::addItems () from
 #/usr/lib/libkio.so.4 11 0xb75bbf7d in KFileTreeBranch::qt_invoke () from
 #/usr/lib/libkio.so.4 12 0xb682d7ff in QObject::activate_signal () from
 #/usr/lib/libqt-mt.so.3 13 0xb74b2f15 in KDirLister::newItems () from
 #/usr/lib/libkio.so.4 14 0xb74b329b in KDirLister::emitItems () from
 #/usr/lib/libkio.so.4 15 0xb751c5bb in KDirListerCache::slotEntries ()
 #from /usr/lib/libkio.so.4 16 0xb751ca1a in KDirListerCache::qt_invoke ()
 #from /usr/lib/libkio.so.4 17 0xb682d7ff in QObject::activate_signal ()
 #from /usr/lib/libqt-mt.so.3 18 0xb742bc4c in KIO::ListJob::entries ()
 #from /usr/lib/libkio.so.4 19 0xb7495c93 in KIO::ListJob::slotListEntries
 #() from /usr/lib/libkio.so.4 20 0xb7495f10 in KIO::ListJob::qt_invoke ()
 #from /usr/lib/libkio.so.4 21 0xb682d7ff in QObject::activate_signal ()
 #from /usr/lib/libqt-mt.so.3 22 0xb7428425 in
 #KIO::SlaveInterface::listEntries ()
from /usr/lib/libkio.so.4
 #23 0xb7495010 in KIO::SlaveInterface::dispatch () from
 #/usr/lib/libkio.so.4 24 0xb743c6f7 in KIO::SlaveInterface::dispatch ()
 #from /usr/lib/libkio.so.4 25 0xb744160b in KIO::Slave::gotInput () from
 #/usr/lib/libkio.so.4 26 0xb74417bb in KIO::Slave::qt_invoke () from
 

Re: How to unregister gxine to play Real files in RealPlayer

2006-03-09 Thread Justin Guerin
B.Hoffmann wrote:

 Hi everybody,
 
 I've Googled for this but came up with nothing helpful - sorry if it's
 been answered before!
 
 Problem:
 I have until recently played real media files with gxine, which by the
 way did not play files embedded in the web page but always started an
 external instance. No problem.
 
 Today installed RealPlayer10GOLD because I thought this might give a
 superior picture and better (louder) sound. This is true. I also hoped
 it would play embedded in page when specified to do so.
 Another problem encountered was that gxine refused to play real video on
 the BBC site although it worked fine on other sites.
 
 Unfortunately I have no idea how to disassociate gxine and associate
 RealPlayer with rm files.
 
 Anyone sharing how to do this - thanks in advance.
 
 Kind Regards,
 B.Hoffmann
 
 
It depends on which desktop environment you're using.  If you're using KDE,
open up the control center, go to KDE Components, File Associations, and
look for the rm mime type.  If you're using Gnome, there's probably some
configuration tool that does that (sorry, but I don't use Gnome, so I don't
know).  If you're using Fluxbox, BlackBox, or some other, then I'm also at
a loss.

Hope that helps,
Justin



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Problem with pc, kernel oops, applications crashed

2006-03-09 Thread Justin Guerin
Michael Ott wrote:

 Hello!
 
 I have great problems with my box. Every ten minutes crashed an
 application and sometimes the hole box.
 
 It is an athlon 2200
 Using stable with 2.6.8 and 2.4.27.
 
 Memtest run the hole night and show no error.
 
 Here snippet of lspci:
 :00:00.0 Host bridge: VIA Technologies, Inc. VT8375 [KM266/KL266] Host
 Bridge
 :00:01.0 PCI bridge: VIA Technologies, Inc. VT8633 [Apollo Pro266 AGP]
 :00:11.0 ISA bridge: VIA Technologies, Inc. VT8233A ISA Bridge
 :00:11.1 IDE interface: VIA Technologies, Inc.
 VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06)
 :00:11.2 USB Controller: VIA Technologies, Inc. VT82x UHCI USB 1.1
 Controller (rev 23)
 :00:11.3 USB Controller: VIA Technologies, Inc. VT82x UHCI USB 1.1
 Controller (rev 23)
 :00:11.5 Multimedia audio controller: VIA Technologies, Inc.
 VT8233/A/8235/8237 AC97 Audio Controller (rev 40)
 :00:13.0 Ethernet controller: Realtek Semiconductor Co., Ltd.
 RTL-8139/8139C/8139C+ (rev 10)
 :01:00.0 VGA compatible controller: ATI Technologies Inc Radeon R200
 QL
 [Radeon 8500 LE]
 
 and my logfiles:
 Feb 23 09:54:51 debian kernel: Unable to handle kernel paging request at
 virtual address fff598d7
 Feb 23 09:54:51 debian kernel:  printing eip:
 Feb 23 09:54:51 debian kernel: dc447f5d
 Feb 23 09:54:51 debian kernel: *pde = 2067
 Feb 23 09:54:51 debian kernel: *pte = 
 Feb 23 09:54:51 debian kernel: Oops:  [#1]
 Feb 23 09:54:51 debian kernel: PREEMPT
 Feb 23 09:54:51 debian kernel: Modules linked in: usb_storage isofs ipv6
 floppy parport_pc parport pcspkr rtc 8139cp shpchp pciehp pci_hotplug
 joydev via_agp agpgart usbhid uhci_hcd usbcore 8139too mii via_ircc irda
 crc_ccitt tsdev mousedev evdev capability commoncap psmouse ide_cd cdrom
 ext3 jbd mbcache ide_generic via82cxxx ide_disk ide_core sd_mod ata_piix
 libata scsi_mod unix fbcon font vesafb cfbcopyarea cfbimgblt cfbfillrect
 Feb 23 09:54:51 debian kernel: CPU:0
 Feb 23 09:54:51 debian kernel: EIP:   
 0060:[__crc_daemonize+54677/3351043] Not tainted
 Feb 23 09:54:51 debian kernel: EFLAGS: 00210a86   (2.6.8-2-k7)
 Feb 23 09:54:51 debian kernel: EIP is at 0xdc447f5d
 Feb 23 09:54:51 debian kernel: eax: 7f72   ebx: dc446000   ecx:
 0005 edx: 0005
 Feb 23 09:54:51 debian kernel: esi:    edi: d7250398   ebp:
 b598 esp: dc447ef0
 Feb 23 09:54:51 debian kernel: ds: 007b   es: 007b   ss: 0068
 Feb 23 09:54:51 debian kernel: Process xscreensaver (pid: 3931,
 threadinfo=dc446000 task=dfc0c070)
 Feb 23 09:54:51 debian kernel: Stack: 0068 dc447f44 dc447f90 
  0010  
 Feb 23 09:54:51 debian kernel: 0104 0010 dc446000
 d725038c d7250388 d7250384 d7250398
 Feb 23 09:54:51 debian kernel:d7250394 d7250390  0005
  c01672b0  
 Feb 23 09:54:51 debian kernel: Call Trace:
 Feb 23 09:54:51 debian kernel:  [__pollwait+0/208] __pollwait+0x0/0xd0
 Feb 23 09:54:51 debian kernel:  [sys_select+703/1232]
 sys_select+0x2bf/0x4d0
 Feb 23 09:54:51 debian kernel:  [syscall_call+7/11] syscall_call+0x7/0xb
 Feb 23 09:54:51 debian kernel: Code: 03 25 d7 98 f5 ff bf 1f 7a 16 c0 05
 00 00 00 90 7f 44 dc 8c
 
 and
 Feb 24 09:07:31 debian kernel: Unable to handle kernel paging request at
 virtual address 2404f9bd
 Feb 24 09:07:31 debian kernel:  printing eip:
 Feb 24 09:07:31 debian kernel: c4809f5d
 Feb 24 09:07:31 debian kernel: *pde = 
 Feb 24 09:07:31 debian kernel: Oops:  [#2]
 Feb 24 09:07:31 debian kernel: PREEMPT
 Feb 24 09:07:31 debian kernel: Modules linked in: nls_iso8859_1 nls_cp437
 vfat fat sd_mod usb_storage scsi_mod ipv6 floppy parport_pc parport 8139cp
 shpchp pci_hotplug via_agp agpgart joydev usbhid uhci_hcd usbcore 8139too
 mii via_ircc irda crc_ccitt tsdev mousedev evdev capability commoncap
 psmouse ide_cd cdrom ext3 jbd mbcache ide_generic via82cxxx ide_disk
 ide_core unix fbcon font vesafb cfbcopyarea cfbimgblt cfbfillrect
 Feb 24 09:07:31 debian kernel: CPU:0
 Feb 24 09:07:31 debian kernel: EIP:
 0060:[__crc_skb_migrate+1718121/5962475]Not tainted
 Feb 24 09:07:31 debian kernel: EFLAGS: 00210a96   (2.6.8-2-k7)
 Feb 24 09:07:31 debian kernel: EIP is at 0xc4809f5d
 Feb 24 09:07:31 debian kernel: eax: c4809f44   ebx: c4808000   ecx:
 0005 edx: 0005
 Feb 24 09:07:31 debian kernel: esi:    edi: c17c23f8   ebp:
 b598 esp: c4809ef0
 Feb 24 09:07:31 debian kernel: ds: 007b   es: 007b   ss: 0068
 Feb 24 09:07:31 debian kernel: Process xscreensaver (pid: 5049,
 threadinfo=c4808000 task=c651e600)
 Feb 24 09:07:31 debian kernel: Stack: 0068 c4809f44 c4809f90 
  0010  
 Feb 24 09:07:31 debian kernel: 0104 0010 c4808000
 c17c23ec c17c23e8 c17c23e4 c17c23f8
 Feb 24 09:07:31 debian kernel:c17c23f4 c17c23f0  0005
  84971190  
 Feb 24 09:07:31 debian kernel: 

Re: dpkg, apt-get, aptitude, etc. don't work - relocation error.

2006-03-09 Thread Justin Guerin
Mr. Jan Hearthstone wrote:

 I cannot use dpkg, wajig, apt-get--I always get a
 message:
 /usr/bin/perl: relocation error:
 /lib/libpthread.so.0: symbol__libc_stack_end, version
 GLIB_2.1 not defined in file ld-linux.so2 with link
 time reference.
 
 I run Linux version 2.4.27-2-586tsc (Debian
 testing).
 
 What is a newbie to do?
 Thanks, Hearthstone.
 
 
It seems like either your installation of libc6 is broken, or your installed
version of perl doesn't match your installed version of libc6.  How did
your machine get broken like this?  That is, what's the last change you
made before apt-get et. al. broke?

Justin



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: apt pinning options?

2006-03-09 Thread Justin Guerin
Scott wrote:

 I've decided I'd like to try pinning.
 
 I read through apt_preferences(5) and the howtos on the web and I've
 still got a question.
 
 In the following example. I got Unofficial Multimedia Packages from
 the release file (http://ftp.nerim.net/debian-marillat/dists/sid/Release).
 
 Package: *
 Pin: origin Unofficial Multimedia Packages
 Pin: release a=sid
 Pin-Priority: 500
 
 However, a number of archives I have in my sources.list don't have a
 release file.  How else might I list them in my /etc/apt/preferences file?
 
 For example,  one line from my sources.list is:
 
 deb http://mirror.pusling.com/debian/unstable/ ./
 
 How else can I reference an archive in /etc/apt/preferences with no
 release file?  I don't want to pin a specific app in such an archive, I
 just want to give the whole archive a lower priority.
 
 Thanks.
 
It seems you have three options.  First, you can pin based upon information
in the packages file.  Unfortunately, that would mean pinning based upon
the package name or version, which is not what you want.

Second, you could email the site and ask them to provide a release file.

Third, you could fake a release file.  The file from ftp.nerim.net, for
example, ends up
as /var/lib/apt/lists/ftp.nerim.net_debian-marillat_dists_sid_Release.  I'd
edit that file, rename it so it matches the mirror.pulsing.com archive, and
pin based upon that.  Note, however, that I haven't tested this method.

Hope that helps,
Justin



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Installing packages from source

2006-03-02 Thread Justin Guerin
On Thursday 02 March 2006 01:00, RAPPAZ Francois wrote:
 Hi,  I would like to install libgnomeprint-2.2-2.10.
 On my sarge I got 2.8 and with Abiword, fill justified text using true
 type font are ill printed.

 I've read that upgrading libgnomeprint would solve this.

 The next version of libgnomeprint-2.2 I've found is 2.12 and trying to
 install as a debian package would upgrade a lot of other libraries. I
 would like to upgrade to 2.10 only but have not found any debian package
 of that version.

Have you looked on snapshot.debian.net?  They should have older package 
versions.

Justin Guerin



Re: Aptitude/Grub Problem -- Is this a bug?

2006-02-24 Thread Justin Guerin
On Thursday 23 February 2006 18:23, Hal Vaughan wrote:
 I posted earlier this week about some problems I had after doing:

 aptitude update  aptitude upgrade

 on a Sarge system.  It required rebooting and was immediately unbootable
 -- ON SARGE!!!  This is the very stuff I am using stable to avoid!

 I lost a day tracking it down and finally found that when a kernel image
 is updated, update-grub is run.  Normally when apt/dpkg or whatever part
 of apt actually upgrades a program and needs to update a config file, it
 gives you a choice of updating or sticking with the old file, or, at the
 very least, gives you a prompt and warns you of the change.  However,
 when a kernel image is updated, it does not do ANY of these things.  It
 doesn't warn you to back up the /boot/grub/menu.lst file, it doesn't back
 it up itself, and it does not, in any way, let you know it is doing this.

You aren't given a choice of keeping your old grub config file, because 
without an update, you can't boot the new kernel.  Well, OK, you can, if 
you manually create the entry at the grub prompt, but you know what I mean.

You aren't warned about update-grub removing an entry for a kernel, because 
this is only done when you remove a kernel.  If you've removed a kernel, 
but don't remove its grub entry, then you've got an entry that you can't 
use to boot.  You don't want that.

 I know some users know every detail of their systems, but I can't do
 that.  I have a business to run and I started using Debian Stable because
 it is supposed to not mess with things when it upgrades.  I could not
 find anything warning me of this.  It turns out there is documentation in
 updategrub's man file that I have since used to make sure the options
 I've put in the list of boot kernels is kept, but through testing, I've
 seen updategrub will wipe out all entries for other kernels not the
 current root partition (and this happens whenever apt upgrades the kernel
 image).

I'm not sure of your exact situation, but my experience with update-grub is 
that it only creates or keeps entries for kernels it thinks are installed.  
I don't know whether or not update-grub depends on apt's database, or if it 
just searches for kernels, but the source would surely tell you.

 Considering that the intent of stable is to make it so reliable one can
 upgrade and count on the system continuing to work well, I cannot see how
 this lack of warning (and not making a backup) as anything other than a
 serious bug.  It could be easily fixed by prompting the user with a
 warning menu.lst is about to be overwritten, so there's time to back it
 up.  Even better the standard prompt for whether or not to overwrite a
 config file would be nice, since it would let the user decide to update
 menu.lst or not (or maybe back it up).

 Is this not a bug?  Was I just supposed to somehow know that out of all
 the packages out there, this was a specific behavior in upgrading the
 kernel?  It makes me wonder how many other exceptions are out there that
 I don't know about that could crash my system next time I upgrade.

 Do others feel a prompt would be appropriate in this case?  I'd like to
 hear feedback before I submit it as a bug, since there may be some good
 reasons for doing this, however, I cannot imagine a single good reason
 for overwriting a file this important without at least telling the
 user/admin that it is happening.

 Hal

What kernel package updated?  If your kernel is installed because of a 
package like linux-image-2.6-686, then I might understand what happened 
here.  That is a dependency package.  When you install that package with 
aptitude, it pulls in the relevant kernel as a dependency, and marks it as 
being automatically installed to satisfy dependencies.  When that package 
updates, and points to a new kernel package, then aptitude removes the old 
kernel, since it was only installed to satisfy a dependency, and installs 
the new package.  In this case, your working kernel will be removed (along 
with it's grub entry), and the new kernel will be put in its place.  If 
something fails in this operation, you would get an unbootable system (if 
that was your only kernel).

The solution is to mark the kernel your using as manually installed, so that 
it is not removed when it is no longer needed by any other package.

In my experience, aptitude doesn't remove kernels that are old unless I 
specifically request it, but that's because I manually select which kernel 
I want, and I don't use the metapackage.  I always end up with grub entries 
for each kernel that's installed, with the newest being the default, but 
the older ones still available.

Now, if you're not using a metapackage for your kernel, but specifically 
requested a specific version, and aptitude deleted it without warning, 
there's some sort of bug.  Note, however, that apt-get doesn't keep track 
of manually and automatically installed packages.  So if you used apt-get 
to install a package, 

Re: Aptitude/Grub Problem -- Is this a bug?

2006-02-24 Thread Justin Guerin
On Friday 24 February 2006 11:51, Chris Lale wrote:
 Hal Vaughan wrote:
[snip]
  A couple of thoughts come to mind. I don't kow if they will help you.
 
  1. Use
 
  aptitude update  aptitude dist-upgrade
 
  instead of aptitude update  aptitude upgrade. This will deal
  intelligently with dependendies.

 My understanding (and what the man page says)  that dist-upgrade is more
 aggressive.  Is that wrong?

upgrade will only install newer versions of packages.  If package foo 
changes its dependencies from bar to barc2a (for a C++ ABI transition, for 
example), then upgrade will not attempt to upgrade package foo.  
Dist-upgrade is allowed to install new packages and remove old (hopefully 
only obsolete) ones.  So dist-upgrade will upgrade foo, install barc2a, and 
remove bar.

  2. I have always found apt-get totally reliable during upgrade. I
  have had a couple of frights using Synaptic or Aptitude for upgrades.

 I was using apt, but I've heard that the official and preferred way is
 aptitude and that they handle some issues differently, so the point is
 to pick one and stick with it.  Is this still the case?

Aptitude and apt-get do indeed handle dependencies differently.  Well, they 
have a different set of logic to try to resolve dependencies.  Sometimes 
that leads to different results, sometimes that leads to more pain doing a 
specific circular upgrade with one versus the other.  People's experiences 
and impressions vary wildly.

Hope that helps,
Justin



Re: Aptitude/Grub Problem -- Is this a bug?

2006-02-24 Thread Justin Guerin
On Friday 24 February 2006 12:07, Hal Vaughan wrote:
 On Friday 24 February 2006 13:24, Justin Guerin wrote:
  On Thursday 23 February 2006 18:23, Hal Vaughan wrote:
[snip]
 
  You aren't given a choice of keeping your old grub config file,
  because without an update, you can't boot the new kernel.  Well, OK,
  you can, if you manually create the entry at the grub prompt, but you
  know what I mean.

 In this case, it's the same kernel image (again, I'm only upgrading
 Sarge for security and bug fixes), so menu.lst did not need to be
 changed to load a patched version of the same kernel version.

You're right.  I wonder if that call is in there because LILO does need to 
be run in such a situation?

  You aren't warned about update-grub removing an entry for a kernel,
  because this is only done when you remove a kernel.  If you've
  removed a kernel, but don't remove its grub entry, then you've got an
  entry that you can't use to boot.  You don't want that.

 It didn't just remove an entry.  Update-grub completely overwrites the
 file so any entries for kernels on other partitions are gone.

 Picture this: you have 5 partitions, each with a different OS or
 different Linux distros and different kernel versions on them.  One
 partition is your production partition, the one that HAS to always
 work, so you use Sarge for it because upgrades/updates in Sarge are not
 supposed to mess anything up.  Do an aptitude update  aptitude
 upgrade on your Sarge partition and, at least on my recent one,
 aptitude finds a updated version of the kernel image you're using, so
 it downloads and installs it.  Now, since it's Sarge, so you're not
 adding anything in an upgrade, and it is only replacing the same kernel
 image.  That means the same entry in menu.lst will work for the
 replacement kernel (same is true if only modules are upgraded).

 Menu.lst is replaced anyway, which wipes out the entries for kernels and
 OSes on the other 4 partitions and any custom options for that
 particular kernel as well as custom options for any other kernels on
 that partition.

Now I understand your problem.  If those entries were outside of the
### BEGIN AUTOMAGIC KERNELS LIST
### END DEBIAN AUTOMAGIC KERNELS LIST
then update-grub shouldn't have touched them, and you should file a bug.

However, if the entries for the other OSes and kernels on other partitions 
wasn't outside of those, then update-grub assumes it's supposed to manage 
them.  Still, I can see how you have to know something in order to avoid 
that mistake, and I agree with you: if you have to know something about how 
the program operates, then there should be some sort of warning.  At the 
very least, it should tell you what it plans to do and give you an 
opportunity to back out.

 Since this happened, I found that it is possible, in menu.lst, to
 specify the default kernel options that are used and a few other
 features so update-grub will use the config options I need when it
 updates menu.lst, so (I think) I am protected on that for now.

 The issue is that one has to FIND the additional options to fix the
 situation and prevent a change that keeps your system from booting.
 There is nothing, anywhere, to alert a sys admin that this will happen
 and must be taken into account.

Yes, I agree.  Do you think a dialog box is best?  Or is a comment within 
the menu.lst file sufficient?  Whatever you think is the right solution 
should be put in the bug report.

[snip]
 
  I'm not sure of your exact situation, but my experience with
  update-grub is that it only creates or keeps entries for kernels it
  thinks are installed.

 That's what I've found -- and only kernels on the current partition.  It
 has little intelligence or ability to find kernels on other partitions
 or to even scan the current list of entries and copy them (even copy
 them commented out) into the new version.

I believe update-grub should copy verbatim the config of kernels outside the 
automagic area.  If it's not, that's a bug.

I know grub doesn't scan other partitions for kernels.  I think that would 
be a wishlist item.  It's worth filing, though the developers of grub might 
think of that as being outside grub's scope.

[snip]
  What kernel package updated?  If your kernel is installed because of
  a package like linux-image-2.6-686, then I might understand what
  happened here.

 kernel-image-2.6.8-2-686, which includes the full version number, which
 is, I *think* not the same as 2.6.

Yes, it's a specific, full version number, not a metapackage.

 ...

  So what kernel were you using, via what package, and what kernel did
  you upgrade to, via what package, and did aptitude warn you it was
  removing the older kernel?  You don't mention this, but I'd be
  surprised if it did and you missed it.

 It wasn't a kernel upgrade.  I'm not sure why aptitude actually calls it
 an upgrade.  It was aptitude update  aptitude upgrade, which pulls
 down the latest packages, which, on Sarge, means only

Re: Confused about 64-bit architectures.

2006-02-23 Thread Justin Guerin
On Monday 20 February 2006 03:10, Adam Funk wrote:
 On 2006-02-17, Graham Smith [EMAIL PROTECTED] wrote:
[snip]

 Is there a table anywhere that lists processors by their common names
 and tells which kernels will work on which ones?

 Thanks,
 Adam

I hope the list on http://www.debian.org/ports/ gives you the information 
you seek.  If not, what is missing?  It may yet be out there...

Justin


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Confused about 64-bit architectures.

2006-02-23 Thread Justin Guerin
On Thursday 23 February 2006 11:55, Adam Funk wrote:
 On 2006-02-23, Justin Guerin [EMAIL PROTECTED] wrote:
  Is there a table anywhere that lists processors by their common names
  and tells which kernels will work on which ones?
 
  I hope the list on http://www.debian.org/ports/ gives you the
  information you seek.  If not, what is missing?  It may yet be out
  there...

 It gives the information -- but not in a dumbed-down enough format for
 me.  For example, nowhere on that page is the word Xeon mentioned,
 so if I bought a Xeon computer, for example, I wouldn't know from that
 page alone to install AMD64.

You're right, but in the case of Xeon, it's because Intel makes both 32 bit 
and 64 bit (EM64T) Xeon branded CPUs.  I don't know if that situation 
exists with other processors, but I wouldn't be surprised.  

It sounds like what you want is something that says Intel PIII processors 
use the i386 port ... etc.  I don't know if that exists, but I agree it 
would be a good resource.  Perhaps someone could put up a page on 
wiki.debian.org?

Justin


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Pictures, music = video

2006-02-10 Thread Justin Guerin
On Thursday 09 February 2006 14:43, Luis Fernando Llana Díaz wrote:
 Hello,
   I want to combine some photgraphs with music to obtain a movie that I
 can record in a video CD or a DVD (I plan to play it in a ordinary DVD
 player). I am wondering is there is a software to do it easely.

 Thank you
   Luis Llana.

Digikam, with kipi-plugins, allows this pretty easily.  You'll need 
mjpegtools and its dependencies for audio, and imagemagick and its 
dependencies for the video.  You can encode right to DVD (or XVCD, SVCD, or 
VCD) in either NTSC, PAL or SECAM.

However, there is currently a bug against kipi-plugins, where the mpeg movie 
creation doesn't work with mjpegtools-1:1.8.0-0.1 from ftp.nerim.net.  
There is a patch available, though.

Justin Guerin



Re: k3b is not able to detect dvd+rw-tools package

2006-02-01 Thread Justin Guerin
On Tuesday 31 January 2006 21:23, kamaraju kusumanchi wrote:
 Hi
Using Debian unstable, latest k3b. When I run

 $sudo k3b

 I get a popup error saying

 Unable to find growisofs executable
 K3b uses growisofs to actually write dvds. Without growisofs you won't
 be able to write dvds. Make sure to install at least version 5.10.
 Solution: Install the dvd+rw-tools package.

 But dvd+rw-tools package is already installed on this machine. What
 should I do to get rid of this error? I do want to burn DVDs.

Have you tried it as a non-root user?

 $sudo dpkg -l k3b dvd+rw-tools
 Desired=Unknown/Install/Remove/Purge/Hold

 | Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
 |/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err:

 uppercase=bad)

 ||/ Name   VersionDescription

 +++-==-==-===
= ii  dvd+rw-tools   6.0-1  DVD+-RW/R tools
 ii  k3b0.12.10-2  A sophisticated KDE CD burning
 application

I have exactly the same versions installed, and they are working properly.  
Incidentally, why are you using sudo to do dpkg -l?

 $dmesg | grep -i dvd
 hdc: TOSHIBA DVD-ROM SD-R6112, ATAPI CD/DVD-ROM drive
 hdc: ATAPI 24X DVD-ROM DVD-R CD-R/RW drive, 2048kB Cache, UDMA(33)


 thanks
 raju

I tried running k3b as root, using kdesu, and it worked fine for me.  If 
running k3b as a normal user doesn't work, check the programs module, 
Search Path tab in the setup page, and make sure the paths 
include /usr/bin/.

If all else fails, I'd suggest re-installing both packages.

Hope that helps,
Justin Guerin


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: sd_mod....please...

2006-02-01 Thread Justin Guerin
On Saturday 28 January 2006 15:38, Eva-Lena Olsén wrote:
 hi!
 can someone please help us with this issue? :

 we have installed debian 3.1 on two machines without any problems at all,
 and it works perfect.
 But we have a computer that today runs suse 10 and now we would like to
 run debian on that too.
 The annoying :  loading module sd_mod for 'scsi disk support' 
 stops the process at 91%, and nothing happens in the beginning of the
 installation. Why?
Loading that module probably froze / crashed the kernel.  You might try a 
different order in which you load the modules related to SATA.  I remember 
having some similar trouble, but I'm afraid I can't recall the solution 
now.  But I know it had something to do with module load order.

 The machine is an amd 3200 barton on a asus a7n8x mboard and has 3x512
 ram memory, 8 hard drives (ide and s-ata), four 5.25 units: 1 dvdrom, 2
 cdburners and 1 dvdburner.

 we hope that u can help us with this, and hope that this is the right
 place to ask.
 Thanks in advance

Is the SATA driver built into the motherboard?  What's the SATA chipset?  
You may want to google around and see how well that chip set is supported.

Sorry I can't give more specific help.

Justin Guerin



Re: sareg 2.6 doesn't recognize the CD!!??

2006-02-01 Thread Justin Guerin
On Monday 30 January 2006 05:07, belahcene abdelkader wrote:
 Hi, every body

 I upgrade the sarge from 2.4 to 2.6 in order to mount
 automatically the usb pen ( via the usbmount) it runs
 fine, but now I have a bigger problem the CD reader is
 not recognized!!!
 My  SATA Disk is detected by 2.6 as ide but bye 2.6 as
 sda , this is not a problem, but no cdrom device
 detected, while in 2.4 it is /dev/hdd.
 There is no /dev/hd* at all, I know that udev creats
 dynamically the devices, so it is not created!

 After That I tried to reinstall the sarge completly,
 by using the option : kernel 2.6

 the installation started correctly, after a while
 (detection of keyboard ) no Cd is detected here too,
 when I used the option expert, the following messages
 is printed: no ide-detect , strange since the kernel
 is reading from the CD !!!

 so I assume that the problem is the same in both
 cases, bug in kernel ???

 thanks for help

Since kernel 2.6, I've needed the module ide_cd to access my CD-ROM drives.  
Is that module loaded?

If that doesn't fix the problem, post the relevant output of dmesg, and 
we'll see what we can do.

Justin Guerin


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: k3b is not able to detect dvd+rw-tools package

2006-02-01 Thread Justin Guerin
On Wednesday 01 February 2006 11:13, kamaraju kusumanchi wrote:
 Justin Guerin wrote:
 On Tuesday 31 January 2006 21:23, kamaraju kusumanchi wrote:
[snip]
 Have you tried it as a non-root user?

 Forgot to mention this. k3b works fine for ordinary users. Only when I
 use it through sudo, it gives the above error.

[snip]
 I tried running k3b as root, using kdesu, and it worked fine for me.

 kdesu k3b is also working fine (without any errors). The problem is
 occurring only when k3b is run under sudo.

 thanks for the reply
 raju

The problem is in the environment active when you start k3b.  Check your 
environment variables after a sudo (i.e. sudo env), and after a kdesu env.  
Kdesu sets up your environment to look more like your present environment, 
and that's why it works.  Somewhere, in the difference between the two, is 
your problem.  I'd check your path first.

Justin


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Not automounting a USB Cardreader??

2006-01-31 Thread Justin Guerin
On Monday 30 January 2006 12:45, Magnus Therning wrote:
 On Mon, Jan 30, 2006 at 06:56:45PM +0100, Florian Kulzer wrote:
 By the way, I have just noticed that this morning's upgrade from KDE
 3.5.0-4 to 3.5.1-1 seems to have broken this feature on my machine. At
 the moment I do no longer get an icon on my desktop even though pmount
 itself seems to work fine. I have no clue yet how to fix this. Maybe I
 just have to wait until all KDE packages have made the transition to
 3.5.1.

 It stopped working on my GNOME machine (Sid) as well, so at least it's
 nothing KDE/GNOME specific... not really a relief though...

 /M

Check your version of udev.  Bug 350490 [0] states that version .083 isn't 
working, while .082 is.  That mirrors my own experience.  When I downgraded 
from 0.083 to 0.082, I got my icon back on my KDE 3.5.0 desktop.

Justin Guerin

[0]: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=350490


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: IDE PCI Advice Needed

2006-01-27 Thread Justin Guerin
On Friday 27 January 2006 14:32, Stan Banash wrote:
 All,

 I am currently trying to build out a new Debian system
 and am having some issues with getting the IDE PCI
 card drivers installed.  I'm relatively new at setting
 up Debian and have been working this issue for several
 days now.  That said, here are the specifics:

 System:
 Dell Optiplex GX1P, 768MB Ram, 600 MHz CPU (PIII),
 33MHz bus w/4 PCI slots, ATI RAGE PRO TURBO video
 chip, Bios version A10, IDE (DMA/ATA) on board.

 New IDE PCI Card:
 Highpoint Rocket 133 (Ultra ATA /PCI - 33/66)

 Hard Drives:
 Primary Maxtor (20GB)
 Secondary Maxtor (250GB) - thus the need for the Ultra
 ATA card.

 Installtion process:
 I installed the new card in the system and connected
 the drives as specified in the manual, i.e. set the
 jumpers and plugged them into the board.

 I am installing from a CDROM disk (Sarge) Linux Kernel
 2.4.2-27 (Yes I know it is not the latest available).
 When the installation  procedure gets to the
 recognizing the IDE Drives for setting up the
 partitions it fails to find the driver. After checking
 the drivers on the RAM disk, I see that the needed
 driver HPT302.o is not there. I have managed to get
 the driver code from Highpoint and compile it against
 the 2.4.2-27 kernel on my laptop.

 So this is where I am now stuck - How can I get the
 HPT302.o driver file into the installation package in
 the CD image so that the Debian installer can find it
 and load it during installation?

 If that is not the best or easiest approach to take, I
 would like to know.  Otherwise, any advice that you
 might have would be appreciated.  I mean really,
 others must have done this sometime.

 Thanks in advance,
 Stan

Hi Stan,

You have a couple of options.  First, you can use a bootable CD distro (like 
Knoppix) and install from the live CD.  Since you can boot up fully and 
have net access without needing your drive, you can create the needed 
kernel module against the CD's kernel, and then install.  This web page is 
a little old, but it should give you the right ideas: 
http://www.inittab.de/manuals/debootstrap.html

Alternately, you can replace the install kernel of the debian-installer.  
There are instructions on the wiki: 
http://wiki.debian.org/DebianInstallerModify

Good luck,
Justin Guerin


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: strange outbound connection

2006-01-17 Thread Justin Guerin
On Tuesday 17 January 2006 07:46, johannes wrote:
 Sarunas Burdulis wrote:
 The firewall (firestrarter gui to be precise), just shows a line in
 active connections (ie. NOT in blocked connections) with an 'unknown
 service' on port 1056 to that external host. I'm just wondering how
 firestarter knows about this connection.
 
 I don't know how to proceed. Maybe it's just a bug in firestarter to be
 ignored?
 
  What about `lsof -i`?

 nothing:
 llserv:~# lsof -i @217.91.13.234
 llserv:~# lsof -i @213.20.165.177

 (I now have two of them, according to firestarter listening on different
 ports: 1054 and 33414)

  Sarunas Burdulis

 Johannes

If you're worried that you've got a service running that you don't want, 
try, as root, 'lsof | grep LISTEN'.  This will show you all programs that 
are actively listening for connections, even if they're bound to the local 
host.

If that doesn't solve the mystery, how about the output of, as root, 'lsof | 
egrep TCP|UDP'?  That will show you some established network connections 
(mounts are missing for me), and the program responsible.  I don't know if 
anything will show up here that doesn't show up in 'netstat --ip', though.

Hopefully, one of those will point you in the right direction.

Justin Guerin


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Xorg eats my CPU

2006-01-09 Thread Justin Guerin
On Sunday 08 January 2006 06:21, Kevin Glynn wrote:
 Hi,

 I am running (up to date) Debian unstable on my laptop, it has a
 Radeon IGP 340M graphics chip. For the last month or so I am seeing
 the Xorg process gradually gobble up more and more CPU, up to 30/40%
 and in some cases 99%.

 Even X on its own seems a little sluggish, e.g. when I change windows
 the gnome icons take a fraction of a second to appear in the new
 window.

 But the big CPU problems are seen when I run mozilla-firefox, since
 usually when I kill firefox Xorg recovers.  I don't see any messages
 in logs that might explain the behaviour and I can't find any related
 bugs filed against Xorg.

 Here is the output from the top of top:


 top - 12:41:40 up  2:56,  4 users,  load average: 0.87, 0.45, 0.99
 Tasks:  98 total,   3 running,  95 sleeping,   0 stopped,   0 zombie
 Cpu(s): 40.7% us,  4.8% sy,  0.1% ni, 52.8% id,  1.2% wa,  0.1% hi,  0.3%
 si Mem:744112k total,   731812k used,12300k free,   134736k
 buffers Swap:   997880k total,  108k used,   997772k free,   239776k
 cached

   PID USER  PR  NI  VIRT  RES  SHR S %CPU %MEMTIME+  COMMAND
 13112 keving17   0  130m  50m  16m R 34.7  7.0   2:04.21 firefox-bin
 12761 root   5 -10 65052  13m 8108 S 10.1  1.9   1:12.19 Xorg
 12933 keving15   0 31756  13m 8596 S  0.2  1.9   0:18.06
 gnome-terminal 12935 keving15   0 44704 7344 5864 S  0.2  1.0  
 0:02.15 gnome-cups-icon

 (Hope that shows up OK)

 Does anyone have any idea what bug this might be? Or clues on how I can
 track it down further? I don't really have enough information to file
 a bug report yet 

 Thanks for any advice / help

 Kevin

If you've recently upgraded to a 2.6.x kernel, that could be the source of 
the problem.  The new scheduler doesn't seem to play nicely with X running 
at a nice value of -10.  So, re-nice X to 0, and see if that fixes your 
problem.  Search the archives for a method to change the nice value 
permanently.  Note that for me, re-nicing without restarting X didn't work, 
because not all processes showed up in top, and thus I didn't re-nice them.

Hope that helps,
Justin Guerin


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: xscreensaver + kde

2006-01-05 Thread Justin Guerin
On Tuesday 03 January 2006 06:07, Yuri Pakhomov wrote:
 I had installed debian with gnome and xscreensaver. Then installed kde.
 In gnome xscreensaver works fine. In kde i enter control center 
 appearance... screen saver and see blank screen saver only.

 When i enter settings screensaver from main menu - it tells me
 xscreensaver daemon not running and prompt me to run it. How to make it
 run automatically with kde?

If you don't want to use KDE's wrapper around xscreensaver, then check the 
man page of xscreensaver.  It has a section on using KDE.  Paraphrasing, 
you have to:
1) switch off KDE's screensaver
2) find your Autostart directory
3) place an xscreensaver.desktop file in the Autostart directory
4) make the various desktop lock buttons call xscreensaver.

Complete instructions are in the man page, including the .desktop file 
contents.  It's quite detailed and easy to follow.

Hope that helps,
Justin Guerin


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Querying packages about installed files

2005-12-08 Thread Justin Guerin
On Thursday 08 December 2005 04:02, Jim Holland wrote:
 Hi all

 I have been very impressed with aptitude for the way that it handles the
 installation of packages.  I have recently moved from Red Hat and this is
 a vast improvement.  However I have not been able to see a simple way of
 listing what actual files have been installed, or to check whether they
 have been changed, corrupted or have incorrect permissions.  With Red Hat
 you have the following very useful options:

   rpm -ql [packagename] to get a list of installed files
 and
   rpm --verify [packagename] to check the installed files

 Are there any similar equivalents with aptitude?

 Regards

 Jim Holland
 System Administrator
 MANGO - Zimbabwe's non-profit e-mail service

dpkg -L pkgname will also list all files installed by that package.  
debsums, as Andrei mentioned, will verify the installed files.

Justin Guerin


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Synching deeply nested directories Debian Server - Win XP

2005-12-08 Thread Justin Guerin
On Wednesday 07 December 2005 18:00, Debian Users wrote:
 Hello all,

 I am using a Win XP feature called Offline Files, which is basically
 like having a replica of files which are orginally on a network drive and
 letting XP decide whether to work on the local replica or the actual
 network files. The user doesn't notice the difference. After reconnecting
 to the server, the files are synchronized automatically using built-in XP
 software. Actually, this works fantastically stable (thumbs up for MS in
 this case). The network version of the files are living on a Debian
 server, accessed from several XP machines via SMB shares.

 Now for the interesting thing: our network does not allow SMB access from
 outside (its the universiy's policy, I cannot change that): SMB ports are
 blocked. I still would like to synchronize the data on e.g. my laptop and
 the files on the server once in a while, even if not inside the server's
 network. Since I cannot easily convince XP to use other ports for SMB
 sharing (thumbs down for MS), I have to find other ways. For that end I
 tried unison via ssh (available on Windows and Debian), but had to give
 up because of the long path name bug in unison (or probably in OCAML).

 Are there any other otions I could try? It seems that ssh is really the
 only access to the server, so which options remain? Would setting up a
 VPN help? Would I need admin power over the server's network for this to
 work (which I have not)? I could also boot the remote box (e.g. my
 laptop) into Debian, and synch from there if that would help.

 I have read about tunneling the SMB traffic through an ssh tunnel, but
 that would also mean turning off the usual network browsing of the remote
 Windows box, which is cumbersome at least.

No, it wouldn't.  Using your laptop, use putty to port forward the windows 
share port on your machine to the windows (samba) share port on your 
server.  Then, when you attempt to connect to a windows share from your 
laptop, you'll actually connect to the windows share of the server, 
tunneled through SSH.  The port forwarding will not affect the other 
windows machines inside the network, but will prevent your laptop from 
viewing the shares on whatever network it's on until the forwarding is 
ended.

 Any help greatly appreciated,

 Stefan

Hope that helps,

Justin Guerin


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: all my email vanished -- again

2005-12-02 Thread Justin Guerin
On Friday 02 December 2005 07:25, Hendrik Boom wrote:
 Yes, last night all the massages I had left in /var/mail/hendrik
 vanished *again*.  Just like the night before.  Of course, by the
 time I got to look at my mail, a few new ones had arrived.

 I'm starting to think it's not just a fluke.

This really makes me suspect a cron job gone awry.  Check both your crontab 
and root's, and check everything in /var/log/, too.  Also, look closely at 
applications that are running overnight.

If you shut down the computer overnight, and noticed your mail missing when 
you booted up, then I would check shutdown and startup scripts 
in /etc/init.d/.

If you don't have any new mail yet, what's the modify date 
of /var/mail/hendrik?  It may give you a general idea of when this is 
happening.

Hope that helps,
Justin



Re: very weird firefox behaviour

2005-12-01 Thread Justin Guerin
On Thursday 01 December 2005 14:27, Renee Klawitter wrote:
 Hi!
 I recently installed the firefox 1.5, (1.4.99+1.5  to be perfectly
 accurate).
 Now, when I try to start firefox via the applications menu or via
 console, logged in as a normal user, it won't start and gives me this
 nice little message instead:

 Firefox is already running, but is not responding. To open a new window,
 you must first close the existing Firefox process, or restart your
 system.

 But there is no other firefox process. And the curious thing is, logged
 in as root I can start firefox, and as long as the root firefox process
 is running, I am able to start a new window as a normal user!!

 Any suggestions ?
 Thanks in advance, Renee!

Hi Renee,

Do you have a lock file in your profile folder?  If so, you may need to 
delete it.  According to 
http://kb.mozillazine.org/Profile_folder#Where_is_my_profile_folder.3F, 
your profile is located at ~/.mozilla/firefox/Profile name/, unless you 
manually changed it.  You might also find more helpful information at 
http://kb.mozillazine.org/Profile_in_use.

None of this seems to explain why you can start a new window as a normal 
user once root is running Firefox, but it may be worth a shot.

Hope that helps,
Justin


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: PCMCIA USB cards under linux?

2005-12-01 Thread Justin Guerin
On Thursday 01 December 2005 13:29, Martin Fluch wrote:
 Hi!

 From my search sofar the result doesn't look promissing. But is there

 any PCMCIA USB 2.0 card which works under Linux. My IBM T30 has only
 an USB 1.1 port and it would be nice to a USB 2.0 adapter to transfer
 faster data between my T30 and my iPod.

 Can anybody maybe proove my observation wrong? Maybe? ;-)

 With best wishes,
 - Martin

Hi Martin,

This thread would seem to indicate your search will not be in vain.  
http://www.linuxquestions.org/questions/showthread.php?s=postid=1756217#post1756217

However, note that if you're looking for a manufacturer to expressly state 
they are Linux compatible, you're a few years too early.  Still, with the 
return policy clarified beforehand, you should be able to get something 
that will work.

Also, check pricewatch.com for a list of cards.  There's quite a lot to 
choose from, and though I didn't look at all of the cards, of the ones I 
did, none of them said Linux compatible.  It doesn't mean they aren't, just 
that it isn't guaranteed.

Good luck,
Justin


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: kmail questions

2005-11-22 Thread Justin Guerin
On Monday 21 November 2005 17:25, Joseph H. Fry wrote:
 I have jumped around testing different mail clients before finally
 settling on kmail due to some features I like and some I can't live
 without (reply to list for example).  Anyway, there are two things I
 haven't been able to do, perhaps I was spoiled by some of the other
 clients.

 1 - display a mailing list in threaded view with the threads that have
 had the most recent activity at the top of the list.  I can sort by date,
 but it uses the date of the first message in the thread and not the most
 recent message.

You're not the only one who would like this feature.  It's pretty high up 
there on the requested features list, and was originally submitted in 
September of 2001.  See the full bug thread at: 
http://bugs.kde.org/show_bug.cgi?id=32400

It seems that this feature won't be implemented before KDE 4, but stands a 
good chance once KDE4 is out (if it isn't implemented right off the bat).

Note that knode does have this feature.

 2 - I would like to create a filter of some sort that shows only threads
 (the entire thread mind you) in which I have participated.  I was able to
 do that in the gnome PIM (forget the name) by creating a special folder
 that was simply a filtered version of the folder that contains the
 mailing list.

I wasn't able to find this in the bug database, so it's possible no one 
submitted this request.  On the other hand, it's possible kmail can already 
do this, but I don't know how.  The closest I can get is using the status 
filter above the message list to show only messages that I've replied to.  
You won't see your messages, but you'll be quickly able to identify the 
threads you replied to, and then you can change the view to see the full 
thread.  Yes, it's a pain, but it's better than nothing.

 I hope that someone can point me in the right direction, I really need to
 just settle on a single mail client and would hate to have to switch
 again.

 Joe

Sorry for the bad news.

Justin Guerin


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: kernel upgrade, no console

2005-11-14 Thread Justin Guerin
On Friday 11 November 2005 05:54, Matt Price wrote:
 recently compiled a new kernel (2.6.14, with suspend2 patches applied)
  found that
 a) on boot the screen stayed blank until gdm started up, and
 b) once the system was up pressing ctrl-alt-f1 gave a wierd mash of
 colors, so that the console is unusable (or almost -- once or twice
 I've been able to switch into console and issue a couple of blind
 commands, like /etc/init.d/gdm restart).

 I was able to fix the former by removing the vga= option from the
 kernel line in my grub entry, but the latter remains broken.  I
 assume this has something to do with the framebuffer (maybe?), but I
 have e.g. VESA and VGA support compiled into the kernel (not modules
 as I have no initrd on this system -- wasn't working with suspend2,
 doubtless b/c of my incompetence).  Not sure if I'm missing some other
 crucial factor.

 Anyone who can tell me where to look in my .config?

 thanks,

 matt

What's the status of CONFIG_FRAMEBUFFER_CONSOLE?  If it's a module, what 
happens when you load the fbcon module?

Justin Guerin


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Debian sid and udev problem.

2005-11-10 Thread Justin Guerin
On Thursday 10 November 2005 12:24, Jon Jahren wrote:
 Hello, I'm not sure where to ask this question, but this seemed as the
 more appropriate mailling list. 
You're in the right place.  Welcome.

 I have installed debian, and upgraded to 
 debian sid, and then I get this error with udev:
 debian:/home/jon# apt-get -f install
 Reading package lists... Done
 Building dependency tree... Done
 Correcting dependencies... Done
 The following extra packages will be installed:
   udev
 The following packages will be upgraded:
   udev
 1 upgraded, 0 newly installed, 0 to remove and 178 not upgraded.
 Need to get 0B/300kB of archives.
 After unpacking 303kB of additional disk space will be used.
 Do you want to continue [Y/n]? y
 WARNING: The following packages cannot be authenticated!
   udev
 Install these packages without verification [y/N]? y
 (Reading database ... 112823 files and directories currently installed.)
 Preparing to replace udev 0.056-3
 (using .../archives/udev_0.074-2_i386.deb) ...
 ln: creating symbolic link `/etc/udev/rules.d/z55_hotplug.rules' to
 `../hotplug.rules': No such file or directory
 dpkg: error processing /var/cache/apt/archives/udev_0.074-2_i386.deb
 (--unpack):
  subprocess pre-installation script returned error exit status 1
 Errors were encountered while processing:
  /var/cache/apt/archives/udev_0.074-2_i386.deb
 E: Sub-process /usr/bin/dpkg returned an error code (1)



 As far as I can tell, it's failing at making a symlink to
 ../hotplug.rules in the /etc/udev/rules directory, so I tried manually
 making the hotplug.rules directory, which didn't work.
 So, help please? I'm running kernel 2.6.14-1-686-smp and as you can see,
 I'm trying to install udev 0.074. If this is the wrong mailinglist I
 apologise and would like to know the appropriate mailinglist.
 Thanks in advance
 Jon

../hotplug.rules isn't a directory, it's a file that's supposed to be 
installed by udev.  It seems that udev version 0.056-3 doesn't contain that 
file, and 0.074-2 expects it to be there.  It may have been introduced by 
an intermediate version of udev, but the package doesn't account for you 
upgrading from a version where that file didn't exist.

You should probably file a bug against the udev package.  Use the reportbug 
package; it will make things easy.

For what it's worth, I just upgraded udev from 0.070 to 0.074-2, and I did 
not get that error.

Hope that helps,
Justin Guerin


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: corrupted sources.list (file below)

2005-11-10 Thread Justin Guerin
On Tuesday 08 November 2005 17:39, Sam Rosenfeld wrote:
 My sources.list file is listed in its entirety below.

 On Sun, 6 Nov 2005, Sam Rosenfeld wrote:
  My version of debian 3.1 was downloaded via the net, and the original
  files, which contained the info for the sources.list file, have been
  lost. When I try to install package pkg with apt-get install pkg I
  get the following message:
 
  W: Couldn't stat source package list http://security.debian.org
  stable/updates/contrib Packages
  (/var/lib/apt/lists/security.debian.org_dists_stable_updates_contrib_bi
 nary-i386_Packages) - stat (2 No such file or directory)
 
  W: Couldn't stat source package list http://security.debian.org
  stable/updates/non-free Packages
  (/var/lib/apt/lists/security.debian.org_dists_stable_updates_non-free_b
 inary-i386_Packages) - stat (2 No such file or directory)
 
  W: You may want to run apt-get update to correct these problems
  E: Package pkg has no installation candidate

 I have running apt-get update with zero results.

  In addition, I have a strange (to me) problem with my man bin file;
  it doesn't get and display the contents of manpages (though they exist
  in my /usr/share/man/man1-8/ folders).  Is it possible that this man
  problem is related to the sources.list problem?
 
  Will appreciate any clear doc (or explanation) dealing with either or
  both of the above problem(s).

 # See sources.list(5) for more information, especially
 # Remember that you can only use http, ftp or file URIs
 # CDROMs are managed through the apt-cdrom tool.
 deb http://http.us.debian.org/debian stable main contrib non-free
 deb http://non-us.debian.org/debian-non-US stable/non-US main contrib
 non-free deb http://security.debian.org stable/updates main contrib
 non-free

Looks like you're missing a '/' at the end of the http://security.debian.org 
part.  Change
http://security.debian.org stable/updates main contrib non-free
to
http://security.debian.org/ stable/updates main contrib non-free
and then run apt-get update, and see if that helps.

 # Uncomment if you want the apt-get source function to work
 deb-src http://http.us.debian.org/debian stable main contrib non-free
 deb-src http://non-us.debian.org/debian-non-US stable/non-US main contrib
 non-free

Hope that helps,
Justin Guerin


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Compiled 2.6.14, seeing strange things...

2005-11-09 Thread Justin Guerin
On Tuesday 08 November 2005 18:54, Curt Howland wrote:
 Hi.

 I compiled 2.6.14 since I like having the framebuffer support and the
 Debian pre-packaged kernels don't have it in with 2.6.14, as well as
 headaches with yaboo (or whatever the heck it is) initrd generator.
 So I built it without initrd, and with ext3 compiled in.

yaird is what you're thinking of, but you probably knew that.

 When I enabled preemption, I noticed that the system (2.8GHz P4
 laptop) became very jerky and pulling the mouse across the screen was
 an exercise in patience.

 I recompiled without preemption, and while mouse/keyboard response has
 improved almost to Debian-precompiled quality, now something else is
 happening:

 Top:

 top - 20:12:52 up 26 min,  1 user,  load average: 1.14, 0.92, 0.77
 Tasks: 108 total,   1 running, 107 sleeping,   0 stopped,   0 zombie
 Cpu(s):  1.0% us,  3.0% sy,  0.0% ni, 50.8% id,  0.0% wa, 31.8% hi,
 13.4% si
 Mem:513592k total,   507528k used, 6064k free, 3124k
 buffers
 Swap:  1510068k total,4k used,  1510064k free,   359196k
 cached

   PID USER  PR  NI  VIRT  RES  SHR S %CPU %MEMTIME+  COMMAND
   837 root  16   0 000 S 17.3  0.0   1:25.21 kjournald
  4759 curt  15   0 51244 8812 7116 S  5.7  1.7   1:05.52 kio_ftp
  4670 curt  15   0 23340 2932 1688 S  1.0  0.6   0:02.96
 dcopserver
  4710 curt  15   0 28560  14m  11m S  0.3  3.0   0:02.54 konsole
  4755 curt  16   0 48912  27m  20m S  0.3  5.6   0:02.75 kmail

 17% kjournald? Now, true, it's running an ftp, but it's only 300kBps.
 I have done full 100Mbps ethernet dumps that didn't blink an eye.

 Not only that, but every 5 seconds, the commit time for the ext3
 journal, there is a noticable 1/2 second pause in keyboard/software
 response. This has not happened at all with the Debian compiled
 kernels.

 If someone wants to discuss this, I would love to share kernel build
 config files and such to try and find where this is going wrong.

 Curt-


Just a guess, but you may want to check the DMA status of your hard drive.  
If you don't have the proper IDE support, you can't use DMA.  Either load 
the proper modules, or compile them into your kernel.

If that is not your problem, perhaps you can copy the Debian package config 
file to your kernel source tree, then only make the changes necessary to 
avoid the initrd, and see if that works.  In case you weren't aware, 
preemption is not enabled in the packaged kernel:
CONFIG_PREEMPT_NONE=y
# CONFIG_PREEMPT_VOLUNTARY is not set
# CONFIG_PREEMPT is not set

For what it's worth, you can add the line:
MODULE  fbcon
to the appropriate place in /etc/yaird/Default.cfg, then reinstall the 
2.6.14 Debian package, and your resulting initrd will support the frame 
buffer console.  If that's what you want to do.

Hope that helps,
Justin Guerin


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: cannot run /bin/sh ./config.sub?

2005-11-09 Thread Justin Guerin
On Tuesday 08 November 2005 17:00, Tom wrote:
 Hey all,

 Lately I've been getting the error mentioned in the subject when I try
 to compile stuff. I've never had something similar before. Googling it
 suggests silly stuff such as /bin/sh not being there; a search on this
 list doesn't bring up anything, either.

You don't really state if /bin/sh is actually present.  What's the output of 
ls -l /bin/sh?  If it's a symbolic link, what's the output of an ls -l 
on its target?  I.e.:
[EMAIL PROTECTED]:~$ ls -l /bin/sh
lrwxrwxrwx  1 root root 4 Jul  7 09:20 /bin/sh - bash
[EMAIL PROTECTED]:~$ ls -l /bin/bash
-rwxr-xr-x  1 root root 667340 May 25 06:59 /bin/bash

 There's nothing modified from defaults, as far as the auto-stuff is
 concerned.

 /etc/alternatives/automake: symbolic link to `/usr/bin/automake-1.4'
 /etc/alternatives/aclocal: symbolic link to `/usr/bin/aclocal-1.4'

 Just as an example, I tried to rebuild E17 a couple of minutes ago; it
 ended like:

 [00:53 tom ~/Bin/src/e17/libs/eet] ./autogen.sh --prefix=/home/tom/Bin
 Running aclocal...
 Running autoheader...
 Running autoconf...
 Running libtoolize...
 Running automake...
 configure: error: cannot run /bin/sh ./config.sub

 Sorry if I provide way too little information. I wouldn't know what else
 to mention...

 Cheers, and thanks for any help,
 Tom

It seems to me that part of the autotools is trying to run the /bin/sh 
program, and it's not present.  If that's not the case, then 
does ./config.sub exist, and is it properly she-bang'ed?

Justin Guerin


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Problems with debian kernel source 2.6.12-10 on HT cpu (SMP/SMT)

2005-11-09 Thread Justin Guerin
On Wednesday 09 November 2005 13:19, [eMAXX] Vince wrote:
 Hi folks,

 I really have no idea if this is the correct mailinglist for this, but
 I'll give it a try.

 I tried to compile a SMP/SMT kernel for a Intel P4 with HyperThreading
 support CPU from debian kernel sources ( I tried
 linux-source-2.6.12_2.6.12-10_all.deb
 ftp://ftp.snt.utwente.nl/pub/linux/debian/pool/main/l/linux-2.6/linux-so
urce-2.6.12_2.6.12-10_all.deb and linux-source-2.6.14_2.6.14-2_all.deb
 ftp://ftp.snt.utwente.nl/pub/linux/debian/pool/main/l/linux-2.6/linux-so
urce-2.6.14_2.6.14-2_all.deb), but after running make-kpkg and rebooting,
 I still see one cpu in /proc/cpuinfo 

 I did the same with some Vanilla sources (2.6.12.6) and it just works
 great! (I'm seeing 2 cpu's in /proc/cpuinfo).

 Could there be a bug in the debian sources?

 Regards,

 Vince.

Probably not.  What happens when you install the packages 
linux-image-2.6.12-1-686-smp and linux-image-2.6.14-1-686-smp?

Justin Guerin


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: how to close the nxclient session properly

2005-10-31 Thread Justin Guerin
On Friday 28 October 2005 17:15, kamaraju kusumanchi wrote:
 However if I do the following then the keyboard shortcuts are not
 working.

 On the machine running nxclient, Go to the command line prompt
 open an X server by doing
   X :1 
 Now start nxclient in this
   DISPLAY=:1 nxclient 

 It opens the nxclient session in :1 (ctrl-alt-F8) and the keyboard
 shortcuts does not work there. What am I missing in this method?

 raju

I have no idea, but since you're not using any kind of window manager, that 
could be the cause of the problem.  Have you tried this scenario using twm 
or something equally lightweight?  Perhaps you can use the KDE menu option 
Switch User - Start New Session to start a twm (or even failsafe) session, 
launch nxclient from there, and then maybe your key bindings will work.

Out of curiosity, do the Ctrl-Alt-function key get you from display 1 to 0?

I'm not sure how X key bindings are set up, but my guess is you'll have to 
have some kind of window manager running in order to interrupt the special 
NX key combinations.  You may want to start a new thread with this type of 
question.

Sorry I can't help more,
Justin



Re: Sid, problems with 2.6.14

2005-10-31 Thread Justin Guerin
On Monday 31 October 2005 11:28, Curt Howland wrote:
 Hi, yall. I pulled down 2.6.14 yesterday with the usual topping off of
 the tank, as it were, and tried it out today.

 LILO puts up the usual .. for loading, then bam, black screen.
 There's some disk access for about 10 seconds, then nothing and the
 CPU fan starts spinning up like it's utilizing 100%.

 I do have the Knoppix sourced vga=791 for a decent console screen,
 but that's worked since kernel 2.2.x.

 Is anyone else having difficulties with 2.6.14? I revert to 2.6.12 and
 everything runs just fine.

 Curt-

Hi Curt,

Lots of people have been having that problem[0].  If you want to see what's 
going on, you'll need to edit the yaird config file to include the fbcon 
module, then rebuild your image.  The easiest way to rebuild the image is 
to reinstall the package.

Justin Guerin

[0] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=336450


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: how to close the nxclient session properly

2005-10-28 Thread Justin Guerin
On Thursday 27 October 2005 19:59, kamaraju kusumanchi wrote:
 Justin Guerin wrote:
 On Wednesday 26 October 2005 17:08, kamaraju kusumanchi wrote:
[snip]
 
 If you click in the upper right hand corner of your screen, the NX
  session will minimize.

 In fullscreen mode even I click in the upper right hand cornet of the
 screen, the session does not minimize. What nxclient version are you
 running?

That's weird.  I'm running 1.2.0-91 from kanotix.com.  I'll have to upgrade 
and see if 1.5.0-113 gives me the same problem.

 Right click on your NX session in your taskbar, and select
 close.

 Really? In full screen mode, I cannot even see the taskbar.

I can't either, until I click in the upper right hand pixel.  That makes the 
fullscreen minimize to a taskbar entry.

   The NX session will restore itself, and ask you if you want to
 suspend, terminate or cancel.
 
 Pretty intuitive, huh? ;-)

 I do not know if you are being sarcastic here. But when I run nxclient
 in fullscreen mode, There is no window bar or status bar.

 bye
 raju

I'm very sorry if you thought I was being sarcastic towards you.  I was 
being sarcastic towards needing to click in the upper right hand corner to 
minimize the fullscreen window.  I happened upon it by accident, and 
never would have thought to do such a thing on my own.

Of course, now that you ask, I clicked around after loading the online help, 
and found this page: http://www.nomachine.com/ar/view.php?ar_id=AR03C00172  
It states that you should be able to click on the magic pixel at the top 
right corner, but also that Alt-F2 should minimize the fullscreen 
application as well.  I tried that, and it works for me on 1.4.0-91, but it 
states that starting from 1.5.0, you should use Ctrl+Alt+M to minimize or 
maximize a fullscreen window.

I guess you should check out that link for the full list of options, seeing 
as how no man page or other documentation is included in the packages. :-(

I'm sorry you thought my sarcasm was directed at you.

Justin Guerin


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: how to close the nxclient session properly

2005-10-28 Thread Justin Guerin
On Friday 28 October 2005 16:15, kamaraju kusumanchi wrote:
[snip]
 I can't either, until I click in the upper right hand pixel.  That makes
  the fullscreen minimize to a taskbar entry.

 I am having hard luck finding the 'magic pixel'. No luck with Alt-F2 or
 Ctrl-Alt-M either. The thing is inside the nxclient I am running kde
 session and when I press Alt-F2 KDE's usual Run command window pops
 up. I guess KDE is the culprit here. It is taking complete control over
 the keyboard and not passing Alt-F2, Alt-F4, Ctrl-Alt-M etc., keys onto
 nxserver.

Weird.  I run nxclient in a KDE session, and Alt-F2 works to minimize the 
nxsession, but also works to run programs if I'm not currently in an 
nxsession.

[snip]
 Of course, now that you ask, I clicked around after loading the online
  help, and found this page:
  http://www.nomachine.com/ar/view.php?ar_id=AR03C00172 It states that
  you should be able to click on the magic pixel at the top right corner,
  but also that Alt-F2 should minimize the fullscreen application as
  well.  I tried that, and it works for me on 1.4.0-91, but it states
  that starting from 1.5.0, you should use Ctrl+Alt+M to minimize or
  maximize a fullscreen window.

 None of these keyboard shortcuts work for me as described in the above
 document. They take the usual KDE meaning. For example if I press
 Alt-F4, the current window closes instead of the session getting
 terminated etc.,

 Which window manager do you run inside the nxclient? Which window
 manager do you run on the machine where you run nxclient? I am using KDE
 in both instances and starting to wonder this whole thing is due to kde.

 bye
 raju

Normally, I run Gnome on the nxserver, but KDE on the machine running the 
client.  I do this because I'm not sure if it's safe to run 2 KDE sessions 
as the same user on the same machine at the same time.  Even though one 
session is an nxsession, I'm not sure if that would interfere with my 
regular X session on the server, where I keep myself always logged in.

Anyway, I tried using a KDE desktop in both the client machine and the 
nxsession, and my key bindings worked as expected.  Perhaps you have 
khotkeys enabled, whereas I don't?  I enabled it, both on the client 
machine and the client session, but it didn't seem to make a difference for 
me.  I even tried to set up a khotkey shortcut using Alt+F2, but I couldn't 
key it in, as the session would minimize as soon as I hit it.

What keyboard layout are you using?  I'm using US English, standard PC-104 
keyboard.  Maybe that could be the problem?

Justin


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: how to close the nxclient session properly

2005-10-27 Thread Justin Guerin
On Wednesday 26 October 2005 17:08, kamaraju kusumanchi wrote:
 I am using nxclient 1.5.0-113 downloaded from
 http://www.nomachine.com/download.php on a Debian Sid machine.

 On the client machine I run KDE. Inside this KDE session, when I run
 nxclient (using the available area option in the general tab) then a
 window pops up and connects to the server. When I close this window ( by
 clicking on the X of the title bar of nxclient window), I will be given
 an option to suspend, terminate, cancel the NX session. I always
 choose suspend option so that I can start working from where I left
 off.

 But if I use the FullScreen option in the general tab while
 configuring the nxclient, then when I run nxclient, it opens a nxclient
 session in full screen. Now I do not know how to suspend the current NX
 session and resume it later. Since it is run in full screen with no
 window whatsoever, I cannot do the previous method of clicking on X of
 the window title bar.

 any ideas on how to overcome this problem?

 thanks
 raju

If you click in the upper right hand corner of your screen, the NX session 
will minimize.  Right click on your NX session in your taskbar, and select 
close.  The NX session will restore itself, and ask you if you want to 
suspend, terminate or cancel.

Pretty intuitive, huh? ;-)

Justin Guerin


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: /dev/cdrom mounting

2005-10-25 Thread Justin Guerin
On Sunday 23 October 2005 09:08, J Merritt wrote:
  On Monday 17 October 2005 17:19, J Merritt wrote:
[snip]
 --- Justin Guerin [EMAIL PROTECTED] wrote:
  You should check out the fuser command.  The -m
  switch may help.  Once you
  figure out which process is accessing the mounted
  disk, you can stop that
  process.
 
  Alternately, if you can't stop the process, you can
  do a lazy unmount.
  Check the umount man page for a complete
  description.
 
  As others have said, you'll have to install the
  autofs package to get
  automounting, or use one of the other suggested
  solutions.

 Recently I ran 'apt-cdrom add /dev/cdrom' to add
 repository index to Synaptic. The disc would not eject
 even after apt-cdrom had unmounted it. I did a 'umount
 /dev/cdrom' and it said the device was not mounted, of
 course. It would not eject, period. Therefore, I
 logged out to the Debian GUI start page and logged
 back in. In that case, it ejected as soon as I closed
 out the KDE session. This error is in addition to the
 device not being able to umount once it has been
 mounted by almost any process.

 I have installed autofs but have not been using it
 long.

 Perhaps there is some other conflict here? Anyone have
 any ideas?


What does the fuser output show when you can't eject?  It should show you 
which process is still hanging on to the file node.  Konqueror tends to do 
this, even after you quit, because KDE preloads an instance at all times.  
You may have to log out of KDE (as you saw) to stop all instances of 
Konqueror.

Justin Guerin


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: /dev/cdrom mounting and umount -l

2005-10-25 Thread Justin Guerin
On Sunday 23 October 2005 12:04, J Merritt wrote:
 OK, the lazy unmount via 'umount -l' worked. I was
 able to unmount and re-mount two different discs. No
 problems reported. I take it this is something that
 should not be done under normal circumstances? Is
 there any issue with using lazy unmount (I assume it's
 called lazy for a reason)?

It's not the preferred solution, no.  It's called lazy because you don't 
have to work to find out which process is hanging on to the mount and stop 
it.  ;-)

Justin Guerin


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Add which package to get mplayer to play an ogg stream?

2005-10-21 Thread Justin Guerin
On Thursday 20 October 2005 14:27, Adam Funk wrote:
 On my Debian testing system at work, this works (using Marillat's
 mplayer-i586 package):

 $ mplayer http://engine.collegemedia.vt.edu:8000/wuvt.ogg


 On my Debian testing system at home (using Marillat's mplayer-k7
 package), however, it caches then fails thus:

 $ mplayer http://engine.collegemedia.vt.edu:8000/wuvt.ogg
 MPlayer 1.0pre7-3.3.5 (C) 2000-2005 MPlayer Team
 CPU: Advanced Micro Devices Athlon Thunderbird (Family: 6, Stepping: 2)
 Detected cache-line size is 64 bytes
 MMX2 supported but disabled
 3DNow supported but disabled
 3DNowExt supported but disabled
 CPUflags:  MMX: 1 MMX2: 0 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0
 Compiled for x86 CPU with extensions: MMX



 73 audio  180 video codecs
 Linux RTC init error in ioctl (rtc_irqp_set 1024): Permission denied
 Try adding echo 1024  /proc/sys/dev/rtc/max-user-freq to your system
 startup scripts.
 Opening joystick device /dev/input/js0
 Can't open joystick device /dev/input/js0 : No such file or directory
 Can't init input joystick
 Setting up LIRC support...
 mplayer: could not connect to socket
 mplayer: No such file or directory
 Failed to open LIRC support.
 You will not be able to use your remote control.
 Playing http://engine.collegemedia.vt.edu:8000/wuvt.ogg.
 Resolving engine.collegemedia.vt.edu for AF_INET...
 Connecting to server engine.collegemedia.vt.edu[128.173.235.23]:8000 ...
 Cache size set to 1024 KBytes
 Connected to server: engine.collegemedia.vt.edu
 Cache fill: 19.53% (204800 bytes)[Ogg] stream 0: audio (Vorbis),
 -aid 0
 Ogg file format detected.
 =
= Trying to force audio codec driver family libmad...
 Cannot find codec for audio format 0x73627276.
 Read DOCS/HTML/en/codecs.html!
 =
= Audio: no sound
 Video: no video


 Exiting... (End of file)

For what it's worth, a successful open looks like this:
[Ogg] stream 0: audio (Vorbis), -aid 0
Ogg file format detected.
==
Trying to force audio codec driver family libmad...
Opening audio decoder: [libvorbis] Ogg/Vorbis audio decoder
AUDIO: 44100 Hz, 2 ch, s16le, 112.0 kbit/7.94% (ratio: 14000-176400)
Selected audio codec: [vorbis] afm:libvorbis (OggVorbis Audio Decoder)
==


 I've compared various dpkg -l output to try to find the missing
 codec/library package but can't find it.  Does anyone know what package
 I need to add to play this stream?

 Thanks,
 Adam

I know you need at least libvorbis0a and libmad0 to play an ogg file, but 
when I remove the shared library, I don't get the same error as you, so 
that's probably not what's wrong.  Still, it's worth a version check:
ii  libvorbis0a1.1.0-1The Vorbis 
General Audio Compression Codec
ii  libmad00.15.1b-2.1MPEG audio 
decoder library
ii  mplayer-5861.0-pre7cvs20050716-0.1The Ultimate 
Movie Player For Linux


One other thing you might check: check your config files for defaults that 
might not make sense.

My Swedish is non-existent, but it seems a work-around is available.  See 
the thread at 
http://lists.debian.org/debian-user-swedish/2005/05/msg1.html.  Check 
out the first reply.  It seems you need to edit your codecs.conf as shown.

However, according to http://www4.mplayerhq.hu/DOCS/codecs-status.html, you 
should be able to play that format using libvorbis, so perhaps a reinstall 
of libvorbis, and possibly mplayer, is in order.

By the way, if you google on audio codec 0x73627276 (without the quotes), 
you should get quite a few hits, and perhaps one of them is in a language 
you understand better than Swedish. ;-)

Good luck,
Justin Guerin


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: how to be told imm. when dma is turned off?

2005-10-19 Thread Justin Guerin
On Wednesday 19 October 2005 09:07, Hugo Vanwoerkom wrote:
 Hi,

 The other day under 2.6.13-ck8 and Sarge, the kernel, bless 'm (her?),
 reset ide0 and turned off dma on /dev/hdb  where I was running on
 partition #3. (See the end of this post)

 I saw the effects of it while playing KUSC, but did not realize it was
 dma that was turned off and a reset had occurred.

 A little later on the kernel mounted the fs r/o and all hell broke loose
 of course.

 How can I be told immediately when dma is turned off on either disk and
 a reset has occurred? (Without having to look someplace).

 These were the syslog messages:
 ...
 Oct 15 04:44:14 localhost kernel: hdb: dma_intr: status=0×51 {
 DriveReady SeekComplete Error }
 Oct 15 04:44:14 localhost kernel: hdb: dma_intr: error=0×84 {
 DriveStatusError BadCRC }
 Oct 15 04:44:14 localhost kernel: ide: failed opcode was: unknown
 Oct 15 04:44:14 localhost kernel: end_request: I/O error, dev hdb,
 sector 32573730
 Oct 15 04:44:14 localhost kernel: Buffer I/O error on device hdb3,
 logical block 163905
 Oct 15 04:44:14 localhost kernel: lost page write due to I/O error on
 hdb3 ...
 Oct 15 04:44:14 localhost kernel: hdb: dma_intr: status=0×51 {
 DriveReady SeekComplete Error }
 Oct 15 04:44:14 localhost kernel: hdb: dma_intr: error=0×84 {
 DriveStatusError BadCRC }
 Oct 15 04:44:14 localhost kernel: ide: failed opcode was: unknown
 Oct 15 04:44:14 localhost kernel: ide0: reset: success
 ...
 Oct 15 07:00:01 localhost /USR/SBIN/CRON25263: (root) CMD (test -x
 /usr/sbin/anacron || run-parts—report /etc/cron.daily)
 ...
 Oct 15 07:00:02 localhost kernel: attempt to access beyond end of device
 Oct 15 07:00:02 localhost kernel: hdb3: rw=0, want=269866160,
 limit=15631245 Oct 15 07:00:02 localhost kernel: attempt to access beyond
 end of device Oct 15 07:00:02 localhost kernel: hdb3: rw=0,
 want=269866160, limit=15631245 Oct 15 07:00:02 localhost kernel: EXT2-fs
 error (device hdb3):
 ext2_readdir: bad page in #83883
 Oct 15 07:00:02 localhost kernel: Remounting filesystem read-only
 ...

 BTW this is a 4 months old SAMSUNG 80GB ATA disk.

 Thanks.

 H

Have a look at smartmontools.  You can configure how often to poll drives, 
and to email you under certain conditions.  The drives have to be SMART 
capable, but unless the drive is really old, that's not a problem, and 
since you mention yours are almost new, it will almost certainly be SMART 
capable.

If you're adventurous, you can use the -M exec PATH to perform useful  
tricks  when  a  disk problem  is detected (beeping the console, shutting 
down the machine, broadcasting warnings to all logged-in users, etc.)  But 
please be careful. smartd will block until the executable PATH returns,  so  
if  your executable hangs, then smartd will also hang.  The smartmontools 
package comes with some example scripts.

Justin Guerin



Re: direct rendering on i845G chipset

2005-10-18 Thread Justin Guerin
:
   No symbols found
 Skipping
 /usr/X11R6/lib/modules/extensions/libGLcore.a:m_debug_xform.o:  No
 symbols foun
 d
 (II) Module GLcore: vendor=X.Org Foundation
  compiled for 6.8.2, module version = 1.0.0
I don't use the GLcore module.  I recall using that disabled direct 
rendering for me, but I'll have to go back and check again to be sure.  
Suffice to say, I don't use it and I do have direct rendering enabled, but 
that may not be the cause of your problem.

 ...
 (II) I810(0): 6392 kBytes additional video memory is required to
  enable tiling mode for DRI.
 (II) I810(0): 4344 kBytes additional video memory is required to enable
 DRI. (II) I810(0): Disabling DRI.
OK, here's where your problem is.  You need more video memory to enable DRI.  
So use your bios configuration utility, and give the agp more memory.  
Then, try again.  I think it should work after you do that.

 ...
 (II) Loading /usr/X11R6/lib/modules/libfb.a
 Skipping /usr/X11R6/lib/modules/libfb.a:fbmmx.o:  No symbols found
 (II) Module fb: vendor=X.Org Foundation
  compiled for 6.8.2, module version = 1.0.0
  ABI class: X.Org ANSI C Emulation, version 0.2
 ...

 the relevant parts of my xorg.conf are
 Section Module
  LoadGLcore
  Loadbitmap
  Loaddbe
  Loadddc
  Loaddri
  Loadextmod
  Loadfreetype
  Loadglx
  Loadint10
  Loadrecord
  Loadtype1
  Loadv4l
  Loadvbe
  Loadsynaptics
 EndSection
 ...
 Section Device
  Identifier  Intel Corporation 82845G/GL[Brookdale-G]/GE
 Chipset Integrated Gr
 aphics Device
  Driver  i810
  BusID   PCI:0:2:0
  VideoRam8192
 EndSection
 ...
 Section DRI
  Mode0666
 EndSection
 ...

 if you need more info, let me know. thank you for help.

Nope, you have given all the information necessary to diagnose your problem.  
You've asked a great question!

 regards,

 --
 Lubos
 [EMAIL PROTECTED]

Let us know if adding more memory fixes your problem.

Justin Guerin


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: /dev/cdrom mounting

2005-10-18 Thread Justin Guerin
On Monday 17 October 2005 17:19, J Merritt wrote:
 I have been using Debian for about 2 months now after having used
 Mandrakelinux 10.1 for a much longer time. In Mandrake, the DVD/CD-writer
 will automount and auto-unmount whenever you insert or eject DVD/CD
 media. It has other issues, however.

 I like the way k3b works on the Debian side. Better than how it works on
 the Mandrake side. In Debian, however, I'm having a problem that I'm sure
 has a simple solution. I do not have automount enabled. I'm assuming it's
 something you do with /etc/fstab (?). So what I do is shell out, su, and
 'mount -r /dev/cdrom /mnt/cdrom'. This works fine for reading a single CD
 or DVD. However, after I enter the command, it will not allow me to
 'umount /dev/cdrom'. It keeps saying the device is busy. What do I need
 to do to get it to eject the media? How can I enable automounting the way
 it does it in Mdk? Or is it part of the same issue?

 TIA


You should check out the fuser command.  The -m switch may help.  Once you 
figure out which process is accessing the mounted disk, you can stop that 
process.

Alternately, if you can't stop the process, you can do a lazy unmount.  
Check the umount man page for a complete description.

As others have said, you'll have to install the autofs package to get 
automounting, or use one of the other suggested solutions.

Hope that helps,
Justin Guerin


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: direct rendering on i845G chipset

2005-10-18 Thread Justin Guerin
On Tuesday 18 October 2005 11:10, Lubos Vrbka wrote:
 hi!

[snip]
 ...
 (II) I810(0): 6392 kBytes additional video memory is required to
  enable tiling mode for DRI.
 (II) I810(0): 4344 kBytes additional video memory is required to enable
 DRI. (II) I810(0): Disabling DRI.
 
  OK, here's where your problem is.  You need more video memory to enable
  DRI. So use your bios configuration utility, and give the agp more
  memory. Then, try again.  I think it should work after you do that.

 unfortunately i cannot do it in bios - the only choice there is 1mb/8mb.
 can i do it somewhere else? some kernel parameter?

 what to do now?

I think you have 2 options.  First, you could try to update the BIOS.  Newer 
versions may support reserving more memory for video.

If that doesn't work, you could try using 855patch.  It's a program 
available at http://www.chzsoft.com.ar/855patch.html.  Once you read the 
instructions and download the program, you'll need to edit your xorg.conf 
file:
by adding a line Load dri to the Section Module
by using the Driver i810 in the Section Device
by setting VideoRam to the desired value in the Section Device

The first 2 lines, you already have.  You'll just have to edit your VideoRam 
setting to something larger than its current value of 8192.

Then, run the 855patch program before starting X.  Then start X, and you 
should be good to go.

To make the change permanent, you could call 855patch from an initscript, 
but make sure it runs before X is started.

 thanks for great help!

 regards,

 --
 Lubos
 [EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: direct rendering on i845G chipset

2005-10-17 Thread Justin Guerin
On Monday 17 October 2005 08:45, Lubos Vrbka wrote:
 hi guys,

 i decided to move my notebook from windows to linux. so far everything
 works fine (i haven't tried suspend and similar things yet). i was just
 wondering whether it's possible to get direct rendering on the
 integrated graphics card that is on the board. the chipset is
 Intel Corporation 82845G/GL[Brookdale-G]/GE Chipset Integrated Graphics
 Device

 everything works with xorg from testing except the direct rendering
 (although everything seems to be enabled correctly).

 i have
 CONFIG_MTRR=y
 CONFIG_AGP=y
 CONFIG_AGP_INTEL=y
 CONFIG_DRM=y
 CONFIG_DRM_I810=m
 CONFIG_DRM_I830=m
 CONFIG_DRM_I915=m

 however the system doesn't seem to use any of the drm modules.

 maybe i have to somehow force x to use module from /lib/modules instead
 of the i810 module in /usr/x11r6...? how to do that?

No, you're confusing kernel modules with X modules.  You can't load X 
modules into the kernel and vice versa.

 btw, lsmod doesn't give me any i??? module in use.

Based upon your chipset, you'll need to modprobe i830.  You may also need 
the intel_agp, agpgart and drm modules loaded, but modprobe i830 
should take care of that for you.

After those modules are loaded, try restarting X, and look for entries in 
the log file (/var/log/Xorg.0.log) like this [my comments in brackets]:
(II) LoadModule: i810
(II) Loading /usr/X11R6/lib/modules/drivers/i810_drv.o
(II) Module i810: vendor=X.Org Foundation
compiled for 6.8.2, module version = 1.3.0
Module class: X.Org Video Driver
ABI class: X.Org Video Driver, version 0.7
[note that this is the X driver, not the kernel driver]
...
(II) I810: Driver for Intel Integrated Graphics Chipsets: i810, i810-dc100,
i810e, i815, i830M, 845G, 852GM/855GM, 865G, 915G, E7221 (i915),
915GM, 945G
...
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 8, (OK)
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 8, (OK)
drmOpenByBusid: Searching for BusID pci::00:02.0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 8, (OK)
drmOpenByBusid: drmOpenMinor returns 8
drmOpenByBusid: drmGetBusid reports pci::00:02.0
(II) I810(0): [drm] DRM interface version 1.2
(II) I810(0): [drm] created i915 driver at busid pci::00:02.0
(II) I810(0): [drm] added 8192 byte SAREA at 0xdfdf6000
(II) I810(0): [drm] mapped SAREA 0xdfdf6000 to 0xb7c7a000
(II) I810(0): [drm] framebuffer handle = 0xf002
(II) I810(0): [drm] added 1 reserved context for kernel


If you get an error message instead, try replacing your X i810_drv.o module 
with the one from this web site:
http://www.fairlite.demon.co.uk/intel.html

Restart X, and if it still doesn't work, post the relevant portions of your 
log file.

 thanks in advance for any tips. regards,

 --
 Lubos
 [EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: network diagnostics

2005-09-08 Thread Justin Guerin
On Thursday 08 September 2005 00:12, Cam wrote:
 Hi,

 I recently switched ISP's (was using Qwest DSL, now i'm using M$N through
 Qwest (my dad did it!)), anyway, ever since the upgrade i am unable to do
 just about everything except for browse the net/ftp. By that i mean... no
 MSN, Jabber, Yahoo!, IRC, Bittorrent, various media-streaming, etc. The
 funny thing is that it all works from my familiy's windoze box. I tried
 watching the output of tcpdump -i eth0, but everything looked pretty
 normal (although i'm admittedly unfamiliar w/ those kinds of tools).
 Anyway, i'd like to get to the bottom of why none of my linux boxes are
 able to use those services, while the windows boxes still can. This
 wasn't a problem before the ISP switch. The new DSL modem they gave us
 though is doing the routing/dhcp/etc. Any tips?

 Thanks,
 Cameron Matheson

I'd suggest using tcptraceroute to see where the connection attempts die.  
Use the specific port number that matches the service you're trying to 
connect to.

If that doesn't help, post some relevant output diagnostics, such as 
ifconfig from your Linux box and ipconfig from your Windows box, traceroute 
results from both, etc.

Justin Guerin


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Can't get Intel 82915G on-board graphics controller to deactivate the monitor.

2005-07-29 Thread Justin Guerin
On Thursday 28 July 2005 09:26, Adam Funk wrote:
 My computer has on-board video which `lspci -v` reports as follows:

 :00:02.1 Display controller: Intel Corp. 82915G Express Chipset
 Family Graphics Controller (rev 04)
 Subsystem: Asustek Computer, Inc.: Unknown device 2582
 Flags: bus master, fast devsel, latency 0
 Memory at cfe0 (32-bit, non-prefetchable) [size=512K]
 Capabilities: [d0] Power Management version 2

 I tried using the i810 driver but couldn't get it to work (No screens
 found etc.).  Using the vesa driver everything works fine *except* that
 the screen won't go blank when the computer is inactive.  (I know the
 monitor is capable of handling this, since it used to do it correctly
 with a different computer and RedHat.)

 My XF86Config-4 file currently contains the following stanzas.

 Section Device
 Identifier  Generic Video Card
 Driver  vesa
 EndSection

 Section Monitor
 Identifier  LA702U
 HorizSync   30-70
 VertRefresh 60-160
 Option  DPMS  on
 EndSection

 I would especially appreciate any suggestions for getting this graphics
 card with the vesa driver to drop the monitor signal after a period of
 inactivity.  Alternatively, I'd be interested in debugging advice for
 getting the i810 driver to work (it's supposed to be the correct one).

 http://support.intel.com/support/graphics/sb/CS-010512.htm

 --
 Thanks,
 Adam

Hi Adam,

It seems a lot of people aren't too thrilled with the i810 driver in Xorg.  
I had a problem of direct rendering being on but alternately giving me 300+ 
fps on glxgears and then 30 fps after logging out and logging back in.

Anyway, after much searching, I found this link: 
http://www.fairlite.demon.co.uk/intel.html  You might try downloading that 
driver, and see if it fixes your problems.  It's worked for me, and a few 
other people as well.

Note that for X, use the i810_drv.o driver (called i810 in the config file), 
but in your kernel, load the i915.ko driver.

If you want, post the relevant portions of your log file, and we'll see if 
we can't figure out what's wrong.

Best of luck,
Justin Guerin


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Lost /dev/modem Symlink After Purging Udev And Reinstalling

2005-05-01 Thread Justin Guerin
posted  mailed

Leonard Chatagnier wrote:

 This request for help is being reposted as no one offered any help.
 Please, would someone respond with some help, even if its just a link
 offering a solution that a relative newbie can implement.
 
 
 After Purging udev including rming the entire /etc/udev directory and
 reinstalling to fix a sound problem I have
 to create the modem symbolic link, ln -s /dev/ttySHCF0 /dev/modem every
 time I boot up.  I've tried
 ChatagnierL-Home:/etc/udev/scripts# /etc/init.d/udev restart
 Recreating device nodes...done.
 ChatagnierL-Home:/etc/udev/scripts#
 After rebooting, still no /dev/modem and have to create symlink again
 ChatagnierL-Home:/etc/udev/scripts#  /usr/bin/udevtest /dev/modem
 version 056
 looking at '/dev/modem'
 sysfs_open_class_device_path failed
 ChatagnierL-Home:/etc/udev/scripts#
 Googled for above message and found 7 items concerning older versions of
 udev with pages of script that I wouldn't
 dare try.
 
 There were 2 or 3 files in /etc/udev/rules.d dir that were no recreated
 after reinstalling udev that goes something like:
 hfcpci.conf and 10 or 50sound.rules.  The hfcpci.conf is probably
 pertinent to the problem.  How can I recreate it?

You mention that you installed your driver from hfcpci~1.deb, which tells me
that you downloaded a driver from the manufacturer.  Nothing in /etc/udev
belonging to the hfcpci package should have been deleted, but if it was,
you should reinstall that package to get those config files back.
 
 Considered running the script inputdev.sh, read sh man and info but
 couldn't determine which option to use.  Never have run a script before
 but it seems to use Debian I going to have to do it.  Could someone clue
 me in if this is the
 correct script to use and the proper switch to use.  I am a relative
 newbie and not a programmer, just a user.
 I've also read the udev manual and googled on the subject, and its over
 my head.
 A quick solution is desirable as my system is fully functional
 otherwise(until the next upgrade/dist-upgrade anyway).  I'm using
 kernel-image 2.6.8-2-686 an upgrading under testing with udev version
 .056-2 installed.
 There is no entry regarding /dev/modem, only a capi entry, in the
 udev.rules file or in the devfs.rules file.
 
 _*NOT SUBSCRIBED-PLZ COPY MY EMAIL ADDRESS*__*
 *_
 Thanks for any help,
 Leonard Chatagnier



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Custom Kernel 2.4.18 = No Loadable Modules?

2005-05-01 Thread Justin Guerin
Tony Vandiver wrote:

 Hi All,
 
 I started with a Debian Woody Distribution 3.0r5 where the kernel
 version is 2.2.20.  I couldn't compile the Omnivision ov59x driver for
 a webcam and so based on the FAQ for the driver, I decided to upgrade
 to kernel 2.4.  I found some instructions for this, and after a few
 tries, I now have a semi-working system using kernel version 2.4.18. 
 My problem is that I don't seem to have any modules available for
 loading.  The /lib/modules/2.2.20 is full of *o object modules under
 subfolders like net and misc, but my /lib/modules/2.4.18 has no such
 files.  I tried compiling the driver, and it created a ov59x.o file
 that I managed to get into /lib/modules/2.4.18/kernel/drivers/usb, but
 now that's the only object file available.  When I built the kernel, I
 downloaded and untarred the 2.4.18 source, then did :
 
 
 ln -s /usr/src/kernel-source-2.4.18 linux
 cd /usr/src/linux
 make menuconfig# selecting several supported modules including my
 network card and usbcore, usb-uhci... make-kpkg kernel-image

You say you selected them.  Did you select to compile them into the kernel,
or did you select to compile them as modules?  Your symptoms point to the
former.  You won't have modules to load unless you ask for them.

You could, if you wanted, download and install the precompiled 2.4.18, then
take the /boot/config file from that kernel package, place it in your
source directory as .config, then compile, and you'll have all the familiar
modules.  But modules are only necessary when you actually have the
hardware to use them (or suspect one day you will)

 cd /usr/src
 dpkg -i kernel-image-2.4.18_10.Custom_i386.deb
 
 rebooted to a working kernel
 
 However, modconf shows no available modules
 
 I tried doing a make modules_install, but all compiles complained that
 there was nothing to do.  It attempts to look in directories like
 /usr/src/kernel-source-2.4.18/drivers/usb where there are valid source
 files like usbcore.c, but it says : Make[2]: Nothing to be done for
 'modules_install'
 
 I've seen a lot of newsgroup suggestions regarding this and the need to
 upgrade modutils, but my modutils version is 2.4.15-1 so I'm wondering
 what else to look for.
 
 Thanks for any help,
 
 Tony Vandiver



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Error apt-getting new EM64T kernel

2004-12-14 Thread Justin Guerin
On Tuesday 14 December 2004 12:27, Simon Buchanan wrote:
 Replies *below* :)

 Adam Aube wrote:
  Please don't top post (which is putting your reply above the original
  mesage) - it makes the thread harder to follow.
 
  Simon Buchanan wrote:
 Adam Aube wrote:
 Simon Buchanan wrote:
[snip error message installing kernel]

Just a quick thing to check, does the partition where your kernel and image 
reside have sufficient free space.  I had problems before with a kernel 
package not building the initial ram disk image OK, and it turned out 
my /boot partition was full.

Justin Guerin


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: testing apt-get not upgrading

2004-12-03 Thread Justin Guerin
On Friday 03 December 2004 04:38, Brendan J Simon wrote:
 I'm running testing and apt-get wont upgrade quite a few packages.
 I'm want to upgrade to mozilla-firefox and mozilla-thunderbird but these
 are being held back, along with quite a few other files.
 I'm doing the standard apt-get update/upgrade.

 If I do apt-get install mozilla-firefox it will install it but it is
 telling me it is going to remove a whole lot of packages like gnome and
 gnome-core.  I do not want that, at least I think I don't.

 If I try to apt-get install gnome, it tells me it can't becuase of other
 packages like gnome-office.

 If I apt-get install gnome-office, it will upgrade but will remove
 gnome.  How can installing gnome-office remove gnome ???
 Is gnome, gnome-themes, gnome-core, etc no longer required ???

 Is there anything I can do or do I just have to wait until these
 dependencies are fixed.  This doesn't happen on another machine I have
 at work but I think that is because gnome isn't installed.

 Thanks,
 Brendan Simon.
 Melbourne/Australia.

Hi Brendan,

Have you tried apt-get dist-upgrade?  Upgrade won't install new packages or 
remove packages, but dist-upgrade will, in an attempt to resolve 
dependencies.  Keep a close eye on what it wants to do before you let it, 
however.  Testing is testing, and there could be conflicts in package 
dependencies that could lead to removing packages you don't actually want 
to, but those cases are rare and with Sarge this close to release, I doubt 
that's the problem, unless parts of gnome 2.8 have started to trickle in.

Don't immediately fret if installing gnome-office wants to remove gnome.  
Gnome is a metapackage, and unless it wants to remove all the dependencies 
too, you won't lose anything.

Quite often, packages that provide the same (or very similar) things change 
names, and you'll have to remove the old named one to install the new one.  
That's what dist-upgrade was designed to solve for you.

Justin Guerin


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: 2.6.7 kernel panic

2004-11-30 Thread Justin Guerin
On Monday 29 November 2004 23:04, machoamerica wrote:
 i compiled the 2.6.7 kernel from source using make-kpkg.  when i
 boot i get this:

 UDF-fs: No partition found (1)
 Kernel panic: VFS: unable to mount root fs on unknown block(3,4)

Can you post a couple more lines before the panic?

 /dev/hda4 is the root partition and has /boot on it as well.  it's
 an ext3 partition.  i have no UDF partitions to my knowledge.

I think this is due to the order in which file systems are attempted.  I 
believe you can get this error, but still succeed.

 kernel options that may have relevance that i set for 2.6.7 are:

 CONFIG_EXT3_FS=y
 CONFIG_BLK_DEV_IDE=y
 CONFIG_BLK_DEV_IDEDISK=y
 CONFIG_BLK_DEV_RAM=y
 CONFIG_BLK_DEV_RAM_SIZE=16384
 CONFIG_BLK_DEV_INITRD=y
 CONFIG_BLK_DEV_IDEPCI=y
 CONFIG_DEVFS_FS=y

FWIW, those look fine, so far as I know.

 worse, my old 2.4.18 kernel no longer works.  i'm assuming this
 means that what i'm doing wrong is something trivial  stupid.
 my current lilo.conf is:

 boot=/dev/hda
 compact
 lba32
 timeout=200
 prompt

 # To use the new LILO boot menu, add the following
 bitmap=/boot/debianlilo.bmp
 bmp-table=109p,148p,1,7
 bmp-colors=0,15,8,15,1,7
 bmp-timer=514p,144p,0,15

 # don't think this is needed:
 #install=/boot/boot-bmp.b

 map=/boot/map
 vga=normal
 delay=20
 default=Linux
 image=/vmlinuz
  label = Linux
 # i've tried commenting out read-only, but to no avail
  read-only
  initrd=/initrd.img
  root=/dev/hda4

 image=/vmlinuz.old
  label = Linux 2.4
 read-only
 append = hdc=ide-scsi hdd=ide-scsi
 initrd=/initrd.img.old
  root=/dev/hda4

 other=/dev/hda1
 label=Windows 98

 thanks in advance for any help,
 macho

It seems as if your kernel image (the initial ram disk) is actually loaded, 
right?  That would lead me to believe it is not your boot loader that is 
the problem, but rather your kernel image.

On the other hand, if your old image is also found, but does not boot, then 
clearly the problem is broader than just your new kernel.

Have you checked your root file system for errors?

Is your computer from 1998 or earlier?  Older bios's don't support LBA, and 
if your kernels or your map file isn't within the first 1024 cylinders, 
your out of luck.  It could be that installing a new kernel moved the map 
file outside of the first 1024 cylinders, but I would think that would 
cause the kernels not to be found, so you wouldn't get as far as you did.  
Still, that's the reason some advocate a separate /boot partition: it can 
be small, and fully contained within the first 1024 cylinders, eliminating 
this problem.  It shouldn't be necessary on newer computers, however.

When you reran lilo after the install, it didn't complain, did it?

Justin Guerin


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: sound driver

2004-11-23 Thread Justin Guerin
On Saturday 20 November 2004 09:38, Jason Rennie wrote:
 On Fri, Nov 19, 2004 at 04:41:26PM -0700, Justin Guerin wrote:
[snip]

 So, I've been succesful in getting the sound driver (vi82cxxx_audio)
 to not load upon boot.  However, it now looks like the problem is
 deeper than just passing the right IRQ to the module... :(  /sbin/lsmod
 shows no sound driver and when I try to play an ogg file, I get
 Error: Cannot open device oss.  But, lspci -v shows that the sound
 card has been assigned IRQ 18!

 :00:11.5 Multimedia audio controller: VIA Technologies, Inc.
 VT8233/A/8235/8237 AC97 Audio Controller (rev 50) Subsystem: VIA
 Technologies, Inc.: Unknown device 4161
 Flags: medium devsel, IRQ 18
 I/O ports at e000 [size=256]
 Capabilities: available only to root

 Just to check, I tried sudo /sbin/modprobe via82cxxx_audio irq=22.
 It gives the error Warning: ignoring irq=22, no such parameter in
 this module.

 Anyway, the sound card is getting assigned an IRQ before the sound
 module is loaded.  It seems that something is going wrong at the PnP
 layer!  Feels like every time I figure something out, there's another
 problem lurking underneath...

 Jason

Hmm.  Perhaps you can set the IRQ in your BIOS setup?  If not, there may be 
another module that will accept the IRQ parameter.  It could be the driver 
for the PCI bus, but I have no idea what module that is.

You might boot knoppix in expert mode to see which module load manages to 
change the IRQ parameter.  It might also be present in the boot logs.

If you can't seem to get the IRQ changed, perhaps physically rearranging the 
cards on your PCI bus will help.  The defaults might work if you switch 
slots.

Sorry I can't be of more help.

Justin


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: initrd kernel image, dual boot with NTLDR

2004-11-23 Thread Justin Guerin
On Monday 22 November 2004 07:06, Brian Coiley wrote:
 Hi all.

 As a complete newbie, I've had lots of help from people here over the
 last few days, and as a result have upgraded Woody to Sarge.  However, I
 have also been advised to install a 2.4 kernel version, as opposed to the
 2.2 version that was installed with Woody.

 I tried to do this as follows:

 apt-get install kernel-image-2.4.27-1-k7

 But, I get a message saying, among other stuff, that I need to configure
 my boot loader to use initrd.  It also gives instructions on how to do
 this for LILO.  BUT, this is a dual-boot machine, with W2K, and I'm using
 NTLDR, not LILO.  So, does anyone know how I fix this using NTLDR or, if
 it can't be done, how I can change from using NTLDR to using LILO
 (crucially, without breaking Windows!)

 Thanks

 Brian

Hi Brian,

I don't have any experience using NTLDR, but boot loaders aren't usually 
that complex, so I think I know what you could do.

Lilo should be installed on to the boot sector of your Linux partition, not 
the MBR of the drive.  Once that is done, you follow the instructions on 
how to change LILO to boot your new kernel.  You don't have to worry about 
NTLDR at all, so long as you make NTLDR point to LILO (i.e. the boot sector 
of your partition).

What happens in that case is your computer starts executing whatever program 
is at the MBR (should be NTLDR).  NTLDR allows you to choose what you boot.  
If you choose Windows, it boots.  If you choose Linux, it hands control 
over to LILO.  LILO then asks you to choose which kernel you want to boot.  
After you choose, LILO hands off to the kernel, and you're off and running.

Alternately, you can choose to install LILO in the MBR.  If you configure 
LILO to give you the option to boot windows, you can let LILO manage your 
booting, and still boot windows.

Hope that helps,
Justin Guerin


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: sound driver

2004-11-19 Thread Justin Guerin
On Friday 19 November 2004 16:08, Jason Rennie wrote:
 On Thu, Nov 18, 2004 at 11:51:22AM -0700, Justin Guerin wrote:
  Sounds like you have a DMA or IRQ problem.  Can you check which DMA and
  IRQ channels are assigned during Knoppix boot, and during Debian boot? 
  You may have to tell the sound module to use a specific IRQ when it's
  loaded.  I had to do the same thing with my ISA card, when I first
  configured it.  I just went down the list of available IRQs before I
  got to one that worked.

 Did some reading on the subject.  The Sound How-To confirms your
 suspicisions:

   Another symptom is sound samples that loop. This is usually caused
   by an IRQ conflict.

 The Boot Prompt How-To has information on boot arguments, but they
 don't seem to work.  I tried both sound=22 and snd-via82xx=22
 (after making sure I had alsa-modules-2.4.27-1-686 installed), but the
 card gets configured with IRQ 18.  Here's the dmesg output:

 Via 686a/8233/8235 audio driver 1.9.1-ac3
 via82cxxx: Six channel audio available
 PCI: Setting latency timer of device 00:11.5 to 64
 ac97_codec: AC97 Audio codec, id: VIA97 (Unknown)
 via82cxxx: board #1 at 0xE000, IRQ 18

 [EMAIL PROTECTED]:~$ cat /proc/cmdline
 root=/dev/hdb2 ro snd-via82xx=22

These won't work, because the arguments are provided to the kernel, not to 
the module.  If your sound driver were compiled into the kernel, this would 
be the proper way to provide the argument.  Since it's not, you've got to 
provide the argument when the module actually loads.

 Any ideas what else I should try?

 Many thanks,

 Jason

One easy way is to specify the option as an argument to modprobe.  I can't 
remember the exact format, but I think it's sufficient to do modprobe 
snd-via82xx irq=22.  I'll keep looking for the proper format, but I'll 
send this message, just in case the above works.

As for making it permanent across a reboot, you've got two options.  You can 
compile the module in the kernel, and specify the IRQ on the kernel command 
line (as you did above), or you can edit a file somewhere and provide the 
argument to modprobe when it loads the module at boot time.  I'm trying to 
find that file, but I haven't yet. :-/  I'll let you know if I find the 
information I'm lacking.  Sorry I can't be of more help right now, but it 
was so long ago that I had to twiddle with my sound card.

Justin


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: sound driver

2004-11-19 Thread Justin Guerin
On Friday 19 November 2004 16:41, Justin Guerin wrote:
 On Friday 19 November 2004 16:08, Jason Rennie wrote:
  On Thu, Nov 18, 2004 at 11:51:22AM -0700, Justin Guerin wrote:
   Sounds like you have a DMA or IRQ problem.  Can you check which DMA
   and IRQ channels are assigned during Knoppix boot, and during Debian
   boot? You may have to tell the sound module to use a specific IRQ
   when it's loaded.  I had to do the same thing with my ISA card, when
   I first configured it.  I just went down the list of available IRQs
   before I got to one that worked.
 
  Did some reading on the subject.  The Sound How-To confirms your
  suspicisions:
 
Another symptom is sound samples that loop. This is usually caused
by an IRQ conflict.
 
  The Boot Prompt How-To has information on boot arguments, but they
  don't seem to work.  I tried both sound=22 and snd-via82xx=22
  (after making sure I had alsa-modules-2.4.27-1-686 installed), but the
  card gets configured with IRQ 18.  Here's the dmesg output:
 
  Via 686a/8233/8235 audio driver 1.9.1-ac3
  via82cxxx: Six channel audio available
  PCI: Setting latency timer of device 00:11.5 to 64
  ac97_codec: AC97 Audio codec, id: VIA97 (Unknown)
  via82cxxx: board #1 at 0xE000, IRQ 18
 
  [EMAIL PROTECTED]:~$ cat /proc/cmdline
  root=/dev/hdb2 ro snd-via82xx=22

 These won't work, because the arguments are provided to the kernel, not
 to the module.  If your sound driver were compiled into the kernel, this
 would be the proper way to provide the argument.  Since it's not, you've
 got to provide the argument when the module actually loads.

  Any ideas what else I should try?
 
  Many thanks,
 
  Jason

 One easy way is to specify the option as an argument to modprobe.  I
 can't remember the exact format, but I think it's sufficient to do
 modprobe snd-via82xx irq=22.  I'll keep looking for the proper format,
 but I'll send this message, just in case the above works.

 As for making it permanent across a reboot, you've got two options.  You
 can compile the module in the kernel, and specify the IRQ on the kernel
 command line (as you did above), or you can edit a file somewhere and
 provide the argument to modprobe when it loads the module at boot time. 
 I'm trying to find that file, but I haven't yet. :-/  I'll let you know
 if I find the information I'm lacking.  Sorry I can't be of more help
 right now, but it was so long ago that I had to twiddle with my sound
 card.

 Justin

OK, you need to edit /etc/modules.conf and provide the option there.  I'm 
pretty sure the format is irq=22, but not 100% sure.  See the man page 
for modules.conf in order to get the general syntax right.  They don't 
document the options format, because they are module dependent, but it 
should get you most of the way there.

Justin


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: sound driver

2004-11-18 Thread Justin Guerin
On Thursday 18 November 2004 07:59, Jason Rennie wrote:
 On Wed, Nov 17, 2004 at 01:25:51PM -0700, Justin Guerin wrote:
  The size discrepency is most likely due to differing kernel versions. 
  What kernel are you using in Sarge?  How about in Knoppix?

 Both are 2.4.27

  Hmm, the above output would seem to suggest that ogg123 is actually
  working. If there isn't an error  message you forgot to copy, how about
  turning up the volume via a mixer?

 Sorry, forgot to mention the details of the problem...  the first
 second of the song is repeated continuously.  It works in the sense
 that I get out sound and it is sound from the song that I'm trying to
 play, but it only plays the first second, over-and-over again.
 Imagine a CD or record that keeps skipping.

 Jason

Sounds like you have a DMA or IRQ problem.  Can you check which DMA and IRQ 
channels are assigned during Knoppix boot, and during Debian boot?  You may 
have to tell the sound module to use a specific IRQ when it's loaded.  I 
had to do the same thing with my ISA card, when I first configured it.  I 
just went down the list of available IRQs before I got to one that worked.

Hope that helps,
Justin


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: sound driver

2004-11-17 Thread Justin Guerin
On Tuesday 16 November 2004 15:48, Jason Rennie wrote:
 In short: I can't play ogg files on my Debian Sarge (2.4.27) machine,
 but I can if I boot off a Knoppix live CD (v3.6, kernel 2.4.27).
 i.e. the drivers I have installed on my Debian Sarge machine aren't
 working.  I'd like to set things up to use the sound drivers that
 Knoppix uses, but I don't know how.  Does anyone out there know how
 I'd go about doing this?  Here's the output of /sbin/lsmod on Debian
 Sarge:

 Module  Size  Used byTainted: PF
 via82cxxx_audio21564   1
 ac97_codec 13300   0 [via82cxxx_audio]
 uart401 6436   0 [via82cxxx_audio]
 sound  57480   0 [via82cxxx_audio uart401]
 soundcore   3940   4 [via82cxxx_audio sound]

Ok, you're using the OSS modules

 via82cxxx  10856   1 (autoclean)

This is for the IDE chipset (notice the dependence on ide-core).  It's got 
nothing to do with sound, save the fact that it's made by the same company.

 Here's lsmod output for Knoppix:

 Module  Size  Used byNot tainted
 via82cxxx_audio19448   1
 ac97_codec 11916   0 [via82cxxx_audio]
 uart401 6052   0 [via82cxxx_audio]
 sound  55276   0 [via82cxxx_audio uart401]
 soundcore   3428   4 [via82cxxx_audio sound]

OK, Knoppix is also using OSS.

 My sound card is built into my Via motherboard.  via82cxxx_audio and
 via82cxxx appear to be the driver modules.  The size of
 via82cxxx_audio differs and Knoppix doesn't use via82cxxx.  

The size discrepency is most likely due to differing kernel versions.  What 
kernel are you using in Sarge?  How about in Knoppix?

 But, I can't rmmod via82cxxx on Debian:

 [EMAIL PROTECTED]:~$ sudo rmmod via82cxxx
 Password:
 via82cxxx: Device or resource busy

This means that something is using the sound card.  If I had to guess, it's 
your sound server.  Do you have one running (esound, arts, etc?)?  If you 
stop your sound server, then quit all applications which use sound (like 
your mixer, if it's running), you can unload the module.  There's no reason 
to do this, however, unless you want to run Alsa instead.  First things 
first, though.  Let's get OSS running before you switch.

 In case it's useful, here's the output of ogg123 (looks the same for
 both Debian and Knoppix):

 Audio Device:   OSS audio driver output

 Playing: ogg/king_crimson/sleepless_the_concise_king_crimson/red.ogg
 Ogg Vorbis stream: 2 channel, 44100 Hz
 Title: Red
 Artist: King Crimson
 Genre: 17
 Date: 1993
 Album: Sleepless (The Concise King Crimson)

 Any help would be much appreciated!

 Thanks,

 Jason

Hmm, the above output would seem to suggest that ogg123 is actually working.  
If there isn't an error  message you forgot to copy, how about turning up 
the volume via a mixer?

 P.S. Many thanks to Maurits van Rees and Wim De Smet for helping me
 get this far!


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: konqueror and supported protocols

2004-11-16 Thread Justin Guerin
On Tuesday 16 November 2004 05:40, Curt Howland wrote:
 The KDE Info Center index has an entry for Protocols. This is the
 list of available IO slaves in Konqueror, like http:/, file:/,
 smb:/. Looking there now I see fish:/ but also ssh:/ is listed.

 I'm having problems right now with smb:/ giving the message:

  An error occurred while loading smb:/:

  Could not start process Unable to create io-slave:
  klauncher said: Error loading 'kio_smb'.
  .

 smb:/ worked last week, but I'm on Sid and there was a KDE upgrade
 over the weekend and it seems to have broken. Oh well. Is it working
 for anyone else?

 Curt-


Hi Curt,

I am not having this problem.  The smb io_slave is from the package 
kdebase-kio-plugins, and I have version 3.3.1-2 installed, which is up to 
date as of today.  I wonder if your Sid is completely up to date?  I.e., 
have you done an apt-get upgrade recently?  I have had problems before with 
KDE where apps don't launch correctly when I upgrade only KDE and its 
dependencies.  There seem to be some dependencies that aren't mentioned, 
but I can never figure out what exactly they are.  However, after an 
upgrade, things start to work again, even though the KDE versions didn't 
change.

On the other hand, I get an illegal instruction error when I launch aptitude 
(in graphical mode, i.e. with no arguments).  Otherwise, it works in 
command line mode.  I'm completely up to date, so I don't know what's wrong 
there.

Hope that helps,
Justin Guerin


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: advice on updating kernel image

2004-11-16 Thread Justin Guerin
On Monday 15 November 2004 15:20, Randall Smith wrote:
 Justin Guerin wrote:
  On Wednesday 10 November 2004 11:20, Randall Smith wrote:
[snip]
  Just make sure those modules are placed in the initial ram disk, and
  everything will be fine.

 That's what I'm uncertain about how to do.  Do I have to do this
 manually or will aptitude figure out what to do.  I did not do this
 manually when I installed Debian.

 If I have to do it manually, how do I go about it?  How can I see what
 is in my current initial ram disk?  I'm lost on this subject.

 Randall

You have to do it manually.  Start with man mkinitrd.  It will tell you that 
you have to place the modules you want in your ram disk in 
the /etc/mkinitrd/modules file, and check the config file to make sure 
mkinitrd will place those files in the resulting image.  For example, I 
boot a raid 1 root partition, using reiserfs, so mine includes the modules 
reiserfs, md, and raid1.  

After you edit the modules file, run mkinitrd, and point your boot loader at 
the new image.

As for seeing what's in your current initial ram disk, I'm afraid I don't 
know.  It is, however, an image, and you might possibly mount it using the 
loopback interface, but I've never done that.

Justin Guerin

[snip]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: upgrading KDE

2004-11-11 Thread Justin Guerin
On Wednesday 10 November 2004 19:15, downtime null wrote:
 Hello Debian Users!

 Let me start by saying that I am new to Debian, not Linux. I'm not
 familiar with some of the conventions and tools specific to Debian. I
 switched to Debian because I've always heard great things about its
 package management and I know that it uses binary packages (as opposed
 to Gentoo, which has fantastic package management, but only uses
 source).

 I would like to upgrade to at least KDE 3 (3.3 would be nice), but apt
 is giving me fits. I'm sure it's something simple that I'm just
 overlooking. When I type the command 'apt-get -f install kde', I get :

 Reading Package Lists... Done
 Building Dependency Tree... Done
 Some packages could not be installed. This may mean that you have
 requested an impossible situation or if you are using the unstable
 distribution that some required packages have not yet been created
 or been moved out of Incoming.

 Since you only requested a single operation it is extremely likely that
 the package is simply not installable and a bug report against
 that package should be filed.
 The following information may help to resolve the situation:

 Sorry, but the following packages have unmet dependencies:
   kde: Depends: kde-core but it is not going to be installed
Depends: kde-amusements but it is not going to be installed
 E: Sorry, broken packages

 The only line I have in my sources.list is :

 deb http://ftp.us.debian.org/debian/ testing main non-free contrib

 I'm using testing because stable seems to use thoroughly tested but very
 outdated packages. Shouldn't the '-f' switch cause apt-get to resolve
 the dependencies?

 As an alternative, and I hate to even suggest this, is it generally
 considered a Bad Thing (tm) to use RPMs in Debian?

 I'm having some other issues with my system, but I'd like to get this
 resolved first and take things one step at a time.

 Any help in this matter is appreciated.

 Thanks.

The nice thing about apt-get and its ilk is that they will keep recursing 
until all dependencies are solved or determined to be unsolvable.  The not 
so nice thing is that the error messages won't recurse all the way down.

What you tried to install, kde, is a metapackage.  It depends on other 
packages, which you can see if you use apt-cache show kde.  Of those 
dependencies, kde-core and kde-amusements had problems, but the rest were 
OK.  If you then type apt-get install kde-core kde-amusements, the output 
should tell you that one or more packages these depend on will not be 
installed.  You can do this until you see the actual cause of the problem.

Alternately, since kde is a metapackage, you could elect to install only the 
components you know you want, letting apt-get take care of the 
dependencies, but hopefully avoiding the broken package that's keeping all 
of kde from going in at once.

Note that this is what makes testing and unstable different from stable: 
packages will be broken from time to time (though not that often).  They 
usually get fixed quickly, though occasionally they have lasted a while.

Hope that helps,
Justin Guerin


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Can't burn CDs since kernel 2.6.7 - am I the only one?

2004-11-10 Thread Justin Guerin
On Wednesday 10 November 2004 08:37, Brian Pack wrote:
 On Wed, 2004-11-10 at 10:06 -0500, Colin wrote:
  Justin Guerin wrote:
   On Tuesday 09 November 2004 11:33, Alan Chandler wrote:
  
   I had the same problem using 2.6.6 and a USB DVD writer burning CDs
   with K3B as the frontend.  Switching to a CD writer, I haven't had
   problems.  I don't have the DVD writer anymore, so I can't check it,
   and I have no idea what was going wrong, but you should know that you
   are not alone.
 
  My problem is just the opposite.  I have both an IDE CD writer and an
  IDE DVD writer.  k3b recognizes the DVD writer as a DVD writer ONLY
  (not a CD writer) and recognizes the CD writer as a CD-ROM only.  I
  can't write CDs with k3b but I can with cdrecord.  Weird.  I'm using
  2.6.9.

 Which version of k3b are you using? This was a problem up to v. 0.11.5.
 Current is 0.11.17. Using the Debianized kernel from
 kernel-source-2.6.8-4 or newer, and k3b 0.11.17, I no longer have this
 problem.

Well, right now, I'm using 0.11.17, but I don't know what I was running when 
I had the problem with the DVD writer.  I'll see if I can get my hands on 
it and try again.  I'm still on 2.6.6, however.

Justin Guerin


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



  1   2   3   >