Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#1276 - kernel26 2.6.8.1-2 upgrade doesn't recognize my SATA drive

Attached to Project: Arch Linux
Opened by Don Melton (gramps) - Friday, 20 August 2004, 09:39 GMT
Last edited by Judd Vinet (judd) - Friday, 20 August 2004, 16:34 GMT
Task Type Bug Report
Category Packages: Current
Status Closed
Assigned To Judd Vinet (judd)
Architecture not specified
Severity High
Priority Normal
Reported Version 0.7 Wombat
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

I just upgrade from kernel-scsi 2.6.8.1-1 to kernel26 2.6.8.1-2 in order to take advantage of the new SATA support in the regular kernel. Unfortunately the new kernel doesn't recognize my SATA drive saying it can't find the root partition. Since I'm the same knucklehead who posted the other bit SATA problem on Tuesday:

http://bbs.archlinux.org/viewtopic.php?t=6259

... I knew to try a few different drive designation this time. Unfortunately none of them worked on my VIA controller.
This task depends upon

Closed by  Judd Vinet (judd)
Monday, 23 August 2004, 00:51 GMT
Reason for closing:  Fixed
Comment by Judd Vinet (judd) - Friday, 20 August 2004, 16:35 GMT
Alright, I'll try to find some testers to help me out. Problem is, I don't have any SATA hardware to test on, so I'm kinda blind here.
Comment by Dale Blount (dale) - Friday, 20 August 2004, 17:40 GMT
Don, could you post the output of:
egrep -i '(sata|serial)' /proc/pci

Thanks
Comment by Don Melton (gramps) - Saturday, 21 August 2004, 02:42 GMT
Sure, Dale. The output is:

RAID bus controller: VIA Technologies, Inc. VIA VT6420 SATA RAID Controller (rev 128).

Judd, I'll try building a few custom kernels later tonight and/or this weekend to try and figure out what's going on.
Comment by Brett Williams (vor_lord) - Saturday, 21 August 2004, 03:03 GMT
Since I have the same issue:

strongbad:home/brett> egrep -i '(sata|serial)' /proc/pci
RAID bus controller: Silicon Image, Inc. (formerly CMD Technology Inc) Silicon Image Serial ATARaid Controlle (rev 2).
Comment by Don Melton (gramps) - Saturday, 21 August 2004, 04:59 GMT
Brett,

Since you're having the same problem I guess we can assume that it's not a driver-specific issue because I'm using the VIA driver and I believe you're using the SIS driver.

(Also, I'd like to say I'm disturbed at how bad my grammar was in the original text description of this bug report. This will remind me of the perils of writing after 2 a.m. ;)
Comment by Don Melton (gramps) - Saturday, 21 August 2004, 08:07 GMT
Judd,

I figured out the problem and it only took one kernel compile and install to prove it. :)

I decided to compare the config files for kernel-scsi 2.6.8.1-1 to kernel26 2.6.8.1-2 and it stood out when I thought about it. Here's the patch:


--- kconfig26-2.6.8.1-2 2004-08-19 12:36:28.000000000 -0700
+++ /boot/config-2.6.8.1-test 2004-08-21 00:24:10.000000000 -0700
@@ -397,7 +397,7 @@
#
# SCSI support type (disk, tape, CD-ROM)
#
-CONFIG_BLK_DEV_SD=m
+CONFIG_BLK_DEV_SD=y
CONFIG_CHR_DEV_ST=m
# CONFIG_CHR_DEV_OSST is not set
CONFIG_BLK_DEV_SR=m


Yep. Basic SCSI support for hard disks (the "CONFIG_BLK_DEV_SD" flag) must be compiled into the kernel rather than as a module or the kernel can't call the compiled-in support for VIA, SIS and other SATA chipsets at boot time.

Of course, compiling this in adds another 5291 bytes to the size of the kernel but that's still much smaller than the entire SCSI binary.

I look forward to seeing kernel26 2.6.8.1-3 soon. :)
Comment by Judd Vinet (judd) - Monday, 23 August 2004, 00:51 GMT
Fixed in 2.6.8.1-3

Loading...