LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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-29-2008, 08:56 AM   #1
markluocanada
Member
 
Registered: Dec 2006
Location: Shanghai China
Distribution: Slackware 13.1_x86_32
Posts: 143

Rep: Reputation: 17
how to switch from hugesmp.s to generic.s after intallation


Hi, Guys,

I guess this might be another quite stupid question,, and I read through all the changes-and-hints.txt, and also other readme.txt, and all recommended to use one of the generic smp kernels...


I know that I have to "create an initrd in order to boot
the generic kernels - see /boot/README.initrd for instructions," and know the instructions as well.

but my questions is how to switch from the default hugesmp.s to generic smp kernel?

Can someone direct me a link or reading which I can get more instructions please?

Thanks.

Mark
 
Old 05-29-2008, 09:13 AM   #2
randomsel
Member
 
Registered: Oct 2006
Location: Wilmington, DE
Distribution: Slackware 11
Posts: 201

Rep: Reputation: 30
If you did a full install, you should have most of these files in your /boot/ directory:

Code:
root@portalab:/home/# ls -l /boot/
total 17424
lrwxrwxrwx 1 root root      37 2007-12-04 14:55 README.initrd -> /usr/doc/mkinitrd-1.1.3/README.initrd
lrwxrwxrwx 1 root root      32 2008-02-13 15:20 System.map -> System.map-huge-smp-2.6.21.5-smp
-rw-r--r-- 1 root root  795880 2008-02-11 19:16 System.map-generic-2.6.21.5
-rw-r--r-- 1 root root  813610 2008-02-11 19:16 System.map-generic-smp-2.6.21.5-smp
-rw-r--r-- 1 root root 1232918 2008-02-11 19:16 System.map-huge-2.6.21.5
-rw-r--r-- 1 root root 1252098 2008-02-11 19:16 System.map-huge-smp-2.6.21.5-smp
-rw-r--r-- 1 root root     512 2007-08-29 12:57 boot.0300
-rw-r--r-- 1 root root     209 2007-08-29 12:57 boot_message.txt
lrwxrwxrwx 1 root root      28 2008-02-13 15:20 config -> config-huge-smp-2.6.21.5-smp
-rw-r--r-- 1 root root   72738 2008-02-11 19:16 config-generic-2.6.21.5
-rw-r--r-- 1 root root   72764 2008-02-11 19:16 config-generic-smp-2.6.21.5-smp
-rw-r--r-- 1 root root   72643 2008-02-11 19:16 config-huge-2.6.21.5
-rw-r--r-- 1 root root   72669 2008-02-11 19:16 config-huge-smp-2.6.21.5-smp
-rw-r--r-- 1 root root    5040 2007-06-10 02:09 diag1.img
drwxr-xr-x 9 root root    4096 2007-08-30 17:23 initrd-tree/
-rw-r--r-- 1 root root  468201 2007-08-30 17:23 initrd.gz
-rw------- 1 root root  173568 2008-02-13 15:35 map
lrwxrwxrwx 1 root root      29 2008-02-13 15:20 vmlinuz -> vmlinuz-huge-smp-2.6.21.5-smp
-rw-r--r-- 1 root root 1937976 2008-02-11 19:16 vmlinuz-generic-2.6.21.5
-rw-r--r-- 1 root root 2088024 2008-02-11 19:16 vmlinuz-generic-smp-2.6.21.5-smp
-rw-r--r-- 1 root root 4097848 2008-02-11 19:16 vmlinuz-huge-2.6.21.5
-rw-r--r-- 1 root root 4417016 2008-02-11 19:16 vmlinuz-huge-smp-2.6.21.5-smp
Notice how System.map, config, and vmlinuz are symlinks to other files.

To change the kernels, you can:
  • point those symlinks to the corresponding file and run lilo (ln -s ...)
  • add new entries to /etc/lilo.conf with the full name of the kernel, and run lilo


don't forget to create initrd, or else your kernel will most likely not boot.

Last edited by randomsel; 05-29-2008 at 09:16 AM.
 
Old 05-29-2008, 10:46 AM   #3
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
You can actually do this without changing a single symlink. At least, it works for all the computers on this LAN. Just edit /etc/lilo.conf and add these lines above your present ones:
Code:
# Linux bootable partition config begins
image = /boot/vmlinuz-generic-smp-2.6.24.5-smp
  initrd = /boot/initrd.gz
  root = /dev/hda8
  label = Slack-12.1
  read-only  # Partitions should be mounted read-only for checking
# Linux bootable partition config ends
Since there is the possibility that something could go wrong, add the lines above to /etc/lilo.conf but leave the present ones for the kernel you know you can boot.

Change the root device to yours, save the file, and then run "lilo" to write it to the bootloader.

You can download Alien Bob's mkinitrd generator and run it and use the line it outputs for your /boot/initrd.gz.

That mkinitrd_command_generator.sh is a script which will generate an initrd.gz for your kernel. Place it in your /tmp directory and then as root issue "chmod +x /tmp/mkinitrd_command_generator.sh". Then issue "sh /tmp/mkinitrd_command_generator.sh -i" and answer the questions as best you can. It should not be too hard. After you finish, copy and paste the recommended line in your terminal and press Enter. This will make an initrd.gz for your machine.
 
Old 05-30-2008, 05:05 AM   #4
markluocanada
Member
 
Registered: Dec 2006
Location: Shanghai China
Distribution: Slackware 13.1_x86_32
Posts: 143

Original Poster
Rep: Reputation: 17
Guys, I am done,, following you guys' instruction, I think I got it done,, and I should be using the generic kernel.

Thanks for everything, and I will try to install my ATI drive now..

Here is another quick question, I am using an IBM T43, with 1gb ram. When i tried to untar a file while listening to the music, the KDE just so slow, even stalled. Is there anything wrong with my installation? or that is the way Slackware 12.1 is running? I heard that Slackware was supposed to be fast.

Thanks.

Mark
 
Old 05-30-2008, 05:38 AM   #5
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
Does your laptop have a SATA hard drive by chance? If so, you might need to use hda=noprobe
with the Slackware kernel. Some comps have a problem and turn hdparm off. That is also
covered in CHANGES_AND_HINTS.TXT. To check it out, issue "hdparm /dev/hda" substituting
hda for your drive containing Slackware.
 
Old 05-30-2008, 05:44 AM   #6
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8105Reputation: 8105Reputation: 8105Reputation: 8105Reputation: 8105Reputation: 8105Reputation: 8105Reputation: 8105Reputation: 8105Reputation: 8105Reputation: 8105
Regarding the slowness of your T43 Slackware system:

Can you please check the results of
Code:
 hdparm -d /dev/hda
(assuming /dev/hda is your hard drive) and tell us if the command reports that your DMA is turned off? If so, try
Code:
 hdparm -d 1 /dev/hda
and look if you get an error about not being able to turn on DMA for your disk.
If so, you are affected by http://www.thinkwiki.org/wiki/Proble...stem_hard_disk

There is a solution to this without re-installing Slackware. You will have to change your lilo configuration so that the kernel no longer tries to load and use the IDE driver for your disk (which disables DMA and kills your performance) but instead let it use the SATA driver.

You need to boot from the Slackware install CD again but this time type the following line as the boot command:
Code:
hugesmp.s hda=noprobe
When the Slackware installer finishes booting and leaves you at the prompt you will have to mount your harddisk partitions manually below /mnt , then 'chroot' into your mounted hard disk partitions, fix the files /etc/lilo.conf and /etc/fstab on your harddisk and re-run lilo.

Because of using "hda=noprobe" at boot you will notice that your hard disk is now called /dev/sda . Furthermore, running "sdparm -d /dev/sda" will show you that DMA is now actually enabled.

Mount your partitions below /mnt (assuming /dev/sda1 is your '/' partition):
Code:
mount /dev/sda1 /mnt
mount -o bind /proc /mnt/proc
mount -o bind /sys /mnt/sys
If there are other disk partitions you have created earlier, like one for /home, you should mount these as well below /mnt at the proper node. Example for a /home filesystem on the /dev/sda2 partition:
Code:
mount /dev/sda2 /mnt/home
Now, do a chroot into your harddisk install:
Code:
chroot /mnt
This effectively tricks the system into believing that your hard disk is the root fileystem, instead of the CDROM filesystem.
In the 'chroot', edit /etc/fstab and /etc/lilo.conf and change all occurrences of hda to sda in both files.
Additionally, you will have to make sure that there is an "append = " line in the global section of /etc/lilo.conf. It should contain at least
Code:
append = "hda=noprobe"
- note that it may well be possible that there already is a "append =" line present. Just add hda=noprobe to that line.
When you're finished with all that, you should re-run lilo to apply the changes to the bootloader:
Code:
lilo
You may see some warnings, but these can be ignored. Errors are bad of course.
You can now exit the 'chroot' and reboot the system:
Code:
exit
reboot
Eric
 
Old 05-30-2008, 11:01 AM   #7
markluocanada
Member
 
Registered: Dec 2006
Location: Shanghai China
Distribution: Slackware 13.1_x86_32
Posts: 143

Original Poster
Rep: Reputation: 17
Bruce-hill, thanks for the reply, and I am using a ide drive..

Alien Bob, thanks for the instruction,,

I think that I did exactly what you said, like modify hda to sda in both /etc/fstab and /etc/lilo.conf,, and here is what i got from the reboot,

"mount: mounting /dev/hda6 on /mnt failed: no such device or addresss
ERROR: No /sbin/init found on rootdev (or not mounted). trouble ahead.
you can try to fix it, type 'exit' when things are done
/bin/sh: can't access tty: job cotrol turned off
/$"

did i do anything wrong.. ?
 
Old 05-30-2008, 06:25 PM   #8
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
Quote:
Originally Posted by markluocanada View Post
"mount: mounting /dev/hda6 on /mnt failed: no such device or address

did i do anything wrong.. ?
The first thing Alien Bob said to do was check the results of:
Code:
hdparm -d /dev/hda
And in my post I said:
Quote:
To check it out, issue "hdparm /dev/hda" substituting
hda for your drive containing Slackware.
Did you do that, and if so, what did it output? It could output that DMA is turned on and actually be your CD/DVD-ROM drive. A better output to tell what hard drive you have would be "hdparm -i /dev/hda", which will output some information about the drive at /dev/hda, such as:
Code:
root@silas:~# hdparm -i /dev/hda

/dev/hda:

 Model=TSSTcorpCD/DVDW TS-H552U, FwRev=US06, SerialNo=
 Config={ Fixed Removeable DTR<=5Mbs DTR>10Mbs nonMagnetic }
 RawCHS=0/0/0, TrkSize=0, SectSize=0, ECCbytes=0
 BuffType=unknown, BuffSize=0kB, MaxMultSect=0
 (maybe): CurCHS=0/0/0, CurSects=0, LBA=yes, LBAsects=0
 IORDY=yes, tPIO={min:227,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

 * signifies the current active mode
As you can see, /dev/hda on this comp is a DVD burner. And it is PATA; this comp also has a SATA DVD burner, and a SATA hard disk. They are /dev/sr0 and /dev/sda respectively.

If your drive is PATA and not SATA, you don't change hda to sda. So the first thing we must do is determine what disk in your system has Slackware.

Now you need to boot with the Slackware CD1 as a rescue CD. Since we're reasonably sure your / partition is on /dev/hda6,
at the boot prompt enter:
Code:
hugesmp.s root=/dev/hda6 rdinit= ro
and if that boots you into your system, first issue:
Code:
hdparm -i /dev/hda
to see what it outputs. If you are sure your drive is PATA and not SATA, then change the sda entries back to hda entries and then run "lilo" and reboot. You should get back into your system.

If so, then post the output of these commands:
Code:
hdparm /dev/hda
hdparm -tT /dev/hda
hdparm -iI /dev/hda
and we'll continue from there.
 
Old 05-30-2008, 09:11 PM   #9
markluocanada
Member
 
Registered: Dec 2006
Location: Shanghai China
Distribution: Slackware 13.1_x86_32
Posts: 143

Original Poster
Rep: Reputation: 17
Thanks Bruce for this early post, even in a saturday morning.

I did what you said "hugesmp.s root=/dev/hda6 rdinit= ro"

here is what i got, "an error occurred duing the root filesystem check you will be giving the chance to log into the system
in a single-user mode to fix the problem.
if you are using ext2 filesystem, running 'e2fsck -v -y <partition>' might help"

if offers me to enter my root password to fix something,, i did, and when try to "mount /dev/had6 /mnt" slackware tells me "/dev/hda6 already mounted or /mnt busy

and when i try to change sda back to hda from the /etc/fstab, and /etc/lilo.conf, slackware tells me "cannot open file for writing: read-only file system" and I cannot change them.

So what can i do now?

result of hdparm /dev/hda
/dev/hda
multcount = 0 (off)
io_support = 0 (default)
16-bit)
unmaskirq =0 off
using_dma = 0 off
keepsettings =0 off
readonly =0off
readahead = 256 on
geometry = 16383/255/63, sector = 156301488, start=0

result for hdparm -tT /dev/hda
/dev/hda
timing cached reads: 824mb in 2.00 seconds = 411.83mb/sec
timing buffered disk read: 8mb in 3.59 seconds=2.23mb/sec

Result for hdparm -iI /dev/hda is too long, as I am typing them on another Thinkpad I have..

Thank you. my / is hda6
 
Old 05-31-2008, 05:58 AM   #10
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
Before we go any further, please tell us your exact Thinkpad T43 model. You should be able to get it off your laptop, and it should correspond to one of the models from the ThinkWiki.

Also, please run "hdparm -i /dev/hda" and give us the exact model of your hard drive. You don't need to copy the entire output, just the model ... from my example above that would be "Model=TSSTcorpCD/DVDW TS-H552U".
 
Old 05-31-2008, 07:13 AM   #11
markluocanada
Member
 
Registered: Dec 2006
Location: Shanghai China
Distribution: Slackware 13.1_x86_32
Posts: 143

Original Poster
Rep: Reputation: 17
Hi, Bruce,

My model is IBM T43 2668W6W,,,,

I did what you said and boot from "hugesmp.s root=/dev/hda rdinit=ro" but got kernel panic, so i can't have the result of "hdparm -i /dev/hda", so i got into windows xp, and had the following information,

Thinkpad t43 2668 w6w

hardisk: toshiba mk8032gax
DVD: matshita dvd-ram uj-8225

will that be any help?
 
Old 05-31-2008, 07:44 AM   #12
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
Your hard drive is PATA. However, the ThinkWiki does not list a T43 2668W6W. Therefore, I can not tell for sure whether or not you have the issue with the pata_piix module or not. Perhaps it's best to get your laptop where it will boot Slackware again, then we can work on your issues. At least then we can get proper output from that computer.

I don't know if your post there has a typo, but it should have been:
Code:
hugesmp.s root=/dev/hda6 rdinit= ro
rather than:
Code:
hugesmp.s root=/dev/hda rdinit=ro
If you issue that command, and it does not boot into your system, then use the methods Alien Bob posted before. Boot with Slackware-12.1 CD1 and just press Enter to use the hugesmp.s kernel. Then:
Code:
mount /dev/hda6 /mnt
mount -o bind /proc /mnt/proc
mount -o bind /sys /mnt/sys
chroot /mnt
When you get your system up, you can edit /etc/lilo.conf and /etc/fstab change the sda entries to hda and run "lilo" and reboot.
 
Old 05-31-2008, 08:08 AM   #13
markluocanada
Member
 
Registered: Dec 2006
Location: Shanghai China
Distribution: Slackware 13.1_x86_32
Posts: 143

Original Poster
Rep: Reputation: 17
Thanks Bruce, I am back to slackware now, and here is the output of hdparm -i /dev/hda

[HTML]root@localhost:~# hdparm -i /dev/hda

/dev/hda:

Model=TOSHIBA MK8032GAX, FwRev=AB311E, SerialNo=X5HO3285S
Config={ Fixed }
RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=68
BuffType=unknown, BuffSize=0kB, MaxMultSect=16, MultSect=off
CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=156301488
IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120}
PIO modes: pio0 pio1 pio2 pio3 pio4
DMA modes: sdma0 sdma1 sdma2 mdma0 mdma1 mdma2
UDMA modes: udma0 udma1 udma2 udma3 udma4 *udma5
AdvancedPM=yes: unknown setting WriteCache=enabled
Drive conforms to: Unspecified: ATA/ATAPI-1,2,3,4,5,6

* signifies the current active mode

root@localhost:~#
[/HTML]

Any help? and it seems to turn this dma on is very challenging..

Thanks
 
Old 05-31-2008, 08:18 AM   #14
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
Okay, now let's see the output of the following commands as root:
Code:
hdparm /dev/hda
hdparm -tT /dev/hda
lspci -v
lsmod
uname -a
fdisk -l
mount
dmesg | grep -e ^'ata' -e ^'scsi'
And please put [_code] without the underscore before each command's output, and [_/code] without the underscore after it. You can check Preview Post to see how it will look before posting. Or use code tags if you have your editor setup that way.

Last edited by Bruce Hill; 05-31-2008 at 08:20 AM. Reason: add please use code tags
 
Old 05-31-2008, 08:40 AM   #15
markluocanada
Member
 
Registered: Dec 2006
Location: Shanghai China
Distribution: Slackware 13.1_x86_32
Posts: 143

Original Poster
Rep: Reputation: 17
Thanks Bruce, and here comes

Code:
root@localhost:~# hdparm /dev/hda

/dev/hda:
 multcount     =  0 (off)
 IO_support    =  0 (default)
16-bit)
 unmaskirq     =  0 (off)
 using_dma     =  0 (off)
 keepsettings  =  0 (off)
 readonly      =  0 (off)
 readahead     = 256 (on)
 geometry      = 16383/255/63, sectors = 156301488, start = 0
root@localhost:~#
Code:
root@localhost:~# hdparm -tT /dev/hda

/dev/hda:
 Timing cached reads:   740 MB in  2.00 seconds = 370.19 MB/sec
 Timing buffered disk reads:    8 MB in  3.84 seconds =   2.08 MB/sec
root@localhost:~#
Code:
root@localhost:~# lspci -v
00:00.0 Host bridge: Intel Corporation Mobile 915GM/PM/GMS/910GML Express Processor to DRAM Controller (rev 03)
        Subsystem: IBM ThinkPad Z60t
        Flags: bus master, fast devsel, latency 0
        Capabilities: [e0] Vendor Specific Information <?>
        Kernel modules: intel-agp

00:01.0 PCI bridge: Intel Corporation Mobile 915GM/PM Express PCI Express Root Port (rev 03) (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0
        Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
        I/O behind bridge: 00003000-00003fff
        Memory behind bridge: b0100000-b01fffff
        Prefetchable memory behind bridge: c0000000-c7ffffff
        Capabilities: [88] Subsystem: IBM Unknown device 0578
        Capabilities: [80] Power Management version 2
        Capabilities: [90] Message Signalled Interrupts: Mask- 64bit- Queue=0/0 Enable-
        Capabilities: [a0] Express Root Port (Slot+), MSI 00
        Capabilities: [100] Virtual Channel <?>
        Capabilities: [140] Root Complex Link <?>
        Kernel driver in use: pcieport-driver
        Kernel modules: shpchp

00:1c.0 PCI bridge: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 1 (rev 03) (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0
        Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
        Memory behind bridge: b0200000-b02fffff
        Capabilities: [40] Express Root Port (Slot+), MSI 00
        Capabilities: [80] Message Signalled Interrupts: Mask- 64bit- Queue=0/0 Enable-
        Capabilities: [90] Subsystem: Gammagraphx, Inc. Unknown device 0000
        Capabilities: [a0] Power Management version 2
        Capabilities: [100] Virtual Channel <?>
        Capabilities: [180] Root Complex Link <?>
        Kernel driver in use: pcieport-driver
        Kernel modules: shpchp

00:1c.2 PCI bridge: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 3 (rev 03) (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0
        Bus: primary=00, secondary=03, subordinate=0a, sec-latency=0
        I/O behind bridge: 00004000-00004fff
        Memory behind bridge: b2000000-b3ffffff
        Prefetchable memory behind bridge: 00000000c8000000-00000000c80fffff
        Capabilities: [40] Express Root Port (Slot+), MSI 00
        Capabilities: [80] Message Signalled Interrupts: Mask- 64bit- Queue=0/0 Enable-
        Capabilities: [90] Subsystem: Gammagraphx, Inc. Unknown device 0000
        Capabilities: [a0] Power Management version 2
        Capabilities: [100] Virtual Channel <?>
        Capabilities: [180] Root Complex Link <?>
        Kernel driver in use: pcieport-driver
        Kernel modules: shpchp

00:1d.0 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #1 (rev 03) (prog-if 00 [UHCI])
        Subsystem: IBM Unknown device 0565
        Flags: bus master, medium devsel, latency 0, IRQ 16
        I/O ports at 1800 [size=32]
        Kernel driver in use: uhci_hcd
        Kernel modules: uhci-hcd

00:1d.1 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #2 (rev 03) (prog-if 00 [UHCI])
        Subsystem: IBM Unknown device 0565
        Flags: bus master, medium devsel, latency 0, IRQ 20
        I/O ports at 1820 [size=32]
        Kernel driver in use: uhci_hcd
        Kernel modules: uhci-hcd

00:1d.2 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #3 (rev 03) (prog-if 00 [UHCI])
        Subsystem: IBM Unknown device 0565
        Flags: bus master, medium devsel, latency 0, IRQ 21
        I/O ports at 1840 [size=32]
        Kernel driver in use: uhci_hcd
        Kernel modules: uhci-hcd

00:1d.3 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #4 (rev 03) (prog-if 00 [UHCI])
        Subsystem: IBM Unknown device 0565
        Flags: bus master, medium devsel, latency 0, IRQ 22
        I/O ports at 1860 [size=32]
        Kernel driver in use: uhci_hcd
        Kernel modules: uhci-hcd

00:1d.7 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB2 EHCI Controller (rev 03) (prog-if 20 [EHCI])
        Subsystem: IBM Unknown device 0566
        Flags: bus master, medium devsel, latency 0, IRQ 22
        Memory at b0000000 (32-bit, non-prefetchable) [size=1K]
        Capabilities: [50] Power Management version 2
        Capabilities: [58] Debug port: BAR=1 offset=00a0
        Kernel driver in use: ehci_hcd
        Kernel modules: ehci-hcd

00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev d3) (prog-if 01 [Subtractive decode])
        Flags: bus master, fast devsel, latency 0
        Bus: primary=00, secondary=0b, subordinate=0e, sec-latency=64
        I/O behind bridge: 00005000-00008fff
        Memory behind bridge: b4000000-bfffffff
        Prefetchable memory behind bridge: 00000000d0000000-00000000d7ffffff
        Capabilities: [50] Subsystem: Gammagraphx, Inc. Unknown device 0000

00:1e.2 Multimedia audio controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Audio Controller (rev 03)
        Subsystem: IBM Unknown device 0567
        Flags: bus master, medium devsel, latency 0, IRQ 18
        I/O ports at 1c00 [size=256]
        I/O ports at 1880 [size=64]
        Memory at b0000800 (32-bit, non-prefetchable) [size=512]
        Memory at b0000400 (32-bit, non-prefetchable) [size=256]
        Capabilities: [50] Power Management version 2
        Kernel driver in use: Intel ICH
        Kernel modules: snd-intel8x0

00:1e.3 Modem: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Modem Controller (rev 03) (prog-if 00 [Generic])
        Subsystem: IBM Unknown device 0576
        Flags: medium devsel, IRQ 19
        I/O ports at 2400 [size=256]
        I/O ports at 2000 [size=128]
        Capabilities: [50] Power Management version 2
        Kernel modules: snd-intel8x0m

00:1f.0 ISA bridge: Intel Corporation 82801FBM (ICH6M) LPC Interface Bridge (rev 03)
        Subsystem: IBM Unknown device 0568
        Flags: bus master, medium devsel, latency 0
        Kernel modules: intel-rng, iTCO_wdt

00:1f.2 IDE interface: Intel Corporation 82801FBM (ICH6M) SATA Controller (rev 03) (prog-if 80 [Master])
        Subsystem: IBM Unknown device 056a
        Flags: 66MHz, medium devsel
        I/O ports at 01f0 [size=8]
        I/O ports at 03f4 [size=1]
        I/O ports at 0170 [size=8]
        I/O ports at 0374 [size=1]
        I/O ports at 18c0 [size=16]
        Capabilities: [70] Power Management version 2

00:1f.3 SMBus: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) SMBus Controller (rev 03)
        Subsystem: IBM Unknown device 056b
        Flags: medium devsel, IRQ 19
        I/O ports at 18e0 [size=32]
        Kernel driver in use: i801_smbus
        Kernel modules: i2c-i801

01:00.0 VGA compatible controller: ATI Technologies Inc M22 [Mobility Radeon X300] (prog-if 00 [VGA controller])
        Subsystem: IBM Unknown device 056e
        Flags: bus master, fast devsel, latency 0, IRQ 11
        Memory at c0000000 (32-bit, prefetchable) [size=128M]
        I/O ports at 3000 [size=256]
        Memory at b0100000 (32-bit, non-prefetchable) [size=64K]
        [virtual] Expansion ROM at b0120000 [disabled] [size=128K]
        Capabilities: [50] Power Management version 2
        Capabilities: [58] Express Endpoint, MSI 00
        Capabilities: [80] Message Signalled Interrupts: Mask- 64bit+ Queue=0/0 Enable-
        Capabilities: [100] Advanced Error Reporting <?>
        Kernel modules: radeonfb

02:00.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5751M Gigabit Ethernet PCI Express (rev 11)
        Subsystem: IBM Unknown device 0577
        Flags: bus master, fast devsel, latency 0, IRQ 16
        Memory at b0200000 (64-bit, non-prefetchable) [size=64K]
        Expansion ROM at <ignored> [disabled]
        Capabilities: [48] Power Management version 2
        Capabilities: [50] Vital Product Data <?>
        Capabilities: [58] Message Signalled Interrupts: Mask- 64bit+ Queue=0/3 Enable-
        Capabilities: [d0] Express Endpoint, MSI 00
        Capabilities: [100] Advanced Error Reporting <?>
        Capabilities: [13c] Virtual Channel <?>
        Kernel driver in use: tg3
        Kernel modules: tg3

0b:00.0 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev 8d)
        Subsystem: IBM Unknown device 056c
        Flags: bus master, medium devsel, latency 168, IRQ 16
        Memory at b4000000 (32-bit, non-prefetchable) [size=4K]
        Bus: primary=0b, secondary=0c, subordinate=0d, sec-latency=176
        Memory window 0: d0000000-d3fff000 (prefetchable)
        Memory window 1: b8000000-bbfff000
        I/O window 0: 00005000-000050ff
        I/O window 1: 00005400-000054ff
        16-bit legacy interface ports at 0001
        Kernel driver in use: yenta_cardbus
        Kernel modules: yenta_socket

0b:02.0 Network controller: Intel Corporation PRO/Wireless 2200BG Network Connection (rev 05)
        Subsystem: Intel Corporation Unknown device 2711
        Flags: bus master, medium devsel, latency 64, IRQ 23
        Memory at b4001000 (32-bit, non-prefetchable) [size=4K]
        Capabilities: [dc] Power Management version 2
        Kernel driver in use: ipw2200
        Kernel modules: ipw2200

root@localhost:~#
sorry, this one is kind lengthy

Code:
root@localhost:~# lsmod
Module                  Size  Used by
usbhid                 43136  0
hid                    37376  1 usbhid
snd_seq_dummy           6660  0
snd_seq_oss            32896  0
snd_seq_midi_event     10112  1 snd_seq_oss
snd_seq                50256  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_seq_device         10380  3 snd_seq_dummy,snd_seq_oss,snd_seq
snd_pcm_oss            40352  0
snd_mixer_oss          17920  1 snd_pcm_oss
ipv6                  234724  12
ieee80211_crypt_wep     8192  1
lp                     13348  0
fuse                   45588  5
pcmcia                 35884  0
battery                14340  0
ac                      8068  0
ipw2200               141640  0
ieee80211              33992  1 ipw2200
yenta_socket           26636  1
video                  19472  0
rsrc_nonstatic         14592  1 yenta_socket
ieee80211_crypt         8576  2 ieee80211_crypt_wep,ieee80211
pcmcia_core            35988  3 pcmcia,yenta_socket,rsrc_nonstatic
output                  6656  1 video
irtty_sir               8960  0
sir_dev                14596  1 irtty_sir
thermal                16540  0
button                 10000  0
ata_generic             8836  0
processor              32680  1 thermal
snd_intel8x0           31900  0
thinkpad_acpi          49660  0
snd_ac97_codec         98724  1 snd_intel8x0
hwmon                   6276  1 thinkpad_acpi
ac97_bus                5760  1 snd_ac97_codec
nsc_ircc               19344  0
nvram                  11016  1 thinkpad_acpi
intel_agp              25236  0
rtc_cmos               11040  0
snd_pcm                72068  3 snd_pcm_oss,snd_intel8x0,snd_ac97_codec
tg3                   113028  0
i2c_i801               11792  0
rtc_core               18696  1 rtc_cmos
irda                  114360  2 sir_dev,nsc_ircc
iTCO_wdt               13988  0
pata_acpi               8832  0
rtc_lib                 6528  1 rtc_core
psmouse                40336  0
snd_timer              22532  2 snd_seq,snd_pcm
i2c_core               22528  1 i2c_i801
agpgart                30664  1 intel_agp
crc_ccitt               5760  1 irda
snd                    47716  9 snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer
iTCO_vendor_support     7044  1 iTCO_wdt
serio_raw               9092  0
ehci_hcd               35468  0
soundcore               9824  1 snd
uhci_hcd               25996  0
evdev                  12672  6
snd_page_alloc         11528  2 snd_intel8x0,snd_pcm
parport_pc             27556  1
parport                34632  2 lp,parport_pc
ext3                  124808  2
jbd                    43924  1 ext3
mbcache                10496  1 ext3
root@localhost:~#
Code:
root@localhost:~# uname -a
Linux localhost 2.6.24.5-smp #1 SMP Wed Apr 30 13:18:13 CDT 2008 i686 Intel(R) Pentium(R) M processor 1.86GHz GenuineIntel GNU/Linux
root@localhost:~#
Code:
root@localhost:~# fdisk -l

Disk /dev/hda: 80.0 GB, 80026361856 bytes
240 heads, 63 sectors/track, 10337 cylinders
Units = cylinders of 15120 * 512 = 7741440 bytes
Disk identifier: 0xcccdcccd

   Device Boot      Start         End      Blocks   Id  System
/dev/hda1   *           1        4918    37180048+   7  HPFS/NTFS
/dev/hda2            9795       10337     4105080   12  Compaq diagnostics
/dev/hda3            4919        9794    36862560    f  W95 Ext'd (LBA)
/dev/hda5            4919        7995    23262088+   7  HPFS/NTFS
/dev/hda6            7996        8899     6834208+  83  Linux
/dev/hda7            8900        9674     5858968+  83  Linux
/dev/hda8            9675        9794      907168+  82  Linux swap

Partition table entries are not in disk order
root@localhost:~#
Code:
root@localhost:~# mount
/dev/hda6 on / type ext3 (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
usbfs on /proc/bus/usb type usbfs (rw)
/dev/hda7 on /home type ext3 (rw)
/dev/hda1 on /fat-c type fuseblk (rw,nosuid,nodev,noatime,allow_other,blksize=4096)
/dev/hda5 on /fat-d type fuseblk (rw,nosuid,nodev,noatime,allow_other,blksize=4096)
tmpfs on /dev/shm type tmpfs (rw)
root@localhost:~#
Code:
root@localhost:~# dmesg | grep -e ^'ata' -e ^'scsi'
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
root@localhost:~#
Sorry, bruce, I didn't know this would take this much time.. Thank you.
 
  


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

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:44 AM.

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
Open Source Consulting | Domain Registration