Skip to contentSkip to conversation

2.6.25-git1/2 not seeing /dev/sda1 (XFS root) or /dev/sda2 (swap) partitions on a SATA drive

DISCUSSION Sid Boyce 5 participants 7 messages Apr 20, 2008 – Apr 21, 2008

lore
Share & tools
lore

Sid Boyce

author
#0 lore raw

2.6.25 x86_64 boots fine as does -git1/2 boxes using reiserfs and ext3. With xfs it can't find these and drops into a shell. /dev/disk/by-id/scsi-SATA_WDC_WD5000AAKS-_WD-WCAS85018679-part2 swap
swap defaults 0 0
/dev/disk/by-id/scsi-SATA_WDC_WD5000AAKS-_WD-WCAS85018679-part1 /
xfs defaults 1 1

From my .config
CONFIG_XFS_FS=m
CONFIG_XFS_QUOTA=y
CONFIG_XFS_POSIX_ACL=y
CONFIG_XFS_RT=y

The other boxes are configure pretty much the same, but I can diff the .config's if required.

# l /lib/modules/2.6.25-git2-smp/kernel/drivers/ata/sata_sil.ko
-rw-r--r-- 1 root root 272240 2008-04-19 21:54 /lib/modules/2.6.25-git2-smp/kernel/drivers/ata/sata_sil.ko

00:0c.0 IDE interface: nVidia Corporation MCP55 IDE (rev a1)
00:0d.0 IDE interface: nVidia Corporation MCP55 SATA Controller (rev a2)
00:0d.1 IDE interface: nVidia Corporation MCP55 SATA Controller (rev a2)
00:0d.2 IDE interface: nVidia Corporation MCP55 SATA Controller (rev a2)
03:00.0 Mass storage controller: Silicon Image, Inc. SiI 3132 Serial ATA Raid II Controller (rev 01)

From working 2.6.25
# lsmod|grep sata

sata_nv                36872  2
sata_sil24             26692  0
libata                173664  3 pata_amd,sata_nv,sata_sil24

Regards
Sid.

Signature · 3 lines
Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot
Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support Specialist, Cricket Coach
Microsoft Windows Free Zone - Linux used for all Computing Tasks
#1 lore raw
Quoted 2 lines · In article <[email protected]> you wrote:

2.6.25 x86_64 boots fine as does -git1/2 boxes using reiserfs and ext3. With xfs it can't find these and drops into a shell.

Do you have reiser and ext3 as modules as well? If yes, how do you load them (i.e. which distribution, bootload and initram you are using?)

Gruss
Bernd

#2 lore raw
In reply to Sid Boyce
Quoted 26 lines · Sid Boyce

2.6.25 x86_64 boots fine as does -git1/2 boxes using reiserfs and ext3. With xfs it can't find these and drops into a shell. /dev/disk/by-id/scsi-SATA_WDC_WD5000AAKS-_WD-WCAS85018679-part2 swap
swap defaults 0 0
/dev/disk/by-id/scsi-SATA_WDC_WD5000AAKS-_WD-WCAS85018679-part1 /
xfs defaults 1 1

From my .config
CONFIG_XFS_FS=m
CONFIG_XFS_QUOTA=y
CONFIG_XFS_POSIX_ACL=y
CONFIG_XFS_RT=y

The other boxes are configure pretty much the same, but I can diff the .config's if required.

# l /lib/modules/2.6.25-git2-smp/kernel/drivers/ata/sata_sil.ko
-rw-r--r-- 1 root root 272240 2008-04-19 21:54 
/lib/modules/2.6.25-git2-smp/kernel/drivers/ata/sata_sil.ko

00:0c.0 IDE interface: nVidia Corporation MCP55 IDE (rev a1) 00:0d.0 IDE interface: nVidia Corporation MCP55 SATA Controller (rev a2) 00:0d.1 IDE interface: nVidia Corporation MCP55 SATA Controller (rev a2) 00:0d.2 IDE interface: nVidia Corporation MCP55 SATA Controller (rev a2) 03:00.0 Mass storage controller: Silicon Image, Inc. SiI 3132 Serial ATA Raid II Controller (rev 01)

Quoted 5 lines

From working 2.6.25
# lsmod|grep sata

sata_nv                36872  2
sata_sil24             26692  0
libata                173664  3 pata_amd,sata_nv,sata_sil24

Double check that you've enabled CONFIG_ATA_SFF and then check you previous CONFIG_SATA_* options.

author
#3 lore raw
Quoted 36 lines · Alexey Dobriyan
Quoted 26 lines · Sid Boyce

2.6.25 x86_64 boots fine as does -git1/2 boxes using reiserfs and ext3. With xfs it can't find these and drops into a shell. /dev/disk/by-id/scsi-SATA_WDC_WD5000AAKS-_WD-WCAS85018679-part2 swap
swap defaults 0 0
/dev/disk/by-id/scsi-SATA_WDC_WD5000AAKS-_WD-WCAS85018679-part1 /
xfs defaults 1 1

From my .config
CONFIG_XFS_FS=m
CONFIG_XFS_QUOTA=y
CONFIG_XFS_POSIX_ACL=y
CONFIG_XFS_RT=y

The other boxes are configure pretty much the same, but I can diff the .config's if required.

# l /lib/modules/2.6.25-git2-smp/kernel/drivers/ata/sata_sil.ko
-rw-r--r-- 1 root root 272240 2008-04-19 21:54
/lib/modules/2.6.25-git2-smp/kernel/drivers/ata/sata_sil.ko

00:0c.0 IDE interface: nVidia Corporation MCP55 IDE (rev a1) 00:0d.0 IDE interface: nVidia Corporation MCP55 SATA Controller (rev a2) 00:0d.1 IDE interface: nVidia Corporation MCP55 SATA Controller (rev a2) 00:0d.2 IDE interface: nVidia Corporation MCP55 SATA Controller (rev a2) 03:00.0 Mass storage controller: Silicon Image, Inc. SiI 3132 Serial ATA Raid II Controller (rev 01)

Quoted 5 lines

From working 2.6.25
# lsmod|grep sata

sata_nv                36872  2
sata_sil24             26692  0
libata                173664  3 pata_amd,sata_nv,sata_sil24

Double check that you've enabled CONFIG_ATA_SFF and then check you previous CONFIG_SATA_* options.

Quoted 26 lines · Sid Boyce

2.6.25 x86_64 boots fine as does -git1/2 boxes using reiserfs and ext3. With xfs it can't find these and drops into a shell. /dev/disk/by-id/scsi-SATA_WDC_WD5000AAKS-_WD-WCAS85018679-part2 swap swap defaults 0 0 /dev/disk/by-id/scsi-SATA_WDC_WD5000AAKS-_WD-WCAS85018679-part1 / xfs defaults 1 1

From my .config
CONFIG_XFS_FS=m
CONFIG_XFS_QUOTA=y
CONFIG_XFS_POSIX_ACL=y
CONFIG_XFS_RT=y

The other boxes are configure pretty much the same, but I can diff the .config's if required.

# l /lib/modules/2.6.25-git2-smp/kernel/drivers/ata/sata_sil.ko
-rw-r--r-- 1 root root 272240 2008-04-19 21:54
/lib/modules/2.6.25-git2-smp/kernel/drivers/ata/sata_sil.ko

00:0c.0 IDE interface: nVidia Corporation MCP55 IDE (rev a1) 00:0d.0 IDE interface: nVidia Corporation MCP55 SATA Controller (rev a2) 00:0d.1 IDE interface: nVidia Corporation MCP55 SATA Controller (rev a2) 00:0d.2 IDE interface: nVidia Corporation MCP55 SATA Controller (rev a2) 03:00.0 Mass storage controller: Silicon Image, Inc. SiI 3132 Serial ATA Raid II Controller (rev 01)

Quoted 5 lines

From working 2.6.25
# lsmod|grep sata
sata_nv 36872 2
sata_sil24 26692 0
libata 173664 3 pata_amd,sata_nv,sata_sil24

I started off using the 2.6.25 .config below, 2.6.25-git "make oldconfig", changed a few options like SATA_SFF and SATA_PMP.

barrabas:/usr/src/linux-2.6.25 # grep SFF .config CONFIG_BLK_DEV_IDEDMA_SFF=y barrabas:/usr/src/linux-2.6.25 # grep SATA .config # CONFIG_BLK_DEV_IDE_SATA is not set CONFIG_SATA_AHCI=m
CONFIG_SATA_SVW=m
CONFIG_SATA_MV=m
CONFIG_SATA_NV=m
CONFIG_SATA_QSTOR=m
CONFIG_SATA_PROMISE=m
CONFIG_SATA_SX4=m
CONFIG_SATA_SIL=m
CONFIG_SATA_SIL24=m
CONFIG_SATA_SIS=m
CONFIG_SATA_ULI=m
CONFIG_SATA_VIA=m
CONFIG_SATA_VITESSE=m CONFIG_SATA_INIC162X=m

Quoted 1 line

Double check that you've enabled CONFIG_ATA_SFF and then check you

previous CONFIG_SATA_* options.

Regards
Sid.

Signature · 3 lines
Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot
Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support Specialist, Cricket Coach
Microsoft Windows Free Zone - Linux used for all Computing Tasks
#4 lore raw
Quoted 7 lines · Sid Boyce
Quoted 7 lines
Quoted 7 lines

2.6.25 x86_64 boots fine as does -git1/2 boxes using reiserfs and ext3. With xfs it can't find these and drops into a shell. /dev/disk/by-id/scsi-SATA_WDC_WD5000AAKS-_WD-WCAS85018679-part2 swap
swap defaults 0 0
/dev/disk/by-id/scsi-SATA_WDC_WD5000AAKS-_WD-WCAS85018679-part1 /
xfs defaults 1 1

Quoted 6 lines
Quoted 6 lines
Quoted 6 lines

00:0c.0 IDE interface: nVidia Corporation MCP55 IDE (rev a1) 00:0d.0 IDE interface: nVidia Corporation MCP55 SATA Controller (rev a2) 00:0d.1 IDE interface: nVidia Corporation MCP55 SATA Controller (rev a2) 00:0d.2 IDE interface: nVidia Corporation MCP55 SATA Controller (rev a2) 03:00.0 Mass storage controller: Silicon Image, Inc. SiI 3132 Serial ATA Raid II Controller (rev 01)

Perhaps related to these threads ?

    http://marc.info/?l=linux-ide&m=120866699221716
    http://marc.info/?l=linux-scsi&m=120854308421912

Marc

author
#5 lore raw
Quoted 15 lines · Marc Dionne
Quoted 7 lines · Sid Boyce
Quoted 7 lines
Quoted 7 lines

2.6.25 x86_64 boots fine as does -git1/2 boxes using reiserfs and ext3. With xfs it can't find these and drops into a shell. /dev/disk/by-id/scsi-SATA_WDC_WD5000AAKS-_WD-WCAS85018679-part2 swap
swap defaults 0 0
/dev/disk/by-id/scsi-SATA_WDC_WD5000AAKS-_WD-WCAS85018679-part1 /
xfs defaults 1 1

Quoted 6 lines
Quoted 6 lines
Quoted 6 lines

00:0c.0 IDE interface: nVidia Corporation MCP55 IDE (rev a1) 00:0d.0 IDE interface: nVidia Corporation MCP55 SATA Controller (rev a2) 00:0d.1 IDE interface: nVidia Corporation MCP55 SATA Controller (rev a2) 00:0d.2 IDE interface: nVidia Corporation MCP55 SATA Controller (rev a2) 03:00.0 Mass storage controller: Silicon Image, Inc. SiI 3132 Serial ATA Raid II Controller (rev 01)

Quoted 2 lines

Perhaps related to these threads ?

    http://marc.info/?l=linux-ide&m=120866699221716

The one above seems close to what I experience.

Quoted 1 line
    http://marc.info/?l=linux-scsi&m=120854308421912

The patch is already mainstream.

Quoted 4 lines

Marc

Regards
Sid.

Signature · 3 lines
Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot
Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support Specialist, Cricket Coach
Microsoft Windows Free Zone - Linux used for all Computing Tasks
#6 lore raw
In reply to Sid Boyce
Quoted 7 lines · Sid Boyce

2.6.25 x86_64 boots fine as does -git1/2 boxes using reiserfs and ext3. With xfs it can't find these and drops into a shell. /dev/disk/by-id/scsi-SATA_WDC_WD5000AAKS-_WD-WCAS85018679-part2 swap
swap defaults 0 0
/dev/disk/by-id/scsi-SATA_WDC_WD5000AAKS-_WD-WCAS85018679-part1 /
xfs defaults 1 1

Quoted 8 lines

From my .config
CONFIG_XFS_FS=m
CONFIG_XFS_QUOTA=y
CONFIG_XFS_POSIX_ACL=y
CONFIG_XFS_RT=y

The other boxes are configure pretty much the same, but I can diff the .config's if required.

Does it not find the device, or does it not find the filesystem? What's the relevant message? Does it enumerate the partitions it finds, and is your partition in the list? Do you see the xfs module initialization message go by before the error to indicate that it really did get loaded?

-Eric