SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I recently bought a new Barracuda 7200.10 SATA - ST3300620AS drive. The sata drive controller is builtin my motherboard. However when I boot up slackware it seem to recognize the new drive from the dmesg:
Code:
root@black_magic:~# cat dmesg.out
ata1: SATA max UDMA/133 cmd 0xEC00 ctl 0xE802 bmdma 0xDC00 irq 10
ata2: SATA max UDMA/133 cmd 0xE400 ctl 0xE002 bmdma 0xDC08 irq 10
scsi0 : ata_piix
ata1.00: ATA-6, max UDMA/133, 234441648 sectors: LBA48 NCQ (depth 0/32)
ata1.00: ata1: dev 0 multi count 16
ata1.00: configured for UDMA/133
scsi1 : ata_piix
ata2.00: ATA-7, max UDMA/133, 586072368 sectors: LBA48 NCQ (depth 0/32)
ata2.00: ata2: dev 0 multi count 16
ata2.00: configured for UDMA/133
Vendor: ATA Model: ST3120827AS Rev: 3.42
Type: Direct-Access ANSI SCSI revision: 05
Vendor: ATA Model: ST3300620AS Rev: 3.AA
Type: Direct-Access ANSI SCSI revision: 05
SCSI device sda: 234441648 512-byte hdwr sectors (120034 MB)
sda: Write Protect is off
sda: Mode Sense: 00 3a 00 00
SCSI device sda: drive cache: write back
SCSI device sda: 234441648 512-byte hdwr sectors (120034 MB)
sda: Write Protect is off
sda: Mode Sense: 00 3a 00 00
SCSI device sda: drive cache: write back
sda: sda1 sda2 sda3
sd 0:0:0:0: Attached scsi disk sda
SCSI device sdb: 586072368 512-byte hdwr sectors (300069 MB)
sdb: Write Protect is off
sdb: Mode Sense: 00 3a 00 00
SCSI device sdb: drive cache: write back
SCSI device sdb: 586072368 512-byte hdwr sectors (300069 MB)
sdb: Write Protect is off
sdb: Mode Sense: 00 3a 00 00
SCSI device sdb: drive cache: write back
sdb: unknown partition table
sd 1:0:0:0: Attached scsi disk sdb
My primary drive that I have slackware installed is on a sata drive that is connected to the same sata drive controller that is on my motherboard which is why you see two different devices. The sda drive is the one that is working, but the sdb (new Barracuda 7200.10 SATA - ST3300620AS drive) isn't working, because when I use fdisk i get the following error:
Code:
root@black_magic:~# fdisk /dev/sdb
Unable to open /dev/sdb
I'm not sure what my problem is, I'm using a new 2.6.18 kernel, so I was wondering if I left something out of the kernel and need to recompile it. Just want to know if anyone got this drive working in slackware???
i tried doing dfisk /dev/sdc through /dev/sdh and nothing keep getting the same error. This is stumping me. I'm going to try and see if I can see it with another os. I'll update this thread when I know more information. Thanks for you help
well I boot off the slackware 10.2 cd. When I do fdisk -l i see both sata drives. I was able to create partitions However, when I boot back into my 2.6.18 kernel, I can't see them nor fdisk to them. fdisk still say can't open /dev/sdb. When I look a the proc fs I see this:
I'm not sure what this means, so I decide to recompile my kernel with more options, but when I run lilo, get the following error:
Code:
root@black_magic:~# lilo
Warning: '/proc/partitions' does not match '/dev' directory structure.
Name change: '/dev/sdb' -> '/dev/sdb'
Fatal: open /dev/sdb: No such file or directory
My lilo.conf file is:
Code:
# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
boot = /dev/sda
message = /boot/boot_message.txt
prompt
timeout = 1200
#default = 2.8.18_IVTV
# Override dangerous defaults that rewrite the partition table:
change-rules
reset
# VESA framebuffer console @ 1024x768x256
vga = 773
# End LILO global section
# Linux bootable partition config begins
image = /boot/vmlinuz
root = /dev/sda2
label = 2.4.31
read-only
image = /boot/vmlinuz-2.6.18
root = /dev/sda2
label = 2.6.18
read-only
image = /boot/vmlinuz-2.6.18_trim
root = /dev/sda2
label = 2.6.18_trim
read-only
image = /boot/vmlinuz-2.6.18_IVTV
root = /dev/sda2
label = 2.6.18_IVTV
read-only
image = /boot/vmlinuz-2.6.18_IVTV_2
root = /dev/sda2
label = 2.6.18_IVTV_2
read-only
# Linux bootable partition config ends
so i don't know what to do next, I might disconnect the second drive for a little bit.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.