LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 03-15-2006, 06:30 PM   #1
cferron
Member
 
Registered: Jan 2006
Location: Trois-Rivières, Québec, Canada
Distribution: Slackware, Ubuntu
Posts: 74

Rep: Reputation: 15
SATA partitionning issue


Hello,

I have a working slacware 10.0.0 installed ono my ATA hardrive (/dev/hda1). I have connected a SATA hard drive to the system and for a reason I cannot format/partition it?

The motherboard is an ASUS P5P800SE. The dmesg give me this output:
Quote:
ata1: SATA max UDMA/133 cmd 0xB400 ctl 0xB002 bmdma 0xA000 irq 18
ata2: SATA max UDMA/133 cmd 0xA800 ctl 0xA402 bmdma 0xA008 irq 18
ata1: dev 0 cfg 49:2f00 82:346b 83:7d01 84:4003 85:3469 86:3c01 87:4003 88:207f
ata1: dev 0 ATA, max UDMA/133, 156301488 sectors: lba48
ata1: dev 0 configured for UDMA/133
scsi0 : ata_piix
ata2: SATA port has no device.
scsi1 : ata_piix
Vendor: ATA Model: ST380817AS Rev: 3.42
Type: Direct-Access ANSI SCSI revision: 05
Attached scsi generic sg0 at scsi0, channel 0, id 0, lun 0, type 0
sfdisk returns:
Quote:
sfdisk -l /dev/sg0
No error tells me that everything should be ok so far. device appear as /dev/sg0

Disk /dev/sg0: cannot get size
Disk /dev/sg0: cannot get geometry

Disk /dev/sg0: 0 cylinders, 0 heads, 0 sectors/track
llseek: Illegal seek

sfdisk: seek error on /dev/sg0 - cannot seek to 0
/dev/sg0: unrecognized partition
No partitions found
There is no way I can partition it altought... is there something I'm doing wrong?

HELP

Last edited by cferron; 03-15-2006 at 06:47 PM.
 
Old 03-15-2006, 06:56 PM   #2
raska
Member
 
Registered: Aug 2004
Location: Aguascalientes, AGS. Mexico.
Distribution: Slackware 13.0 kernel 2.6.29.6
Posts: 816

Rep: Reputation: 31
try it with /dev/sda

that's my first SATA hard drive

when I connect an USB flash memory it's recognized as /dev/sdb
 
Old 03-15-2006, 07:01 PM   #3
cferron
Member
 
Registered: Jan 2006
Location: Trois-Rivières, Québec, Canada
Distribution: Slackware, Ubuntu
Posts: 74

Original Poster
Rep: Reputation: 15
There is no /dev/sda.... this might be related with the fact that the disk size is not even recongnized...

Claude
 
Old 03-15-2006, 07:06 PM   #4
p0f
Member
 
Registered: Feb 2006
Distribution: slackware-current
Posts: 36

Rep: Reputation: 15
Quote:
Originally Posted by cferron
There is no /dev/sda.... this might be related with the fact that the disk size is not even recongnized...

Claude
Hi

What kernel version are you using? --> "uname -r"

Im on 2.6.15.6 and my sata drive is on /dev/sda, it could be different on 2.4 stock kernels.


Regards
 
Old 03-15-2006, 09:44 PM   #5
cferron
Member
 
Registered: Jan 2006
Location: Trois-Rivières, Québec, Canada
Distribution: Slackware, Ubuntu
Posts: 74

Original Poster
Rep: Reputation: 15
Sorry for my inexperience here... I should at least have provided this information in the first place

Kernel 2.6.8.1
Processor: Intel Pentium D 820

Claude
 
Old 03-15-2006, 09:54 PM   #6
cferron
Member
 
Registered: Jan 2006
Location: Trois-Rivières, Québec, Canada
Distribution: Slackware, Ubuntu
Posts: 74

Original Poster
Rep: Reputation: 15
Just found my problem!

SD_MOD was compiled as a module (have to do that because of error with frequent compact flash card mount/unmount) also the module wasn't loading automatically at boot... so basically,

modprobe sd_mod


did make /dev/sda appear so I could partition the disk.

My next question, how do I make LILO bootable on it (will it keep /dev/sda1 forever?)

Thanks for your time everyone!

Claude

Last edited by cferron; 03-15-2006 at 09:58 PM.
 
  


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
pliz what's your opinion about this multi-boot partitionning scheme kozaki Linux - General 9 08-27-2009 08:25 PM
about SATA hard disk's issue zywsdu Linux - Hardware 1 01-13-2006 07:46 PM
Yet Another SATA Grub issue TowedJumper SUSE / openSUSE 5 11-11-2005 01:26 PM
Strange SATA issue on 2.4.21-ac2 jredburn Linux - Hardware 0 06-26-2003 10:04 AM
Partitionning strategy Dweezil Linux - Software 3 04-25-2001 10:22 AM

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

All times are GMT -5. The time now is 12:08 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
Open Source Consulting | Domain Registration