LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
LinkBack Search this Thread
Old 04-02-2008, 12:43 AM   #1
chd_lad
LQ Newbie
 
Registered: Apr 2008
Posts: 22

Rep: Reputation: 15
Slackware as 2nd os on 2nd hdd


hi
i have xp on a samsubg 160gb sata hdd
i am trying to install slackware 12 on my 2nd hdd. this is samsumg 80gb ide.
if i try to load the hugesmp.s kernel without all-generic-ide option, the 80gb hdd is not detected. however if i do use it the setup proceeds a little but when it reaches reading all physical media, it just sits there.

i installed slackware by removing my sata hdd and using all-generic-ide option.Now when i reconnect my sata hdd there is an warning dma interrupt timed out or something like that and the os starts.the boot is however very slow.

my sys config is
intel 965ry
core2 duo 2.4ghz
2gb ddr2 667mhz ram

please help.
 
Old 04-02-2008, 08:55 AM   #2
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: Slackware®
Posts: 10,882
Blog Entries: 1

Rep: Reputation: 1307Reputation: 1307Reputation: 1307Reputation: 1307Reputation: 1307Reputation: 1307Reputation: 1307Reputation: 1307Reputation: 1307Reputation: 1307
Hi,

Did you read the Slackware 12.0 CHANGES_AND_HINTS.TXT, UPGRADE.TXT and RELEASE_NOTES?

Quote:
excerpt form CHANGES_AND_HINTS.TXT;

It is recommended that you use one of the generic kernels (either the plain
kernel-generic or kernel-generic-smp) for daily use. For most systems,
you should use the generic SMP kernel if it will run, even if your system
is not SMP-capable. Some newer hardware needs the local APIC enabled in
the SMP kernel, and theoretically there should not be a performance penalty
with using the SMP-capable kernel on a uniprocessor machine, as the SMP
kernel tests for this and makes necessary adjustments. Furthermore, the
kernel sources shipped with Slackware 12.0 are configured for SMP usage,
so you won't have to modify those to build external out-of-tree modules
(such as NVidia or ATI proprietary drivers) if you use the SMP kernel.

If you are using one of the non-SMP kernels (huge.s or generic.s) and need
to compile third-party modules (such as the proprietary NVidia driver),
have a look in /extra/linux-2.6.21.5-nosmp-sdk/ for information on what
is needed to build them.

As stated earlier, it is recommended that you use one of the generic kernels
rather than the huge kernels; the huge kernel is primarily intended as
an "installer" and "emergency" kernel in case you forget to make an initrd.
However, if you do use one of the huge kernels, you will likely encounter
errors like this:
kobject_add failed for uhci_hcd with -EEXIST, don't try to register
These occur because the respective drivers are compiled statically into the
huge kernels but udev tries to load them anyway. These errors should be safe
to ignore, but if you really don't want them to appear, you can blacklist the
modules that try to load in /etc/modprobe.d/blacklist. However, make sure you
remove them from the blacklist if you ever decide to use the (recommended)
generic kernels.
 
Old 04-02-2008, 10:15 AM   #3
chd_lad
LQ Newbie
 
Registered: Apr 2008
Posts: 22

Original Poster
Rep: Reputation: 15
hi onebuck,
i could not get what u were trying to suggest
the links u gave were about upgrading and i am not upgrading i am doing a fresh install.
i have never used linux before and this is my first attempt at installation of a distro
so could you please be more specific as to what i should do to solve this issue?
thanks

ps: i have tried huge.s and hugesmp.s without all-generic-ide option and none detect my ide hdd

Last edited by chd_lad; 04-02-2008 at 10:25 AM. Reason: added note
 
Old 04-02-2008, 02:19 PM   #4
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: Slackware®
Posts: 10,882
Blog Entries: 1

Rep: Reputation: 1307Reputation: 1307Reputation: 1307Reputation: 1307Reputation: 1307Reputation: 1307Reputation: 1307Reputation: 1307Reputation: 1307Reputation: 1307
Hi,

Quote:
Originally Posted by chd_lad View Post
hi onebuck,
i could not get what u were trying to suggest
the links u gave were about upgrading and i am not upgrading i am doing a fresh install.
i have never used linux before and this is my first attempt at installation of a distro
so could you please be more specific as to what i should do to solve this issue?
thanks

ps: i have tried huge.s and hugesmp.s without all-generic-ide option and none detect my ide hdd
The links to Slackware 12 reference text(s) are not just for upgrade. Read them again. The first part of the 'CHANGES AND Hints.txt' is specific to the upgrade from Slackware 11 with the rest of the information providing good hints. All three links that I provided give you valid information that can be used for a Slackware 12 install.

How do you have the 'IDE' drive configured? Do have space available to create the Linux partition?

After you boot the Slackware install cd1 do a 'Dmesg |grep -i IDE' and a 'lspci -vv'. Post the output in vbcode tags either code (#) or Quote that are at the top of a reply window.

If the IDE is recognized at boot then you should be able to create the Linux partition(s) that you need with 'fdisk /dev/hda'. You can use 'fdisk -l' to see the disk(s). If you have already shrunk the M$ XP partition on the drive then you should be good to go with the before mention 'fdisk /dev/hda'. Else you will have to use a partition tool to reduce the M$ Win/xp partition.

You should use one of the 'generic kernels'. Either the plain
kernel-generic or kernel-generic-smp for daily use. The kernel is selected during the 'setup' for Slackware install. If at boot you are having problems then try the other kernel.

Quote:
excerpt from CHANGES AND HINTS;

As stated earlier, it is recommended that you use one of the generic kernels
rather than the huge kernels; the huge kernel is primarily intended as
an "installer" and "emergency" kernel in case you forget to make an initrd.

However, if you do use one of the huge kernels, you will likely encounter
errors like this:
kobject_add failed for uhci_hcd with -EEXIST, don't try to register
These occur because the respective drivers are compiled statically into the
huge kernels but udev tries to load them anyway. These errors should be safe
to ignore, but if you really don't want them to appear, you can blacklist the
modules that try to load in /etc/modprobe.d/blacklist.
Note the underlined comments.

Provide a detail of the problems you are experiencing, Dmesg output relative to the problem and other error messages that you are getting. An exact system hardware configuration for the install.

I would suggest that you do get your system up and running before you add additional hardware. That way you don't have a lot to work out at once. Just handle the problems one at a time.
 
Old 04-03-2008, 09:12 AM   #5
chd_lad
LQ Newbie
 
Registered: Apr 2008
Posts: 22

Original Poster
Rep: Reputation: 15
hi,
thanks for your quick reply.
i tried generic.s but kernel not found error
i cannot find the generic kernel u are talking about.
i tried looking for it in the dvd but its not present in the kernels directory.
am i doing something wrong here?
could you please tell me the command to use at the
boot:
prompt to start installation using the generic kernel?
yes my ide hdd has space,its a blank hdd without any partitions.
the xp installation is on sata hdd so do i need to compress that partition even if i want to install slackware on ide one?

Last edited by chd_lad; 04-03-2008 at 09:20 AM.
 
Old 04-03-2008, 02:26 PM   #6
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: Slackware®
Posts: 10,882
Blog Entries: 1

Rep: Reputation: 1307Reputation: 1307Reputation: 1307Reputation: 1307Reputation: 1307Reputation: 1307Reputation: 1307Reputation: 1307Reputation: 1307Reputation: 1307
Hi,

The huge kernels are the Slackware 12.0 install kernels. You can use the default 'huge-smp' installer by pressing return. The other installer kernel is the 'huge'.

You still have not posted any real information as to the errors that you are experiencing. Post the un-edited error messages.

As for the kernel packages, look in '/slackware/a'.

You need to create the Linux partitions before the install. You can use 'fdisk /dev/hda' or 'cfdisk /dev/hda'. Change the device to your device if it is not '/dev/hda'. You will need to create a '/' and a 'swap'. For the '/' 5GB should be enough for a full install. The 'swap' should be at least equal or 2X the RAM.

If the XP is on the sda device then leave it alone. Btw, you would be shrinking the size of the 'XP' partition to allow the creation of another partition. You can have four primary partitions. But you can have one of the primaries as a extended partition then within the extended partition you can create additional partition.

Answer the query about the location during the 'setup'. If you don't answer properly then you will need to edit the '/etc/lilo.conf' after the install and then re-run 'lilo' as root to write the 'MBR' again.

You could reference 'Slackware® Basics' or 'Slackware® Essentials' to get some good help and background.
 
Old 04-04-2008, 03:08 PM   #7
chd_lad
LQ Newbie
 
Registered: Apr 2008
Posts: 22

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by onebuck View Post
Hi,

The huge kernels are the Slackware 12.0 install kernels. You can use the default 'huge-smp' installer by pressing return. The other installer kernel is the 'huge'.

You still have not posted any real information as to the errors that you are experiencing. Post the un-edited error messages.

As for the kernel packages, look in '/slackware/a'.

You need to create the Linux partitions before the install. You can use 'fdisk /dev/hda' or 'cfdisk /dev/hda'. Change the device to your device if it is not '/dev/hda'. You will need to create a '/' and a 'swap'. For the '/' 5GB should be enough for a full install. The 'swap' should be at least equal or 2X the RAM.

If the XP is on the sda device then leave it alone. Btw, you would be shrinking the size of the 'XP' partition to allow the creation of another partition. You can have four primary partitions. But you can have one of the primaries as a extended partition then within the extended partition you can create additional partition.

Answer the query about the location during the 'setup'. If you don't answer properly then you will need to edit the '/etc/lilo.conf' after the install and then re-run 'lilo' as root to write the 'MBR' again.

You could reference 'Slackware® Basics' or 'Slackware® Essentials' to get some good help and background.

there are no defined error messages. slackware wont detect my ide hdd without the all-generic-ide and when i use this option the boot process freezes at
Reading all physical volumes. This may take a minute or so.

or it boot after a long time and freezes when i type setup and press enter.

the pc does not hang as if i press any key it is typed on the screen but the installation does not proceed it just sits there.

and if this makes any difference:
is i use the normal hugesmp.s kernel the only problem is that my ide hdd is not detected the rest boot and setup work fine.

ps:
i read somewhere that it is the issue of the 965 chipset and is resolved using ide0=0x1018,0x1010 option but this does not seem to work for me

Last edited by chd_lad; 04-04-2008 at 03:12 PM.
 
Old 04-05-2008, 03:43 PM   #8
chd_lad
LQ Newbie
 
Registered: Apr 2008
Posts: 22

Original Poster
Rep: Reputation: 15
could not get it to work
read somewhere that this is a kernel issue with Jmicron ide
so installed ubuntu 7.10 without any problems
ll have wait till slack uses new kernel
anyways thanks for ur suggestions
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Why can't I see 2nd HDD? DrJon Linux - Hardware 4 10-30-2006 08:03 PM
XP on 1 HDD,Linux on 2nd HDD,remove ,other won't launch Dark Templar Linux - Newbie 3 05-07-2006 11:03 AM
How to format & mount 2nd hdd after FedCor1 has been installed on 1st hdd? clay394 Fedora 1 05-18-2004 01:50 PM
Problem with 2nd HDD muah Linux - Newbie 7 01-12-2004 01:00 PM
2nd HDD TBBA Linux - Newbie 5 05-03-2002 01:40 PM


All times are GMT -5. The time now is 04:14 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