Re: duplicity, backup to ftp and specifying a user name

2006-05-30 Thread Darin Strait
Ralph Katz wrote:
 I've only used duplicity with scp, but maybe you have bug  #238677.  Bug
 report has a work-around.

I had seen the issue with no files at the destination referenced elsewhere:
http://savannah.nongnu.org/bugs/?func=detailitemitem_id=2441

I uploaded a small file but I still had the problem.

BUT, I did look through the other bugs at debian.org and found this one:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=332686

There is a suggested code change there, so I will try patching my copy
of duplicity.

If this does not do the trick, I guess that I am stuck doing this in two
steps or I'll have to cave in and get a dreamhost account so that I can
do scp. My goal is encrypted, off-site backups of a few GB off files.


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



duplicity, backup to ftp and specifying a user name

2006-05-29 Thread Darin Strait
I am attempting to use duplicity to store backups at a remote site
(host.com).

The ftp user name is [EMAIL PROTECTED] I do not have control over this
name. Simply using someuser will not work.

If I tell duplicity to use:

ftp://[EMAIL PROTECTED]@host.com

duplicity seems to not be able to parse the hostname properly and can't
even connect to the remote server. If I try:

ftp://[EMAIL PROTECTED]

I get an error about failed security:

duplicity.backends.BackendException: (-2, 'Name or service not known')

I don't see any way to specify a ftp user name through an environment
variable.

Does anyone have a way around this, short of my storing the backups
locally and using ncftp to copy them to the remote site?


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



Re: nVidia and the Black Screen Problem... Continued

2006-01-24 Thread darin strait
[issues with nvidia hardware and black screens (rather than X windows)
deleted]

I had similar problems. 

I'm running a Shuttle NForce2 (SN41G2, IIRC) machine with the DVI card,
sid, x.org, 2.6.14 (maybe 2.6.15?), kde, the nvidia closed drivers and
udev. 

The symptom was that when I rebooted, X would not come up. I'd get a
black screen. When I touched a key, the black screen would disappear
(so to speak) and the machine would show a character-based login
prompt. I could then login as root, reinstall the nvidia drivers,
restart kdm and I'd get a graphical login prompt. All would be fine
until the next reboot. I put up with this for a while (weeks, maybe
months) since the machine is up most of the time anyway.

Eventually, I tweaked udev with some rules that I found somewhere on
the web. If you want, I could dig through my notes when I get home to
see what I did. My problem was solved for a while. A few apt-get
updates later, after some x.org and udev chagnes, the problem
reappeared. That was about two weeks ago. I downloaded and installed
the latest binary drivers from nvidia.com and it's been fine since
then.

hth,
-- darin


[EMAIL PROTECTED]  
Database Development and Administration 

Change is hardest for those caught by surprise., Thomas Friedman

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


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



FIXED: nvidia binary driver locks up computer

2005-07-16 Thread darin strait
I poked around on Andrew Schulman's site
[http://home.comcast.net/~andrex/Debian-nVidia/troubleshooting.html.]
for a while, then settled in and spent an hour reading the readme file.
In Appendix C, there is a listing of installed components, including
files. I started poking around in those directories and noticed:
$ls -l /usr/X11R6/lib/modules/drivers/nvidia*
-rw-r--r--  1 root root 781464 Apr  7 05:47 nvidia_drv.o
-rwxr-xr-x  1 root root 791881 Jun 16 19:13 nvidia_drv.so

The .so file sticks out as an oddball. All of the other files in that
directory are *.o and of the same date, Apr 7. Two different files with
the same base name also seemed wrong.

I moved nvidia_drv.so out of that directory and things have been stable
for 24 hours now.

Now I just want to get RandR working...

--- Andrew Schulman [EMAIL PROTECTED] wrote:

  I have an nforce2 system, and I'm using the onboard AGP graphics. I
 am
  running sid, 2.6.11-1-k7, nvidia binary drivers 7174. (The nv
 driver
  works, but it's much slower than the binary driver, I can't use my
 TV
  tuner card because it strains my system too much without the nvidia
  closed-source binary drivers and I'd like to be able to use RandR.)
  
  I've had this problem with Kde 3.3 as well as kde 3.4.1. 
  I've had this problem with 2.6.10-?-k7.
  I've had this problem with xfree86 and now I find that it persists
 into
  xorg.
  
  The machine boots fine and  I see the nvidia logo and kdm comes up.
 I
  type my name and password and the machine locks up during the phase
  where it sets up interprocess communication. The lock up requires
 the
  application of the reset button.
  
  If I disable the KDE start up screen, I can get logged in OK. If I
 run
  glxgears, I see the good fps numbers due to the acceleration. If I
 shut
  down glxgears, the machine locks up again. 
  
  In a nutshell, my problem is that whenever X tries to do something
 more
  esoteric with the card, X locks the machine up.
 
 Darin, you don't say whether your machine is a desktop or laptop.  If
 it's a desktop, try putting in a spare video card if you have one. 
 If
 you don't have one on hand, you can probably find one comparable to
 your
 integrated graphics for  $100.  I know this is undesirable, but it
 may
 be worth the cost to get up and running again.
 
 There's a list of general troubleshooting tips for the Nvidia drivers
 at
 http://home.comcast.net/~andrex/Debian-nVidia/troubleshooting.html.
 
 I see a lot of reports from laptop users about black screens or
 lockups
 with Nvidia video hardware.  Many report problems, few report
 solutions.  
 
 Good luck, and let us know if you solve it.
 A.
 
 
 -- 
 To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
 with a subject of unsubscribe. Trouble? Contact
 [EMAIL PROTECTED]
 
 


[EMAIL PROTECTED]  
Database Development and Administration 

I am always willing to run some hazard of being tedious, in order to be sure 
that I am perspicuous Adam Smith

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


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



nvidia binary driver locks up computer

2005-07-14 Thread darin strait
I have an nforce2 system, and I'm using the onboard AGP graphics. I am
running sid, 2.6.11-1-k7, nvidia binary drivers 7174. (The nv driver
works, but it's much slower than the binary driver, I can't use my TV
tuner card because it strains my system too much without the nvidia
closed-source binary drivers and I'd like to be able to use RandR.)

I've had this problem with Kde 3.3 as well as kde 3.4.1. 
I've had this problem with 2.6.10-?-k7.
I've had this problem with xfree86 and now I find that it persists into
xorg.

The machine boots fine and  I see the nvidia logo and kdm comes up. I
type my name and password and the machine locks up during the phase
where it sets up interprocess communication. The lock up requires the
application of the reset button.

If I disable the KDE start up screen, I can get logged in OK. If I run
glxgears, I see the good fps numbers due to the acceleration. If I shut
down glxgears, the machine locks up again. 

In a nutshell, my problem is that whenever X tries to do something more
esoteric with the card, X locks the machine up.

I can't find anyone else with quite my problem. The only references I
find are people tweaking for performance, not with any lock-ups.
Seemingly, this works for everyone but me.

I've been alternately dealing with and ignoring this problem for
months. Once upon a time, everything worked just fine and I didn't pay
much attention to it. Sometime in the past,, my binary nvidia driver
set up quit working to the point where X would crash with a caught
signal 11 when it started. I didn't have time to troubleshoot then, so
I just switched over to the nv driver and put the issue on my to do
list. After much fiddling, I smoothed out that problem. (The problem
revolved around conflicting advice googled from various web pages (use
the binary driver, use the debian packages, tweak this file, tweak
that, etc.) Eventually, I undid all of this damage and X now starts OK,
the machine just locks up a little later.

A while back, I had a wierd incident where my on-board NIC seemed to
disable itself. Is it possible that some other motherboard setting got
changed as well? Everything I see looks OK.

I'm now using the debian nvidia packages:
[EMAIL PROTECTED]:~$ dpkg --get-selections | grep nvidia
nvidia-glx  install
nvidia-kernel-2.6.11-1-k7   install
nvidia-kernel-commoninstall
nvidia-kernel-sourceinstall

The proper modules seem to load:
[EMAIL PROTECTED]:~$ lsmod | grep nvidia
nvidia_agp  7836  1
nvidia   3923516  0
agpgart34600  2 nvidia_agp,nvidia

(It's my belief that the latest nvidia drivers require agpgart, whereas
nvidia_agp used to handle everything.)


[EMAIL PROTECTED]:~$ cat /proc/driver/nvidia/agp/card
Fast Writes: Supported
SBA: Supported
AGP Rates:   4x 2x 1x
Registers:   0x1f000217:0x1f000104

[EMAIL PROTECTED]:~$ cat /proc/driver/nvidia/agp/host-bridge
Host Bridge: nVidia Corporation nForce2 AGP (different version?)
Fast Writes: Supported
SBA: Supported
AGP Rates:   4x 2x 1x
Registers:   0x1f000217:0x0104

[EMAIL PROTECTED]:~$ cat /proc/driver/nvidia/agp/status
Status:  Disabled

(That last thing about the status being disabled is a poser. I can't
find anything that looks relevant from dmesg.)



# XF86Config-4 (XFree86 X Window System server configuration file)
# [snippage]

Section Files
FontPath/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType
FontPath/usr/lib/X11/fonts/misc
FontPath/usr/lib/X11/fonts/100dpi/:unscaled
FontPath/usr/lib/X11/fonts/75dpi/:unscaled
FontPath/usr/lib/X11/fonts/Type1
EndSection

Section Module
Loadbitmap
Loaddbe
Loadddc
Loadextmod
Loadfreetype
Loadglx
Loadint10
Loadrecord
Loadtype1
Loadvbe
Loadv4l
EndSection

Section InputDevice
Identifier  Generic Keyboard
Driver  keyboard
Option  CoreKeyboard
Option  XkbRules  xfree86
Option  XkbModel  pc104
Option  XkbLayout us
EndSection

Section InputDevice
Identifier  Configured Mouse
Driver  mouse
Option  CorePointer
Option  Device/dev/input/mice
Option  Protocol  ImPS/2
Option  Emulate3Buttons   true
Option  ZAxisMapping  4 5
EndSection

Section Device
Identifier  Geforce4mx

# nvidia is causing kde to flip out; it locks up the machine
#Driver nvidia
# nv is the internal X Nvidia driver, nvidia is NVidia's driver
Driver  nv

# Adding this, per a tip 

Can't update my binary nvidia driver to 7174 when upgrading to 2.6.11

2005-06-06 Thread darin strait
I'm running sid on an nforce2, with the k7-specific kernel. I am
attempting to upgrade from 2.6.10 to 2.6.11. Every thing seems to work
except for my nvidia driver.

I attempted to move away from the old installer downloadable from
nvidia to the new method described here:

http://home.comcast.net/~andrex/Debian-nVidia/installation.html

This technique fails. Essentially, I wind up with:
FATAL: Error inserting nvidia
(/lib/modules/2.6.11-1-k7/nvidia/nvidia.ko): Unknown symbol in module,
or unknown parameter (see dmesg)

The relevant stuff from dmesg:
nvidia: Unknown symbol agp_bind_memory
nvidia: Unknown symbol agp_enable
nvidia: Unknown symbol agp_backend_acquire
nvidia: Unknown symbol agp_free_memory
nvidia: Unknown symbol agp_allocate_memory
nvidia: Unknown symbol agp_unbind_memory
nvidia: Unknown symbol agp_copy_info
nvidia: Unknown symbol agp_backend_release


Falling back to the downloadable installer, I find that it also fails.
The last part of the installer log shows:

- Kernel module load error: insmod: error inserting
'./usr/src/nv/nvidia.ko':
   -1 Unknown symbol in module
- Kernel messages:
   nvidia: Unknown symbol agp_enable
   nvidia: Unknown symbol agp_backend_acquire
   nvidia: Unknown symbol agp_free_memory
   nvidia: Unknown symbol agp_allocate_memory
   nvidia: Unknown symbol agp_unbind_memory
   nvidia: Unknown symbol agp_copy_info
   nvidia: Unknown symbol agp_backend_release
   nvidia: Unknown symbol agp_bind_memory
   nvidia: Unknown symbol agp_enable
   nvidia: Unknown symbol agp_backend_acquire
   nvidia: Unknown symbol agp_free_memory
   nvidia: Unknown symbol agp_allocate_memory
   nvidia: Unknown symbol agp_unbind_memory
   nvidia: Unknown symbol agp_copy_info
   nvidia: Unknown symbol agp_backend_release
ERROR: Installation has failed.  Please see the file
   '/var/log/nvidia-installer.log' for details.  You may find
suggestions
   on fixing installation problems in the README available on the
Linux
   driver download page at www.nvidia.com.


It seems that both methods of installation are having a similar
problem. /usr/src/linux points to /usr/src/kernel-headers-2.6.11-1-k7/.

I had 7174 working on 2.6.10 for months, but now I don't seem to be
able to fall back.

I've fallen back to using the X nv driver and 2.6.11, which is slow
for some things and OpenGL doesn't seem work.


-- darin

[EMAIL PROTECTED]  
Database Development and Administration 

I am always willing to run some hazard of being tedious, in order to be sure 
that I am perspicuous Adam Smith



__ 
Discover Yahoo! 
Use Yahoo! to plan a weekend, have fun online and more. Check it out! 
http://discover.yahoo.com/


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



apt-get remove kernel-image-2.6.8-2-k7 also removes kernel-image-2.6-k7

2005-05-26 Thread darin strait
I've been running the 2.6.10 kernel on my Athlon for quite a while now
and I'd like to remove the old 2.6.8 image. So...

[EMAIL PROTECTED]:~$ sudo apt-get remove kernel-image-2.6.8-2-k7
Reading Package Lists... Done
Building Dependency Tree... Done
The following packages will be REMOVED:
  kernel-image-2.6-k7 kernel-image-2.6.8-2-k7
0 upgraded, 0 newly installed, 2 to remove and 54 not upgraded.
Need to get 0B of archives.
After unpacking 45.2MB disk space will be freed.
Do you want to continue? [Y/n]

Should I be worried about apt trying to remove the kernel-image-2.6-k7?



[EMAIL PROTECTED]  
Database Development and Administration 

I am always willing to run some hazard of being tedious, in order to be sure 
that I am perspicuous Adam Smith



__ 
Do you Yahoo!? 
Yahoo! Small Business - Try our new Resources site
http://smallbusiness.yahoo.com/resources/


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



Module piix cannot be unloaded due to unsafe usage

2004-02-18 Thread Darin Strait
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I have a i810e motherboard, PIII/866MHz/320MB, single 120 GB IDE udma4 disk, a 
CD-RW and an SMC 10/100 NIC. I am using the onboard audio and video.

I am running a stock debian kernel:
Linux kiyone 2.6.2-1-686 #1 Sat Feb 7 13:49:20 EST 2004 i686 GNU/Linux


My problem is the following message from boot time:

Module piix cannot be unloaded due to unsafe usage in 
include/linux/module.h:489

This seems to be true, since I can't modprobe -r to remove the piix module:
kiyone:/etc# lsmod | grep piix
ata_piix8036  0
libata 40928  1 ata_piix,[permanent]
piix   12672  1 [unsafe]
ide_core  160952  3 ide_disk,ide_detect,piix

kiyone:/etc# modprobe -r piix
FATAL: Module piix is in use.

How much of a problem is this and what do I do to fix it?

Thanks,
- -d
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFAM8ixBvPMwzw/p/cRAtDyAKCaRw5lgWKwKMfii9LSX3l0Pgw/gwCcDbt8
RiegKw7k6UT5f1lY30tL9ek=
=wpDj
-END PGP SIGNATURE-


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



Newbish Q: Why modprobe.d *and* modutils?

2004-02-18 Thread Darin Strait
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I understand that modules.conf is deprecated in favor of update-modules.

I don't understand why I have a modprobe.d and a modutils directory. Should I 
be using one or the other or both?

Thanks,
- -d
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFAM8lcBvPMwzw/p/cRAjjjAJ94dlRDMU/Yt+sFP+oXanBkLT+uhwCeNKV6
d2e9pfdGwFq+MC9qZvbdFmU=
=Yedn
-END PGP SIGNATURE-


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



Loading i810 module seems to fail during boot, but loads fine manually

2004-02-18 Thread Darin Strait
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I have a i810e motherboard, PIII/866MHz/320MB, single 120 GB IDE udma4 disk, a 
CD-RW and an SMC 10/100 NIC. I am using the onboard audio and video.

I am running a stock debian kernel:
Linux kiyone 2.6.2-1-686 #1 Sat Feb 7 13:49:20 EST 2004 i686 GNU/Linux


My basic problem is that I can't get the i810 module to stay loaded through 
a reboot, which leads to it not being loaded before X starts. Everything 
seems to run OK without i810, but it seems to me that I ought to load it 
since it seems like it would be an important thing...

During boot, dmesg shows:
[drm:drm_init] *ERROR* Cannot initialize the agpgart module.
Linux agpgart interface v0.100 (c) Dave Jones
agpgart: Detected an Intel i810 E Chipset.
agpgart: Maximum main memory to use for agp memory: 261M
agpgart: AGP aperture is 64M @ 0xf800

This is particularly confusing since the errors seem to indicate that agpgart 
is both fails and suceeds at initialization.

Later, after I get logged in as root, I can do a modprobe i810 and the 
following gets appended to the dmesg output:
[drm] Initialized i810 1.4.0 20030605 on minor 0

So, it seems like i810 is dependant on something that isn't loaded yet. I 
don't know how to find out what that might be

After successfully modprobing, when I look at my loaded modules, I don't see 
that i810 is used by anything:
kiyone:/etc# lsmod | grep i810
i810   70092  0


So, my troubleshooting has run out of things to look at...

tia,
- -darin
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFAM8rHBvPMwzw/p/cRAjZWAJ9XdAci+AkIZ0FeFPC0aeK94vzkYgCfXvk+
xszRV/GT796Up9vYADoHw1Y=
=3O/g
-END PGP SIGNATURE-


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



tmpfs and /tmp vs. /dev/shm

2004-02-18 Thread Darin Strait
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I'm running kernel 2.6.2 and I'm experimenting with tmpfs.

I added the following to my fstab:

tmpfs   /tmptmpfs   size=50m,mode=1777  0   0


I then rebooted, just to be sure.

kiyone:/etc# mount
/dev/hda1 on / type ext3 (rw,errors=remount-ro)
proc on /proc type proc (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
/dev/hda3 on /home type ext3 (rw)
tmpfs on /tmp type tmpfs (rw,size=100m,mode=1777)
tmpfs on /dev/shm type tmpfs (rw)
sysfs on /sys type sysfs (rw)
usbfs on /proc/bus/usb type usbfs (rw)

kiyone:/etc# df -h
FilesystemSize  Used Avail Use% Mounted on
/dev/hda1 1.9G  1.6G  242M  87% /
/dev/hda3 108G   88G   15G  86% /home
tmpfs 100M  608K  100M   1% /tmp
tmpfs 157M 0  157M   0% /dev/shm


Now, I'd noticed the tmpfs filesystem at /dev/shm before. I naively assumed 
that it would evaporate once I modified fstab. Not so.

So, why do I have two tmpfs file systems? 

Which one should my system be using, and how do I get rid of the other one?

- -d
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFAM+C+BvPMwzw/p/cRAoxJAJ4+XIK+fuiyahTsWCbugFeAuV6+vQCfRrK9
dVJplUftlMbRF96wDrLuQY8=
=DQFM
-END PGP SIGNATURE-


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



Re: Loading i810 module seems to fail during boot, but loads fine manually

2004-02-18 Thread Darin Strait
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Wednesday 18 February 2004 05:37 pm, Adam Aube wrote:
 On 18 Feb 2004 at 15:27:51, Darin Strait wrote:
  My basic problem is that I can't get the i810 module to
  stay loaded through a reboot, which leads to it not being
 Did you add i810 to /etc/modules?
 This will make it load at boot.

An entry for i810 is already in my /etc/modules file.  In fact, here are the 
contents of my /etc/modules file:

8139too
i810
intel-agp
processor
fan
thermal

I hypothesize that the problem is not that no attempt is made to load the 
module, but that the load fails with the aforementioned error message.

thx,
- -d

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFANBhmBvPMwzw/p/cRAuxAAJ48lirHa8uqh1CpQ5NLgSjr6Qd/wgCglBo8
trnxA8iFDvY6gIr081xKyQs=
=PyPh
-END PGP SIGNATURE-


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



Re: Newbish Q: Why modprobe.d *and* modutils?

2004-02-18 Thread Darin Strait
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Wednesday 18 February 2004 05:32 pm, Adam Aube wrote:
 2.6 only - Keep both, but only maintain modprobe.d
I think that this is the answer that I was looking for.  I've been trying to 
clean up little things since I've updated to 2.6 and I keep wondering where I 
should be putting modules and aliases and whatnot.

thanks,
- -d
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFANBs4BvPMwzw/p/cRAnAzAKCaTZmgHDd1BnkitDsl/tS/OPr/RQCcC9F3
ehjJcjYPQUEwyqwqStus/Zs=
=l1q/
-END PGP SIGNATURE-


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



CUPS won't print to DeskJet attached to SMC Barricade

2004-02-13 Thread Darin Strait
Hello.

I can't get my printer working. I have a HP 660C and a SMC Barricade 7004 
gateway with a build-in print spooler. The printer is plugged into the 
Barricade. This is a very old (8+ years?) and very creaky printer, but it is 
my only printer and works OK for printing off mapquest directions and such.

The printer works when directly plugged into a Windows laptop. My desktop is 
linux-only and USB only, whereas the printer is a parallel printer.


From the CUPS administrative page http://localhost:631
HP DeskJet 660C Foomatic/hpijs (recommended)
Description: HP Deskjet 660CSe
Location: 220 Sullivan B3
Printer State: stopped, accepting jobs.
Remote host did not respond with data status byte after 300 seconds!
Device URI: lpd://192.168.123.254:515/lp


With this URI, I get the following two lines in the barricade log every time I 
try to print a test page:
Fri Feb 13 11:32:50 2004 kiyone sent a job to printer
Fri Feb 13 11:32:50 2004 job was killed

The job itself remains in CUPS' queue until I manually cancel it.

I've tried variations on the URI, but they don't work at all.

The printer will print a hardware test page if I have it do it's boot-up test.



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



What's the easiest way to move some files in a directory tree?

2004-02-13 Thread Darin Strait
Hello.

I have a large directory tree, with scores of end nodes. Each end node in the 
tree has a number of files whose names end either in .mp3 or in .flac. 

I would like to copy the directory structure of the tree, but I want to move 
files that end in .mp3 to the new tree and leave the .flac files behind.

What is the easiest way to do that? I was looking at unision, but unison seems 
to be copy-only; there doesn't seem to be move the flac files.

Thanks in advance,
-darin


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



My drive only operates in UDMA2?

2004-02-11 Thread Darin Strait
I'm troubleshooting something that has been bugging me for a while...

Why does my drive seem to run only in UDMA2 and only do about 19.50 MB/s, 
according to hdparm? Everyone else always seems to have a faster drive than 
me, so I'm assuming that I'm misconfiguring something and it's not my 
hardware.

I have fiddled with idebus=66 in my grub menu.lst, but it has never seemed to 
have an effect.

I have an i810e motherboard and I'm running 2.6.2 (other kernel versions have 
had similar results). I have a Western Digital WD1200BB drive, the specs are 
as follows:

- Rotational Speed 7,200 RPM (nominal)
- Buffer Size 2 MB
- Read Seek Time (Average) 8.9 ms
- Write Seek Time (Average) 10.9 ms (average)
- Track-To-Track Seek Time 2.0 ms (average)
- Full Stroke Seek 21.0 ms (average)
- Average Latency 4.2 ms (nominal)
- Buffer To Disk 602.0 Mbits/s (Max)
- Mode 5 Ultra ATA 100.0 MB/s
- Mode 4 Ultra ATA 66.6 MB/s
- Mode 2 Ultra ATA 33.3 MB/s
- Mode 4 PIO 16.6 MB/s
- Mode 2 multi-word DMA 16.6 MB/s



kiyone:/home/dstrait# hdparm -ivtT /dev/hda

/dev/hda:
 multcount=  0 (off)
 IO_support   =  2 (16-bit)
 unmaskirq=  1 (on)
 using_dma=  1 (on)
 keepsettings =  0 (off)
 readonly =  0 (off)
 readahead= 256 (on)
 geometry = 65535/16/63, sectors = 234441648, start = 0

 Model=WDC WD1200BB-00CAA1, FwRev=17.07W17, SerialNo=WD-WMA8C2112585
 Config={ HardSect NotMFM HdSw15uSec SpinMotCtl Fixed DTR5Mbs FmtGapReq }
 RawCHS=16383/16/63, TrkSize=57600, SectSize=600, ECCbytes=40
 BuffType=DualPortCache, BuffSize=2048kB, MaxMultSect=16, MultSect=off
 CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=234441648
 IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120}
 PIO modes:  pio0 pio1 pio2 pio3 pio4
 DMA modes:  mdma0 mdma1 mdma2
 UDMA modes: udma0 udma1 *udma2
 AdvancedPM=no WriteCache=enabled
 Drive conforms to: device does not report version:

 * signifies the current active mode

 Timing buffer-cache reads:   288 MB in  2.02 seconds = 142.31 MB/sec
 Timing buffered disk reads:   58 MB in  3.01 seconds =  19.27 MB/sec


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



SOLVED: Re: My drive only operates in UDMA2?

2004-02-11 Thread Darin Strait
On Wednesday 11 February 2004 12:14 pm, Andreas Janssen wrote:
 My guess: wrong type of cable. Make sure it can do more that udma2.

It's my fault, naturally...

Since the cable worked (albeit slowly) and since I'm new to fast IDE drives, I 
never thought to blame the cable. My last desktop machine was a P/166.

After actually reading some documentation on cabling, I realized that I had 
installed my cable *backwards*. When I reinstalled the cable so the blue 
connector was plugged into the motherboard instead of plugged into the drive, 
my hdparm number immediately lept from 19 MB/s to 27 MB/s, for a 50% 
improvement.  hdparm also says that the drive is running as udma4.

That seems much more reasonable, given my P3/866 and a UDMA4 drive.

Thanks,
-darin


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



system log grows quickly with USB evbug.c messages.

2004-01-27 Thread Darin Strait
I'm running a standard debian binary kernel package (kernel-image-2.6.0-1-686) 
and it seems that I get a message written to the system log for every USB 
event. Since I have a USB mouse and keyboard, there are rather a lot of 
events. 

The messages looks like these (sorry for the wrapping):

Jan 27 10:58:58 localhost kernel: evbug.c: Event. Dev: 
usb-:00:1f.2-2.2/input0, Type: 2, Code: 0, Value: -1
Jan 27 10:58:58 localhost kernel: evbug.c: Event. Dev: 
usb-:00:1f.2-2.2/input0, Type: 0, Code: 0, Value: 0
Jan 27 10:58:58 localhost kernel: evbug.c: Event. Dev: 
usb-:00:1f.2-2.1/input0, Type: 1, Code: 103, Value: 1
Jan 27 10:58:58 localhost kernel: evbug.c: Event. Dev: 
usb-:00:1f.2-2.1/input0, Type: 0, Code: 0, Value: 0
Jan 27 10:58:58 localhost kernel: evbug.c: Event. Dev: 
usb-:00:1f.2-2.1/input0, Type: 1, Code: 103, Value: 0
Jan 27 10:58:58 localhost kernel: evbug.c: Event. Dev: 
usb-:00:1f.2-2.1/input0, Type: 0, Code: 0, Value: 0
Jan 27 10:58:59 localhost kernel: evbug.c: Event. Dev: 
usb-:00:1f.2-2.2/input0, Type: 2, Code: 1, Value: 1
Jan 27 10:58:59 localhost kernel: evbug.c: Event. Dev: 
usb-:00:1f.2-2.2/input0, Type: 0, Code: 0, Value: 0
Jan 27 10:58:59 localhost kernel: evbug.c: Event. Dev: 
usb-:00:1f.2-2.1/input0, Type: 1, Code: 28, Value: 1
Jan 27 10:58:59 localhost kernel: evbug.c: Event. Dev: 
usb-:00:1f.2-2.1/input0, Type: 0, Code: 0, Value: 0


Is this just my problem, or is everyone having it? No one else seems to be 
complaining about it. I noticed this problem because the partition 
with /var/log on it has only about 190M free, which gets eaten through after 
a few hours.

If it matters, I use grub.

-d


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



mounting a label segfaults?

2003-07-27 Thread Darin Strait
Running 2.4.21-2-686 and tracking unstable.

Every few months, I try re-arranging my USB2/Firewire drives. I wind up trying 
to get mount -L label to work, only to fail and give up. FWIW, 335 are the 
last three digits from the serial number on the case of the drive.


kiyone:/etc# grep 335 /etc/fstab
label=/335 /mnt/335 ext3 noauto,rw  0   0

kiyone:/etc# e2label /dev/sda1
/335

kiyone:/etc# ls -l /mnt
total 12
drwxr-xr-x2 root root 4096 Jul 27 13:05 335
drwxr-xr-x2 root root 4096 May 20 04:08 sda1
drwxr-xr-x2 root root 4096 Jun 16 12:47 sdb1


kiyone:/etc# mount -L /335
Segmentation fault

kiyone:/etc# mount -L 335
Segmentation fault

kiyone:/etc# mount -L335
Segmentation fault



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



Upon boot, many strange and useless modules are loaded

2003-07-26 Thread Darin Strait
I have a simple Gateway consumer-grade machine with an i810e motherboard, 
866MHz/128MB/120MB ide. I am running 2.4.21-2-686. Using grub to boot my old 
2.4.20 does not help.

I had left the machine running for a few weeks, when I needed to shut it down. 
After rebooting, my USB mouse is frozen upon reaching the KDM login screen. 

After a little poking around, I found that all sorts of oddball modules (for 
which I don't have the hardware. serverworks?) had been loaded. After 
manually rmmod-ing them, my mouse unfroze and all was happy. 

My recurring problem is that all of the modules that I rmmod-ed  re-appear 
upon a reboot. I haven't had time to troubleshoot this all week, so I've been 
limping along by running this script, which will result in my being able to 
use my mouse.

# begin included file
rmmod via82cxxx
rmmod trm290
rmmod triflex
rmmod slc90e66
rmmod sis5513
rmmod siimage
rmmod serverworks
rmmod sc1200
rmmod rz1000
rmmod pdc202xx_old
rmmod opti621
rmmod ns87415
rmmod hpt366
rmmod hpt34x
rmmod cy82c693
rmmod cs5530
rmmod cmd64x  
rmmod cmd640
rmmod amd74xx
rmmod alim15x3
rmmod aec62xx
rmmod adma100
rmmod pdc202xx_new
# end of file


Help?


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



During boot, fsck tries to run against offline drive?

2003-07-25 Thread Darin Strait
I have a Gateway with an i810e motherboard, 866MHz/128MB/120MB ide, with an 
additional USB2 drive that is generally turned off.

I just switched (last week) to 2.4.21 from 2.4.19 and to grub from lilo. I'm 
not sure if any of that has to do with my problem, since it seemed to crop up 
a while after I had upgraded. I'm new at grub, having only recently 
undertaken the effort to understand it.

During the boot process, I get a message along the lines of (this is from 
memory at 7 in the morning and I haven't had any coffee yet):

fsck.ext3 /dev/sda1 
No such device or address while trying to open 

Press Ctrl-D to continue or enter the root password for maintenance

This make sense, in a way, since the USB2 drive is turned off. OTOH, /dev/sda1 
is marked noauto in my fstab and I don't understand why something seems to be 
trying to run fsck on it.

Help?


-d


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



Problem with apache2-common not installing apache2.conf?

2003-06-02 Thread darin strait
This seems sort of too basic to be bug and there doesn't seem to be one
filed on this, so I must be doing something wrong...

Warning: I'm new at Apache. I'm using Debian testing, kernel 2.4.20. 

In the process of tryiing to get subversion up on my home server. Local
subverting works fine. Networked subversion apparently needs webdav and
apache2. I was using the older apache, so I naively tried to upgrade
with apt, removing apache and installing apache2-common and
apache2-mpm-prefork (prefork seems to be the safest deb to use for a
low-utilization machine.)

My problem is that I can't get apache2 to install. It *seems* like
apache.conf isn't being created by apache2-common and when
apache2-mpm-prefork's processing tries to read the file, it blows up. I
am sure that, after apt-get errors out, the /etc/apache2 directory
doesn't contain an apache2.conf file and the httpd.conf file is empty.
That doesn't seem right.

Here's some output indicative of my problem:
***
kiyone:/etc# apt-get install apache2-common apache2-mpm-prefork
Reading Package Lists... Done
Building Dependency Tree... Done
The following extra packages will be installed:
  apache2-common
The following NEW packages will be installed:
  apache2-common apache2-mpm-prefork
0 packages upgraded, 2 newly installed, 0 to remove and 0  not
upgraded.
Need to get 0B/2869kB of archives. After unpacking 14.7MB will be used.
Do you want to continue? [Y/n]
Selecting previously deselected package apache2-common.
(Reading database ... 27563 files and directories currently installed.)
Unpacking apache2-common (from .../apache2-common_2.0.46-2_i386.deb)
...
Selecting previously deselected package apache2-mpm-prefork.
Unpacking apache2-mpm-prefork (from
.../apache2-mpm-prefork_2.0.46-2_i386.deb) ...
Setting up apache2-common (2.0.46-2) ...
Setting Apache2 to Listen on port 80. If this is not desired, please
edit /etc/apache2/ports.conf as desired. Note that the Port directive
no longer works.

Setting up apache2-mpm-prefork (2.0.46-2) ...
Starting web server: Apache2apache2: could not open document config
file /etc/apache2/apache2.conf
invoke-rc.d: initscript apache2, action start failed.
dpkg: error processing apache2-mpm-prefork (--configure):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 apache2-mpm-prefork
E: Sub-process /usr/bin/dpkg returned an error code (1)

***
Can anyone point me in a useful direction?

Thanks, 
-darin


=
[EMAIL PROTECTED]  
Database Development and Administration 

'Words ought to be a little wild for they are the assaults of thought on the 
unthinking.' John Maynard Keynes

__
Do you Yahoo!?
Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
http://calendar.yahoo.com


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



while this kernel is version error message

2002-12-14 Thread Darin Strait
So, I have an old P166, no MMX, no built-in USB, 96MB RAM, running
2.4.18-386 and Debian stable. 

I also have a Logitech USB WebCam. I'd like to use the cam.

The first step was to purchase a USB card off of eBay. Easy enough. 

The second step was to find a load appropriate drivers. Not so easy. 

Apparently, USB Logitech cams have no kernel support. There are drivers
in source form available from qce-ga on source forge.  I download those.
Now I need to compile the driver. I don't have any kernel source on that
machine, so I apt-get the 2.4.18 kernel source and untar it. I set up a
link for linux that points to the directory with the source tree in
it, change directories and run make in the kernel directory. Various
stuff builds, but I eventually get a message:

make: *** No rule to make target `include/linux/autoconf.h', needed by
`include/config/MARKER'.  Stop.

Hm. I have no idea what that means. But, optimistically, I run make in
the qce-ga module directory and it seems to build OK.

But, I try to insmod mod_quickcam, I get 

mihosi:/usr/src/qce-ga-0.40c# insmod mod_quickcam.o 
mod_quickcam.o: kernel-module version mismatch
mod_quickcam.o was compiled for kernel version 2.4.18
while this kernel is version 2.4.18-386.

And the module does not want to load. 

How can I fix my environment so that I don't get that message?


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