LinuxQuestions.org
Help answer threads with 0 replies.
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-17-2008, 01:06 AM   #1
mysql_connect
Member
 
Registered: Jul 2005
Distribution: Slackware 13.37 / Slackware64 13.37
Posts: 35

Rep: Reputation: 0
Post Slackware 12 + Kernel 2.6.25 on a Dell Inspiron 6400/e1505


OK, because I've had quite some trouble installing and configuring Slackware 12.1 on my Dell Inspiron 6400/e1505 I was thinking to post few words here, maybe someone will find this useful.

You'll notice that the install script will install your SATA drive as /dev/hda, also you'll notice that the system is running slow, you should pass "hda=noprobe" to lilo, this will make your disk to be recognized as SATA and it will enable DMA (Thanks Alien Bob).

I got rid of this problem by setting CONFIG_IDE = n when I recompiled 2.6.25.3 from sources. Using that kernel caused the latest ati driver not to compile, fortunately there is a solution to that, you can find it here.

The rest of the stuff is easy, I compiled b43 modules for the Boardcom wireless card, used xhkeys for multimedia keys, etc.

I'm not much of a writer, but I added this post for people that will search specific tags on LQ so they'll find what they need, hopefully .
 
Old 05-17-2008, 06:15 AM   #2
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: Tupelo, MS
Distribution: Gentoo
Posts: 6,926

Rep: Reputation: 124Reputation: 124
The install script does not install all SATA drives as /dev/hda. See mine:
Code:
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
VP_IDE: IDE controller (0x1106:0x0571 rev 0x06) at  PCI slot 0000:00:0f.1
ACPI: PCI Interrupt 0000:00:0f.1[A] -> GSI 20 (level, low) -> IRQ 16
VP_IDE: not 100% native mode: will probe irqs later
VP_IDE: VIA vt8237 (rev 00) IDE UDMA133 controller on pci0000:00:0f.1
    ide0: BM-DMA at 0xfc00-0xfc07, BIOS settings: hda:DMA, hdb:pio
    ide1: BM-DMA at 0xfc08-0xfc0f, BIOS settings: hdc:pio, hdd:pio
Probing IDE interface ide0...
hda: TSSTcorpCD/DVDW TS-H552U, ATAPI CD/DVD-ROM drive
hda: host max PIO5 wanted PIO255(auto-tune) selected PIO4
hda: UDMA/33 mode selected
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Probing IDE interface ide1...
Probing IDE interface ide1...
hda: ATAPI 48X DVD-ROM DVD-R CD-R/RW drive, 2048kB Cache
Uniform CD-ROM driver Revision: 3.20
ide-floppy driver 0.99.newide
Driver 'sd' needs updating - please use bus_type methods
Driver 'sr' needs updating - please use bus_type methods
sata_via 0000:00:0f.0: version 2.3
ACPI: PCI Interrupt 0000:00:0f.0[B] -> GSI 20 (level, low) -> IRQ 16
sata_via 0000:00:0f.0: routed to hard irq line 10
scsi0 : sata_via
scsi1 : sata_via
ata1: SATA max UDMA/133 cmd 0xe400 ctl 0xe000 bmdma 0xd000 irq 16
ata2: SATA max UDMA/133 cmd 0xd800 ctl 0xd400 bmdma 0xd008 irq 16
ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
ata1.00: ATA-6: WDC WD740GD-00FLC0, 33.08F33, max UDMA/133 <- Western Digital Raptor SATA hard drive
ata1.00: 145226112 sectors, multi 16: LBA48
ata1.00: configured for UDMA/133
ata2: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
ata2.00: ATAPI: ASUS    DRW-2014L1T, 1.02, max UDMA/66 <- Asus SATA DVD+/-RW drive
ata2.00: configured for UDMA/66
scsi 0:0:0:0: Direct-Access     ATA      WDC WD740GD-00FL 33.0 PQ: 0 ANSI: 5
sd 0:0:0:0: [sda] 145226112 512-byte hardware sectors (74356 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
sd 0:0:0:0: [sda] 145226112 512-byte hardware sectors (74356 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
 sda: sda1 sda2 sda3 sda4Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
VP_IDE: IDE controller (0x1106:0x0571 rev 0x06) at  PCI slot 0000:00:0f.1
ACPI: PCI Interrupt 0000:00:0f.1[A] -> GSI 20 (level, low) -> IRQ 16
VP_IDE: not 100% native mode: will probe irqs later
VP_IDE: VIA vt8237 (rev 00) IDE UDMA133 controller on pci0000:00:0f.1
    ide0: BM-DMA at 0xfc00-0xfc07, BIOS settings: hda:DMA, hdb:pio
    ide1: BM-DMA at 0xfc08-0xfc0f, BIOS settings: hdc:pio, hdd:pio
Probing IDE interface ide0...
hda: TSSTcorpCD/DVDW TS-H552U, ATAPI CD/DVD-ROM drive <- Samsung PATA DVD+/-RW drive
hda: host max PIO5 wanted PIO255(auto-tune) selected PIO4
hda: UDMA/33 mode selected
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Probing IDE interface ide1...
Probing IDE interface ide1...
hda: ATAPI 48X DVD-ROM DVD-R CD-R/RW drive, 2048kB Cache
Uniform CD-ROM driver Revision: 3.20
ide-floppy driver 0.99.newide
Driver 'sd' needs updating - please use bus_type methods
Driver 'sr' needs updating - please use bus_type methods
sata_via 0000:00:0f.0: version 2.3
ACPI: PCI Interrupt 0000:00:0f.0[B] -> GSI 20 (level, low) -> IRQ 16
sata_via 0000:00:0f.0: routed to hard irq line 10
scsi0 : sata_via
scsi1 : sata_via
ata1: SATA max UDMA/133 cmd 0xe400 ctl 0xe000 bmdma 0xd000 irq 16
ata2: SATA max UDMA/133 cmd 0xd800 ctl 0xd400 bmdma 0xd008 irq 16
ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
ata1.00: ATA-6: WDC WD740GD-00FLC0, 33.08F33, max UDMA/133
ata1.00: 145226112 sectors, multi 16: LBA48
ata1.00: configured for UDMA/133
ata2: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
ata2.00: ATAPI: ASUS    DRW-2014L1T, 1.02, max UDMA/66
ata2.00: configured for UDMA/66
scsi 0:0:0:0: Direct-Access     ATA      WDC WD740GD-00FL 33.0 PQ: 0 ANSI: 5
sd 0:0:0:0: [sda] 145226112 512-byte hardware sectors (74356 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
sd 0:0:0:0: [sda] 145226112 512-byte hardware sectors (74356 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
 sda: sda1 sda2 sda3 sda4
sd 0:0:0:0: [sda] Attached SCSI disk
scsi 1:0:0:0: CD-ROM            ASUS     DRW-2014L1T      1.02 PQ: 0 ANSI: 5
sr0: scsi3-mmc drive: 48x/48x writer dvd-ram cd/rw xa/form2 cdda tray
sr 1:0:0:0: Attached scsi CD-ROM sr0
sd 0:0:0:0: [sda] Attached SCSI disk
scsi 1:0:0:0: CD-ROM            ASUS     DRW-2014L1T      1.02 PQ: 0 ANSI: 5
sr0: scsi3-mmc drive: 48x/48x writer dvd-ram cd/rw xa/form2 cdda tray
sr 1:0:0:0: Attached scsi CD-ROM sr0
My SATA hard drive is /dev/sda; my PATA DVD drive is /dev/hda; and
then my SATA DVD drive is /dev/sr0.

It might be easier to use the default kernel and follow the instructions
included in the Slackware-12.1 CHANGES_AND_HINTS.TXT file:
Quote:
If you notice extremely long wait times when formatting partitions in the
installer, and you're installing on a Thinkpad that has a SATA drive, it's
possible that the wrong driver is being used, which disables DMA on the drive
(and could happen on other machines). A bit more detail about it is here:
http://www.thinkwiki.org/wiki/Proble...stem_hard_disk
Try passing "hda=noprobe" to the kernel when booting the installer, and it
should use the correct libata driver.
You can add this line to your /etc/lilo.conf file:
Code:
append="hda=noprobe"
or, if like on this comp, you already have an append line just add that:
Code:
append="panic=15 vt.default_utf8=1 hda=noprobe"
This might be easier for most people who don't have a lot of experience.

If you had used the default kernel with those options you might not have
had that ATI driver problem. Also, if you have no IDE support, what type
of CD/DVD drive do you have? Most people still have PATA drives. For them,
you must compile either IDE drivers, or the new libata drivers (PATA). And
b43 is also in the Slack-12.1 default kernel ... though I don't know how well
it works.
 
Old 06-02-2008, 10:04 AM   #3
mysql_connect
Member
 
Registered: Jul 2005
Distribution: Slackware 13.37 / Slackware64 13.37
Posts: 35

Original Poster
Rep: Reputation: 0
As I stated in my original post, it's a Dell Inspiron 6400/e1505. I didn't say that the install script configures all SATA as /dev/hda, I was talking about the SATA drive from the 6400 which is a Hitachi HTS54161 and the install script configured it as /dev/hda which causes it to run 10x slower (according to hdparm) because it didn't have any DMA support. As for my DVD drive, it's a TSSTcorp DVD+-RW TS-L632D DE04 (again, we're talking about a Dell Inspiron 6400/e1505) which is happily running as /dev/sr0 with no IDE support compiled.

Code:
ata2.00: ATAPI: TSSTcorp DVD+/-RW TS-L632D, DE04, max UDMA/33
ata2.00: configured for UDMA/33
scsi 0:0:0:0: Direct-Access     ATA      Hitachi HTS54161 SBDO PQ: 0 ANSI: 5
sd 0:0:0:0: [sda] 234441648 512-byte hardware sectors (120034 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
sd 0:0:0:0: [sda] 234441648 512-byte hardware sectors (120034 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
 sda: sda1 sda2 < sda5 sda6 > sda3 sda4
sd 0:0:0:0: [sda] Attached SCSI disk
scsi 1:0:0:0: CD-ROM            TSSTcorp DVD+-RW TS-L632D DE04 PQ: 0 ANSI: 5
sr0: scsi3-mmc drive: 24x/24x writer cd/rw xa/form2 cdda tray
Uniform CD-ROM driver Revision: 3.20
sr 1:0:0:0: Attached scsi CD-ROM sr0

Quote:
If you had used the default kernel with those options you might not have
had that ATI driver problem.
This post wasn't about the default kernel, was it? It took me several hours to find the solutions to the specific problems I encountered with Slackware 12.1 on a Dell Inspiron 6400/e1505 + 2.6.25 kernel and wanted to save someone else from wasting their time on it.
 
  


Reply

Tags
e1505, fglrx, sata, sda, slackware


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
booting slackware on dell e1505/6400 dryajovcr Linux - Laptop and Netbook 1 12-23-2006 09:41 PM
No audio in Dell Inspiron 6400/E1505 cueman Suse/Novell 8 10-20-2006 11:21 AM
slack 11 on dell E1505/6400 levi_v Slackware 2 10-16-2006 10:34 AM
e1505/6400 Inspiron - Multimedia Buttons freeze21 Suse/Novell 1 10-07-2006 04:09 PM
dell e1505/6400 wireless issues bofallon68 Linux - Laptop and Netbook 4 06-20-2006 09:24 AM


All times are GMT -5. The time now is 05:30 AM.

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