LinuxQuestions.org
Register a domain and help support LQ
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 05-31-2008, 11:58 AM   #16
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: Tupelo, MS
Distribution: Gentoo
Posts: 6,926

Rep: Reputation: 124Reputation: 124

Thanks for the output. Now issue:
Code:
hdparm -d 1 /dev/hda
and post the output.

It would also be helpful to see more of that output in dmesg about:
Code:
0000:00:1f.2:
We see from "lspci -v" that this is:
Code:
00:1f.2 IDE interface: Intel Corporation 82801FBM (ICH6M) SATA Controller (rev 03) (prog-if 80 [Master])
the SATA Controller. It should use that "ata_piix" driver, but maybe it doesn't?

Can you issue "dmesg | less" and use the PageUp and PageDown keys to look for more about that?

And can you please post all of your /etc/lilo.conf -- also in code tags?

Last edited by Bruce Hill; 05-31-2008 at 12:12 PM.
 
Old 05-31-2008, 10:11 PM   #17
markluocanada
Member
 
Registered: Dec 2006
Location: Shanghai China
Distribution: Slackware 13.1_x86_32
Posts: 143

Original Poster
Rep: Reputation: 17
Thanks Bruce,

Output for hdparm -d 1 /dev/hda
Code:
/dev/hda:
 setting using_dma to 1 (on)
 HDIO_SET_DMA failed: Operation not permitted
 using_dma     =  0 (off)
More output of dmesg | grep -e ^'ata' -e ^'scsi'

Code:
ata_piix 0000:00:1f.2: version 2.12
ata_piix 0000:00:1f.2: MAP [ P0 P2 IDE IDE ]
ata_piix 0000:00:1f.2: failed to request/iomap BARs for port 0 (errno=-16)
ata_piix 0000:00:1f.2: failed to request/iomap BARs for port 1 (errno=-16)
ata_piix 0000:00:1f.2: no available native port
The following are output of dmesg | less, I tried to looking for the sata controller you mentioned, but didn't get it, so I just post something which might be useful from my perspective.

Code:
Probing IDE interface ide0...
hdb: IRQ probe failed (0xfffffcbe)
hdb: IRQ probe failed (0xfffffcbe)
hda: TOSHIBA MK8032GAX, ATA DISK drive
Probing IDE interface ide1...
hdc: MATSHITADVD-RAM UJ-822S, ATAPI CD/DVD-ROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: max request size: 512KiB
hda: 156301488 sectors (80026 MB), CHS=16383/255/63
hda: cache flushes supported
 hda: hda1 hda2 hda3 < hda5 hda6 hda7 hda8 >
hdc: ATAPI 24X DVD-ROM DVD-R-RAM CD-R/RW drive, 2048kB Cache
Uniform CD-ROM driver Revision: 3.20
......
ata_piix 0000:00:1f.2: version 2.12
ata_piix 0000:00:1f.2: MAP [ P0 P2 IDE IDE ]
PCI: Unable to reserve I/O region #1:8@1f0 for device 0000:00:1f.2
ata_piix 0000:00:1f.2: failed to request/iomap BARs for port 0 (errno=-16)
PCI: Unable to reserve I/O region #3:8@170 for device 0000:00:1f.2
ata_piix 0000:00:1f.2: failed to request/iomap BARs for port 1 (errno=-16)
ata_piix 0000:00:1f.2: no available native port
output of /etc/lilo.conf
Code:
# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
# Append any additional kernel parameters:
append=" vt.default_utf8=0"
boot="/dev/hda"
# Boot BMP Image.
# Bitmap in BMP format: 640x480x8
  bitmap = /boot/slack.bmp
# Menu colors (foreground, background, shadow, highlighted
# foreground, highlighted background, highlighted shadow):
  bmp-colors = 255,0,255,0,255,0
# Location of the option table: location x, location y, number of
# columns, lines per column (max 15), "spill" (this is how many
# entries must be in the first column before the next begins to
# be used.  We don't specify it here, as there's just one column.
  bmp-table = 60,6,1,16
# Timer location x, timer location y, foreground color,
# background color, shadow color.
  bmp-timer = 65,27,0,255
# Standard menu.
# Or, you can comment out the bitmap menu above and 
# use a boot message with the standard menu:
#message = /boot/boot_message.txt
# Wait until the timeout to boot (if commented out, boot the
# first entry immediately):
prompt
# Timeout before the first entry boots.
# This is given in tenths of a second, so 600 for every minute:
timeout="300"
# Override dangerous defaults that rewrite the partition table:
change-rules
  reset
# VESA framebuffer console @ 1024x768x256
vga="773"
# Normal VGA console
# vga = normal
# VESA framebuffer console @ 1024x768x64k
# vga=791
# VESA framebuffer console @ 1024x768x32k
# vga=790
# VESA framebuffer console @ 1024x768x256
# vga=773
# VESA framebuffer console @ 800x600x64k
# vga=788
# VESA framebuffer console @ 800x600x32k
# vga=787
# VESA framebuffer console @ 800x600x256
# vga=771
# VESA framebuffer console @ 640x480x64k
# vga=785
# VESA framebuffer console @ 640x480x32k
# vga=784
# VESA framebuffer console @ 640x480x256
# vga=769
# End LILO global section
# Windows bootable partition config begins

other = /dev/hda1
	label="Windows"
  table = /dev/hda
# Windows bootable partition config ends
# Linux bootable partition config begins
image = /boot/vmlinuz
  root = /dev/hda6
  label = Linux
  read-only
# Linux bootable partition config ends

# Linux bootable partition config begins
image = /boot/vmlinuz-generic-smp-2.6.24.5-smp
  initrd = /boot/initrd.gz
  root = /dev/hda6
  label = Slack-12.1
  read-only
# Linux bootable partition config ends
Sorry, another lengthy post. Bruce, do you think it will be easier for me to reinstall slackware, with DMA enabled at the very first beginning?

Thanks.
 
Old 05-31-2008, 10:21 PM   #18
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: Tupelo, MS
Distribution: Gentoo
Posts: 6,926

Rep: Reputation: 124Reputation: 124
Hey hey ... it's Sunday and my time is limited ... sic gone.

If you have your data backed up, reinstalling and starting with "hugesmp.s hda=noprobe"
would probably get that box setup well.
 
Old 05-31-2008, 10:29 PM   #19
markluocanada
Member
 
Registered: Dec 2006
Location: Shanghai China
Distribution: Slackware 13.1_x86_32
Posts: 143

Original Poster
Rep: Reputation: 17
Thanks Bruce, and I will go for the easier way. and I will install it.

Have a good day, Bruce, Kunming, the most beautiful city in China.

Thank you very much for help.

Mark
 
Old 06-03-2008, 09:08 AM   #20
markluocanada
Member
 
Registered: Dec 2006
Location: Shanghai China
Distribution: Slackware 13.1_x86_32
Posts: 143

Original Poster
Rep: Reputation: 17
Bruce,

I just installed my slackware again, after fixing a kernel panic using Alien Bob's instruction of rebooting the system, I successfully got into the system again.

Now it is really really fast, I just had a test of moving a large file from windows xp partition to slackware, while having my music on,, the music wasn't affected at all.....works great, now I can see slackware is really fast..

Just to let you know what happened for the kernel panic. I installed slackware with "hugesmp.s hda=noprobe" but forgot to add this parameter into the dialogue box before installation closure.. so when I tried to boot the slackware, i got a kernel panic, the system can't find the root, and also suggests me to append "root=" a partition.

So, I reboot the system with slackware cd, and mount /, and /home, and then chroot /mnt, and then use vi to add "hda=noprobe" to the appending line in global configuration of /ect/lilo.conf, run lilo, then reboot,

EVERYTHING IS BACK, Beauty.

Thank you Bruce and thank you Alien Bob, (or Eric).

Now I will do other configrations, a weird thing, that I can't find the pico editor which i use all the time, and I need to get it back again.
 
Old 06-03-2008, 09:59 AM   #21
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: Tupelo, MS
Distribution: Gentoo
Posts: 6,926

Rep: Reputation: 124Reputation: 124
A good way to find it is:
Code:
mingdao@silas:~$ which pico
/usr/bin/pico
I'm so glad you got it going.

The one thing that kept me in Slackware in my early days when
I could not fix broken things was the ability to multi-task.
That is only one of many things Linux has over Windows, but one
that impresses me greatly.

Keep asking questions ... and keep on Slackin!
 
Old 06-03-2008, 10:24 AM   #22
markluocanada
Member
 
Registered: Dec 2006
Location: Shanghai China
Distribution: Slackware 13.1_x86_32
Posts: 143

Original Poster
Rep: Reputation: 17
Thanks Bruce,

I did an "expert" install rather than a "full" install, though I just begin to learn slackware,

There are some apps I didn't choose to install, Pine mail system is one of them, which comes with PICO editor. I did some googling, and try to reinstall PICO, but with no luck..

Can you please guide me some reading to get this done?

Thanks.

here is code

Code:
root@localhost:~# which pico
which: no pico in (/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin:/usr/games:/usr/lib/java/bin:/usr/lib/java/jre/bin:/usr/lib/qt/bin)
root@localhost:~#
THanks.
 
Old 06-03-2008, 10:31 AM   #23
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 5,381

Rep: Reputation: Disabled
You do not have to install pine per se.
There is also 'nano' which is in the 'ap' series and is a free clone of pico (which has a weird license).

Eric
 
Old 06-03-2008, 10:47 AM   #24
markluocanada
Member
 
Registered: Dec 2006
Location: Shanghai China
Distribution: Slackware 13.1_x86_32
Posts: 143

Original Poster
Rep: Reputation: 17
Thank you Eric,

Nano is done, good, actually, I tried to look for Nano in Slackbuilds, but didn't find it, thanks for your information.

Mark
 
Old 06-04-2008, 08:18 AM   #25
markluocanada
Member
 
Registered: Dec 2006
Location: Shanghai China
Distribution: Slackware 13.1_x86_32
Posts: 143

Original Poster
Rep: Reputation: 17
Bruce,

Sorry, and here are two more questions, hope you can direct me for any solution.

First, do i need to install ATI driver for my box? If I do, how to do that? some readings tell that ATI is quite tricky with slackware.

My T43 comes with ATI Mobility Radeon X300, and I have download the driver, ati-driver-installer-8-5-x86.x86_64.run

Second, I try to get Scim going, and followed the instruction of "changes and hints. txt", but was stuck by this
Code:
"Start the scim daemon as soon as your X session starts. The scim daemon must be active before any of your X applications. In KDE, you can add a shell script to the ~/.kde/Autostart folder that runs the command "scim -d".
so can you tell me how to write this "scim -d" shell script? Never wrote one before.

Thanks.

Mark
 
Old 06-04-2008, 09:46 AM   #26
markluocanada
Member
 
Registered: Dec 2006
Location: Shanghai China
Distribution: Slackware 13.1_x86_32
Posts: 143

Original Poster
Rep: Reputation: 17
Sorry, just find the solution for ATI.
Thanks mark
 
Old 06-04-2008, 10:27 AM   #27
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: Tupelo, MS
Distribution: Gentoo
Posts: 6,926

Rep: Reputation: 124Reputation: 124
For SCIM, do exactly what it says in CHANGES_AND_HINTS.TXT.

If you want to start SCIM manually, in KDE use "Alt+F2" to
get a run command dialog box, then issue "scim -d". If you
want it to start automatically, create a file named:
Code:
.kde/Autostart/startscim.sh
in your home directory, then make it executable by issuing
"chmod +x .kde/Autostart/startscim.sh" and it should read:
Code:
mingdao@silas:~$ ls -l .kde/Autostart/startscim.sh
-rwxr-xr-x 1 mingdao users 18 2008-05-22 10:19 .kde/Autostart/startscim.sh
The contents of that file should be:
Code:
#!/bin/sh
scim -d
That's for runlevel 3 ... only one we use. For runlevel 4, which
is the graphical login, read in CHANGES_AND_HINTS.TXT.

You will need to use SCIM Setup once you launch SCIM. Go to
IMEngine > Global Setup and choose your language(s). I only
have one Simplified Chinese choice for Pinyin.

Btw ... startscim.sh is the shell script.
 
Old 06-06-2008, 12:20 AM   #28
markluocanada
Member
 
Registered: Dec 2006
Location: Shanghai China
Distribution: Slackware 13.1_x86_32
Posts: 143

Original Poster
Rep: Reputation: 17
Hi, Bruce,

thanks for the post, and I think i did exactly what changes-and-hints says, can you take a look at my /etc/profile.d/lang.sh file to see if I got everything right?

Code:
#!/bin/sh
# Set the system locale.  (no, we don't have a menu for this ;-)
# For a list of locales which are supported by this machine, type:
#   locale -a

# en_US is the Slackware default locale:
export LANG=en_US

# 'C' is the old Slackware (and UNIX) default, which is 127-bit
# ASCII with a charmap setting of ANSI_X3.4-1968.  These days,
# it's better to use en_US or another modern $LANG setting to
# support extended character sets.
#export LANG=C

# There is also support for UTF-8 locales, but be aware that
# some programs are not yet able to handle UTF-8 and will fail to
# run properly.  In those cases, you can set LANG=C before
# starting them.  Still, I'd avoid UTF unless you actually need it.
#export LANG=en_US.UTF-8

# Another option for en_US:
#export LANG=en_US.ISO8859-1

# One side effect of the newer locales is that the sort order
# is no longer according to ASCII values, so the sort order will
# change in many places.  Since this isn't usually expected and
# can break scripts, we'll stick with traditional ASCII sorting.
# If you'd prefer the sort algorithm that goes with your $LANG
# setting, comment this out.
export LC_COLLATE=C
export LANG=en_US.UTF-8

# End of /etc/profile.d/lang.sh
Thanks, I am Chinese, so I will only use Pinyin or Smart Pinyin.

Mark
 
Old 06-06-2008, 09:51 PM   #29
markluocanada
Member
 
Registered: Dec 2006
Location: Shanghai China
Distribution: Slackware 13.1_x86_32
Posts: 143

Original Poster
Rep: Reputation: 17
Haha..

one thing at a time, I got the ati driver running, great. Now my Xine is much faster than before.

That should be credit to one thread I read one night concerning about ATI, and I thought I had bookmarked it, but couldn't find it now. So, can't find that guy's name, Anyway, thanks for the forum, and I will continue my Slackware adventure, slowly but surely.

Mark.
 
Old 06-09-2008, 09:33 AM   #30
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: Tupelo, MS
Distribution: Gentoo
Posts: 6,926

Rep: Reputation: 124Reputation: 124
Mark,

These are the lines in these two files which are uncommented:
Code:
mingdao@silas:~$ egrep -v "(^#|^ *$)" /etc/profile.d/lang.sh
export LANG=en_US
export LC_COLLATE=C

mingdao@silas:~$ egrep -v "(^#|^ *$)" .profile
export LANG=en_US.UTF-8
Otherwise, I've only done what you can read in CHANGES_AND_HINTS.TXT.

You should comment (put # in front of)
Code:
export LANG=en_US
in your /etc/profile.d/lang.sh file.

Post back if you still have a problem.

Last edited by Bruce Hill; 06-09-2008 at 09:36 AM. Reason: typo
 
  


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
hugesmp or not stu_mueller Slackware 17 04-15-2008 12:16 PM
slack 12, switch to generic kernel from huge kernel, using grub? jaguarrh Slackware 8 09-19-2007 07:29 AM
GART TLB error generic level generic Clydesdale Linux - Software 1 08-13-2007 07:47 PM
GART TLB error generic level generic Clydesdale Linux - Hardware 0 08-13-2007 07:18 PM
Switch from huge-smp-2.6.21.5 to generic-2.6.21.5 tronayne Slackware 1 07-30-2007 09:34 AM


All times are GMT -5. The time now is 02:56 PM.

Main Menu
Advertisement
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