LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



Reply
 
Search this Thread
Old 12-27-2002, 05:24 PM   #1
SML
Member
 
Registered: Dec 2002
Location: US
Distribution: ARCH
Posts: 376

Rep: Reputation: 30
Slackware Installation Problems :(


I am trying to install Slackware for the first time on a IBM x22 notebook with an external TDK8824 cd connected via USB. (RedHat, Mandrake, SuSE all install with no problems).

So the 8.1 Slackware disc is sitting in the cdrom. I use the BIOS and boot to the CDROM. It loads the kernel, I run the setup program, select the keyboard, select the partitions ..... then the source is where the problems begin. It does not recognise the source media in the cdrom.

So I select the option to install via CDROM.
When I try the automatic detect option, the CD is not picked up.
When I try the manual detection:
.... (a) Which device should I select. Usually it has been either /dev/scd0 but this does not work, or /dev/cdrom but this is not an option in the list to select.
.... (b) Or I can try to a manual install ... should I type in /dev/cdrom? That does not work either.

There was a thread below that appeared to be a similar problem where somebody had to type in at the boot: bare.i ide=nodma. This did not seem to work either.

Hope someone can help. I would love to try slack.
 
Old 12-27-2002, 05:53 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,999
Blog Entries: 11

Rep: Reputation: 880Reputation: 880Reputation: 880Reputation: 880Reputation: 880Reputation: 880Reputation: 880
look what google found! :D

Cheers,
Tink
 
Old 12-27-2002, 06:04 PM   #3
Mephisto
Member
 
Registered: Oct 2002
Location: Washington D.C, USA
Distribution: Slack 12, Etch, Gutsy
Posts: 453

Rep: Reputation: 30
Is the CDRom an actual SCSI CDROM (unlikely especially on a laptop) or is it just using SCSI emulation for CD-burning?

Try /dev/hdb or /dev/hdc.


Edit: Never mind, I am an idiot. I did not catch that it was a USB CD-ROM, sorry.

Last edited by Mephisto; 12-27-2002 at 06:17 PM.
 
Old 12-27-2002, 06:46 PM   #4
Excalibur
Senior Member
 
Registered: Jun 2002
Location: Northern VA, USA
Distribution: Ubuntu
Posts: 1,180

Rep: Reputation: 45
I would think you need a different boot kernel when booting the CD. At the boot prompt try loading the /kernels/usb.i/bzImage kernel. Once the kernel boots review the kernel messages to check if the kernel detected the cdrom drive and assigned a device. Use the [shft][pgup]/[pgdn] keys if I recall correctly to scroll the screen back so you can read the messages.

There are three other usb enabled kernels on the CD but I think they are primarily different in scsi controller support and not on the usb part. But not real sure.

The key here is that kernel has to detect the cdrom drive to provide the support.
 
Old 12-28-2002, 04:09 AM   #5
SML
Member
 
Registered: Dec 2002
Location: US
Distribution: ARCH
Posts: 376

Original Poster
Rep: Reputation: 30
Thanks for the ideas ...

I tried booting slackware up with about 7 out of the 10 different kernels on the installation disc. I tried the following:
- usb.i
- bare.i
- usb.s
- usb2.s
- scsi.s
- scsi2.s
- usbaha.s
- ibmmca.s

The only kernel that loads and makes it through to the setup window is the standard bare.i kernel. All of the other kernels fail during the kernel load-up. "Kernel panic ... init .... etc etc".
 
Old 12-28-2002, 06:48 AM   #6
Excalibur
Senior Member
 
Registered: Jun 2002
Location: Northern VA, USA
Distribution: Ubuntu
Posts: 1,180

Rep: Reputation: 45
What was the last operation of the kernel just prior to the panic?
 
Old 12-28-2002, 01:40 PM   #7
Mephisto
Member
 
Registered: Oct 2002
Location: Washington D.C, USA
Distribution: Slack 12, Etch, Gutsy
Posts: 453

Rep: Reputation: 30
Does usb.i have the usb filesystem comiled into it? For that matter was it available in 2.4.18?

It is detecting the drive in some form since you are able to boot from it. I did a little looking around and could not find anything conclusive. I have an external DVD at the office, if you haven't figured it out by Monday I will bring it home and see what it connects as? Not sure if it will help since none of my installs are running a stock kernel but it is worth a try.
 
Old 12-28-2002, 04:33 PM   #8
SML
Member
 
Registered: Dec 2002
Location: US
Distribution: ARCH
Posts: 376

Original Poster
Rep: Reputation: 30
It looks like the problem is that the driver for my TDK external CDR/RW is not with the kernel.

I started the boot-up installation with the following:
boot: usb.i root=/dev/sdc0
and I also tried:
boot: usb.i root=/dev/cdrom

With RH, Mandrake, SuSE the cd has always been a scsi emulation on scd0.

The kernel loaded through to the setup program but I noted the following message whilst the kernel was loading:

"USB device 2 (vend/prod 0x4bf/0x130) is not claimed by any active driver."

That is definately my TDK external slim cdr-rw.

Looks like I may have to learn how to setup a new module for the kernel with the driver (How do I do that? Guess that has been asked many times before. I'll do some google research.).

I thought that if it worked with say a RedHat 2.4.18 kernel, then the driver should also be in the Slackware 2.4.18 kernel. .... or do RedHat add extra modules to the kernel for extra hardware functionality?
 
Old 12-28-2002, 04:59 PM   #9
SML
Member
 
Registered: Dec 2002
Location: US
Distribution: ARCH
Posts: 376

Original Poster
Rep: Reputation: 30
Had a google around and this does not look that simple.

Is there any chance that it may work with the "mknod cd-rom device" function in the custom source media selection in the setup program?

It asks for the path (assume /dev/scd0), then asks for the major and minor numbers (whatever they are?). Is this likely to work without the driver for the cd? I tried guessing the major and minor numbers and nothing happened.

When is Slackware 8.2 coming out?
 
Old 12-28-2002, 08:31 PM   #10
Mephisto
Member
 
Registered: Oct 2002
Location: Washington D.C, USA
Distribution: Slack 12, Etch, Gutsy
Posts: 453

Rep: Reputation: 30
As just a guess I would say Slackware does not have USB Mass Storage support compiled in. Slackware tends to go the minimalist approach putting only what is necessary to get the box up in any given image, assuming the user will tweak the kernel after the fact if he needs something not included. Redhat, Suse, et al. go the other route making everything conceivable available, either already compiled in or as a module.

So maybe if you can load the mass storage module it will be recognized? Of course it may be a patch that is not in the stock kernel but I don't think it likely.

As far as 8.2 (9) goes I would not expect it till lat March April at a guess. The speed of the updates on the current tree have slowed down dramatically (last one Dec 13) so that is a hopeful sign that I could be wrong.
 
Old 12-28-2002, 10:51 PM   #11
Excalibur
Senior Member
 
Registered: Jun 2002
Location: Northern VA, USA
Distribution: Ubuntu
Posts: 1,180

Rep: Reputation: 45
In regard to the kernel support. Slackware boot kernels for installation I do not think supports any modules. At least that I am aware of because of the limited space available for the root file system in ram disk. I cannot speak for RedHat, but SuSE 8.1 uses the 2.4.19 kernel and the USB and IEEE1394 support was enhanced greatly over 2.4.18 that Slack uses. If you know that other distros will install using the 2.4.19 kernel, then perhaps if you have the resources to build a 2.4.19 kernel from source configured as a Slack kernel to provide the support for your CD drive, then the install should be able to proceed. (By using the .config file from the usb.i kernel against 2.4.19 sources.)

If you do not have the resources then email me. I have the kernel sources and everything available. We can discuss how best to deliver.
 
Old 12-29-2002, 12:49 AM   #12
SML
Member
 
Registered: Dec 2002
Location: US
Distribution: ARCH
Posts: 376

Original Poster
Rep: Reputation: 30
Thanks - it is starting to sound even more time consuming, so I tried a new approach with some success - although it took me the whole day t work it out ...

I tried the following:
1. reformatted my hard-drive and removed RedHat 8.1 beta.
2. re-arranged all the partitions to allow me to install Mandrake or RedHat and have spare partitions afterwards.
3. copy the Slack 8.1 iso to a new partition in Mandrake.
4. reboot and install from one partition to another spare partition.
5. complete Slack 8.1 installation!

Slack seems to boot up without probs although I assume that the cd is not working. Maybe I can copy the module from RH and link it up to my kernel. I will worry about that one later .. the problem now is .....

It didn't boot up into Xwindows and KDE/Gnome?

I did the full 2Gb install and watched KDE and Gnome as they were installed. How do I now boot up the graphics from just a bash shell? I have looked through the X11 folders without much success. I am logged into "darkstar" as root.
 
Old 12-29-2002, 01:03 AM   #13
SML
Member
 
Registered: Dec 2002
Location: US
Distribution: ARCH
Posts: 376

Original Poster
Rep: Reputation: 30
I tried the xwmconfig .... it came up with the blue screen and asked for the default setting with KDE already selected. I selected OK, then it switched back to the bash shell.

Tried xfree86setup and startx with no luck either.

Would appreciate any advice again. Thanks.
 
Old 12-29-2002, 01:46 AM   #14
Jen
LQ Newbie
 
Registered: Oct 2002
Location: Camas, WA
Distribution: Slackware
Posts: 11

Rep: Reputation: 0
By default, Slackware does not automatically run X at bootup.

Try 'startx' and if that doesn't work (ie., you get an error like "no screens found") run 'xf86config' or 'xf86cfg' and set up your video card, monitor, and other things, then run startx.

If you want X to automatically start, login as root, then edit /etc/inittab and find the line that reads:

id:3:initdefault:

and change it to:

id:4:initdefault:

Last edited by Jen; 12-29-2002 at 01:52 AM.
 
Old 05-17-2003, 06:09 AM   #15
pbhj
Member
 
Registered: Dec 2002
Location: UK
Distribution: Slackware 12; Ubuntu 7.10
Posts: 358

Rep: Reputation: 31
When you say "tried xfree86setup and startx with no success" do you mean the screen went blank and then you had a load of nonsense like stuff (from startx) or do you mean nothing at all happened (except maybe a command line error like file not found)?

If the former usually the messages returned by X have some clued look for lines that say (EE) errors and see what it says. Also there's a file in /var/logs somewhere called XFree86.log (use slocate to find it?) which has all the error info.

If the later, did you install the X series of packages?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenOffice for Slackware 10.1 - installation problems! grazak Linux - Software 5 03-20-2005 08:01 AM
Problems with Slackware Installation Baryonic Being Linux - Distributions 5 07-22-2004 03:42 PM
installation problems with slackware 9.1 introuble Linux - Newbie 8 04-23-2004 09:22 AM
Slackware 9 Installation Problems Cyb3rKnyght Linux - Newbie 13 03-24-2004 09:00 PM
Slackware 9 Installation Problems syntac Slackware 3 06-10-2003 11:58 AM


All times are GMT -5. The time now is 10:01 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration