Problem installing node.js and ZIP drive

New to SolydXK? This is the place to start.
Please check the other subforums to see if there's a more suitable place for your question.
User avatar
Arjen Balfoort
Site Admin
Posts: 9249
Joined: 26 Jan 2013 19:36
Location: Netherlands
Contact:

Re: Problem installing node.js and ZIP drive

Postby Arjen Balfoort » 23 Mar 2017 06:27

I don't have any experience with nodejs but I see this in the repository:

Code: Select all

$ apt policy nodejs
nodejs:
  Installed: (none)
  Candidate: 0.10.29~dfsg-2
  Version table:
     0.10.29~dfsg-2 0
        500 http://ftp.debian.org/debian/ jessie/main amd64 Packages
So, shouldn't this be enough?

Code: Select all

apt install nodejs


SolydXK needs you!
Development | Testing | Translations

User avatar
Zill
Posts: 1850
Joined: 13 Aug 2013 14:28
Location: Lincolnshire, UK

Re: Problem installing node.js and ZIP drive

Postby Zill » 23 Mar 2017 11:41

sxphild wrote:... I have to use from time to time, an Iomega Zip100 parallel port drive. I found this command:

modprobe -v ppa

This fails in SolydXK
Have you tried editing "/etc/modules" and adding "ppa" as suggested in the following link:
http://lifeofageekadmin.com/read-iomega ... ntu-linux/

Then reboot with the drive plugged in and powered on and enter the following:

Code: Select all

sudo cat /proc/scsi/scsi

User avatar
Zill
Posts: 1850
Joined: 13 Aug 2013 14:28
Location: Lincolnshire, UK

Re: Problem installing ZIP drive

Postby Zill » 23 Mar 2017 21:06

sxphild wrote:1. I could not find a directory called "modules" in
/etc. Just /etc/modules-load.d/modules.conf.
I am puzzled by this as, on my system, /etc/modules does exist:

Code: Select all

roger@dino:~$ ls -l /etc | grep module
-rw-r--r--  1 root root       195 Nov  6  2014 modules
drwxr-xr-x  2 root root      4096 Jan 15 11:30 modules-load.d

roger@dino:~$ ls -l /etc/modules-load.d/
-rw-r--r-- 1 root root 119 Mar 11  2014 cups-filters.conf
lrwxrwxrwx 1 root root  10 Jan  7 03:34 modules.conf -> ../modules
If you get similar outputs then /etc/modules-load.d/modules.conf is simply a symbolic link to /etc/modules.
Unfortunately, this means that adding "ppa" to modules.conf is effectively the same as adding it to modules. :(

Just as a double-check, please post the full outputs of the following three commands:

Code: Select all

uname -a
ls -l /etc/modules
cat /etc/modules

User avatar
Zill
Posts: 1850
Joined: 13 Aug 2013 14:28
Location: Lincolnshire, UK

Re: Problem installing node.js and ZIP drive

Postby Zill » 24 Mar 2017 11:32

I don't know when you last updated SolydXK but your kernel is six months behind the current version, which is Debian 3.16.39-1+deb8u2 (2017-03-07).
https://packages.debian.org/jessie/linu ... 16.0-4-586

This probably is not relevant to your problem but, I suggest, it is generally recommended to keep SolydXK reasonably up-to-date:

Code: Select all

apt update
apt upgrade
A reboot will then be necessary as the kernel should have been updated.

Please ensure that, when you do reboot, the zip drive is plugged in and powered on with a disk in place.

Then open a terminal and post the full output of the following two commands:

Code: Select all

ls -l /proc/ | grep sc
cat /proc/scsi/scsi
If you still do not see the zip drive listed then, regrettably, I have run out of ideas. :-(

All I can then suggest is that, as the zip drives are now ancient, you use either Puppy or Ubuntu to transfer all your zip files to more modern storage media, such as a hard drive or USB memory stick(s).

User avatar
ilu
Posts: 2468
Joined: 09 Oct 2013 12:45

Re: Problem installing node.js and ZIP drive

Postby ilu » 24 Mar 2017 16:32

Wait, don't do a new install now. Do the commands that Zill told you. Reinstall is not necessary. Lets first get your update media running.

Zill, have you seen this tool: https://packages.debian.org/jessie/jazip. It might solve the mounting issue. But not if he has the very old IDE version of ZIP drive (you never know if DOS machines are involved :D ). In that case also scsi kernel modules won't help.

sxphild: Since Zill was guiding you through installing scsi modules I hope you don't have the very old IDE model? Just to be sure, can you check? All newer ZIP drives are supported by a special debian package. After the commands Zill said to run, you could try to do

Code: Select all

apt install jazip
Jazip should then show up in the menu and should help you to mount the drive - at least I hope so :) .

User avatar
ilu
Posts: 2468
Joined: 09 Oct 2013 12:45

Re: Problem installing node.js and ZIP drive

Postby ilu » 24 Mar 2017 23:30

sxphild wrote:I checked the ZIp drive I have - it's a DDX Z100P2 - looked it up online - dates from 1996.
That's the Iomega Z100P2 Parallel Port Zip Drive which, internally , should be a scsi device. So Zill is on the right track.
sxphild wrote:

Code: Select all

cat /proc/scsi/scsi
cat: /proc/scsi/scsi: No such file or directory
Zill: /proc/scsi/scsi seems to be deprecated on debian and replaced with sysfs? http://serverfault.com/questions/236711 ... n-debian-6 and http://www.cyberciti.biz/faq/debian-ubu ... i-command/. Shouldn't the kernel support need loading with "modprobe ppa" first?

sxphild: It doesn't hurt to try: "apt install lsscsi" and post the output of "lsscsi -c" with your drive attached. Lets see whether that gives any information. Does the drive LED blink at least once?
sxphild wrote:

Code: Select all

apt install jazip
I tried this - configuration screen froze in my terminal...
We'll have to postpone this because it needs the working kernel scsi support which is still not there.
sxphild wrote:Anyway, there's where we are. I think it might be easier to just reboot into Puppy
whenever I need to do this. But I thank you all for your help...
I wouldn't want to give up that quickly. :ugeek:

User avatar
ilu
Posts: 2468
Joined: 09 Oct 2013 12:45

Re: Problem installing node.js and ZIP drive

Postby ilu » 25 Mar 2017 06:49

Yes, the ZIP drive is not recognized. It should anounce itself as something with ZIP or with its internal controller name Adaptec AHA152X/2825.

So that means back to Zill: SCSI support still not working. There's also another module called imm but it's for the ZIP plus which I don't think you have.

Here's a rather thorough writeup about kernel configuration http://www.linuxhaven.de/dlhp/HOWTO/DE- ... WTO-3.html (sorry in german) but you shouldn't need to compile the kernel. Loading the module should work, but I'M not very experienced (as opposed to Zill). I hope he comes up with something.

User avatar
ilu
Posts: 2468
Joined: 09 Oct 2013 12:45

Re: Problem installing node.js and ZIP drive

Postby ilu » 25 Mar 2017 21:38

To be honest I'm just digging in the dark here, but that's how you learn, right? If I understood this correctly, listing the module in /etc/modules should load it at boot time. So to check this, what do the following commands say?

Code: Select all

 lsmod | grep ppa
sudo dkms status
My problem in searching the internet is that "ppa" is quite common for an alternative type of repository used frequently in Ubuntu which has nothing to do with this issue. You might have noticed that too. :(

User avatar
ilu
Posts: 2468
Joined: 09 Oct 2013 12:45

Re: Problem installing node.js and ZIP drive

Postby ilu » 26 Mar 2017 03:50

Well the ppa module obviously doesn't get loaded and there is some problem with another kernel module tp-smapi, 0.41, 3.16.0-4-586 (control for HP battery status) which is installed in both a 32bit and 64bit version? Any idea where that is coming from?

Admittedly, now I don't know how to proceed. dkms supervises and updates kernel modules. Seems that something is already wrong there. Maybe the difference to Puppy and Ubuntu is just that the SolydX kernel got borked earlier on?

If nobody else comes to your help maybe that new install wasn't such a bad idea. And if you do, try installing the ppa module first thing. And report back please! Stick with Jessie though, don't try debian9 on that old machine.

User avatar
Zill
Posts: 1850
Joined: 13 Aug 2013 14:28
Location: Lincolnshire, UK

Re: Problem installing node.js and ZIP drive

Postby Zill » 26 Mar 2017 12:55

Gents... My apologies but I can't get involved with this at the moment as my wife, Marie, is currently in hospital and so I have other priorities.

I really don't have any specific knowledge about this problem and, from a quick glance, Ilu seems to be doing just what I would do... search around looking for solutions and trying different things. Stick with it and I will try to participate again asap. Good luck.

User avatar
ilu
Posts: 2468
Joined: 09 Oct 2013 12:45

Re: Problem installing node.js and ZIP drive

Postby ilu » 29 Mar 2017 21:05

All loadable kernel modules are listed by

Code: Select all

find -R /lib/modules/$(uname -r) -type f -name \*.ko
Something named "ppa" is not among them as you can see with

Code: Select all

find -R /lib/modules/$(uname -r) -type f -name *ppa*.ko
Edit: I have no idea why I did not find this earlier: http://unix.stackexchange.com/questions ... -11-kernel.

The bottom line seems to be: How do you get the IOMEGA ppa kernel module for the 3.16 kernel?
I found the source code here: https://github.com/torvalds/linux/blob/ ... scsi/ppa.c (newest) and here: http://lxr.free-electrons.com/source/dr ... a.c?v=3.16 (probably correct kernel version). You could try to compile it = nice experience. :geek:

Or you could try to look through the /lib/modules file hierarchy and see whether there is anything named ppa.ko on Ubuntu or Puppy. Please don't forget to do "uname -r" on Puppy and Ubuntu to see which kernels they are using. Maybe the Ubuntu one does work if it's not the newest Ubuntu. I checked an Ubuntu system and it did not have ppa.ko so no idea where your Ubuntu got it from.
Another source could be fli4l which is a minimal Linux focused on backwards compatibility. I found the module here https://ssl.nettworks.org/repo/browse/f ... csi/ppa.ko but that's not the right kernel.

I'd say compiling from source would be the safest way. No idea how to do that, never done it myself but can't be too difficult. You don't need to compile the kernel, just the module.

If an appropriate module gets found or compiles, installation would have to go along these lines: http://askubuntu.com/questions/299676/h ... ed-on-boot. Before trying to load anything you should first remove the "ppa"-line from /etc/modules to avoid ending up with an unbootable kernel. If I understand correctly the detrimental effects of loading a faulty or unworking module with "modprobe ppa" would only last until the next reboot.


Return to “Newbie Questions”

Who is online

Users browsing this forum: No registered users and 4 guests