Bug 304222 - no swap possible after upgrade from 10.2 to 10.3b2
Summary: no swap possible after upgrade from 10.2 to 10.3b2
Status: RESOLVED DUPLICATE of bug 302422
Alias: None
Product: openSUSE 10.3
Classification: openSUSE
Component: Update Problems (show other bugs)
Version: Beta 2
Hardware: PowerPC Linux
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Hannes Reinecke
QA Contact: Jiri Srain
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-24 09:46 UTC by Olaf Hering
Modified: 2008-07-16 15:40 UTC (History)
0 users

See Also:
Found By: Development
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Olaf Hering 2007-08-24 09:46:39 UTC
mac.suse.de was upgraded from a fresh 10.2 to 10.3b2

After upgrade, swapon -v -a fails with -EINVAL.
Something seems to grab sdb3.

+ cat /etc/fstab
/dev/system/root     /                    ext3       acl,user_xattr        1 1
/dev/system/home     /home                ext3       acl,user_xattr        1 2
/dev/sdb3            swap                 swap       defaults              0 0
proc                 /proc                proc       defaults              0 0
sysfs                /sys                 sysfs      noauto                0 0
debugfs              /sys/kernel/debug    debugfs    noauto                0 0
devpts               /dev/pts             devpts     mode=0620,gid=5       0 0
+ swapon -v -a
swapon für /dev/sdb3
swapon: /dev/sdb3: Das Argument ist ungültig
+ blkid
/dev/sda2: TYPE="hfs" 
/dev/sdb2: TYPE="hfs" 
/dev/sdb3: TYPE="swap" LABEL="mac_swap_sdb" 
/dev/sdb4: UUID="5060c518-18a2-41eb-817f-c8fa3652b0b3" LABEL="backup_root" TYPE="reiserfs" 
/dev/sdb5: UUID="7bff3665-dc47-45f1-9b8a-176421af8f46" LABEL="backup_abuild" TYPE="reiserfs" 
/dev/sdb6: LABEL="backup_inst" UUID="e7d821b7-284b-4cc1-8e01-0fc35fd584b3" SEC_TYPE="ext2" TYPE="ext3" 
/dev/sdb7: LABEL="backup_nectarine" UUID="fdb09639-dede-4dd2-9958-9b0ba25ebe2c" TYPE="ext2" 
/dev/dm-0: UUID="facc1889-ee31-4f90-85c6-be7dda2bd065" SEC_TYPE="ext2" TYPE="ext3" 
/dev/dm-1: UUID="3ad3fbb6-327c-4612-bd1e-53d9917f4092" SEC_TYPE="ext2" TYPE="ext3" 
/dev/dm-4: TYPE="hfs" 
/dev/dm-5: TYPE="swap" LABEL="mac_swap_sdb" 
/dev/dm-6: UUID="5060c518-18a2-41eb-817f-c8fa3652b0b3" LABEL="backup_root" TYPE="reiserfs" 
/dev/dm-7: UUID="7bff3665-dc47-45f1-9b8a-176421af8f46" LABEL="backup_abuild" TYPE="reiserfs" 
/dev/dm-8: LABEL="backup_inst" UUID="e7d821b7-284b-4cc1-8e01-0fc35fd584b3" SEC_TYPE="ext2" TYPE="ext3" 
/dev/dm-9: LABEL="backup_nectarine" UUID="fdb09639-dede-4dd2-9958-9b0ba25ebe2c" TYPE="ext2" 
+ dmsetup ls
linear-scsi-SATA_Maxtor_6Y080M0_Y22PKXDC_part6  (253, 8)
linear-scsi-SATA_Maxtor_6Y080M0_Y22PKXDC_part5  (253, 7)
linear-scsi-SATA_Maxtor_6Y080M0_Y22PKXDC_part4  (253, 6)
linear-scsi-SATA_Maxtor_6Y080M0_Y22PKXDC_part3  (253, 5)
linear-scsi-SATA_Maxtor_6Y080M0_Y22PKXDC_part2  (253, 4)
linear-scsi-SATA_Maxtor_6Y080M0_Y22PKXDC_part1  (253, 3)
system-home     (253, 0)
system-root     (253, 1)
linear-scsi-SATA_Maxtor_6Y080M0_Y22PKXDC        (253, 2)
linear-scsi-SATA_Maxtor_6Y080M0_Y22PKXDC_part8  (253, 10)
linear-scsi-SATA_Maxtor_6Y080M0_Y22PKXDC_part7  (253, 9)
+ pdisk -l

Partition map (with 512 byte blocks) on '/dev/sda'
 #:                type name          length   base      ( size )
 1: Apple_partition_map 'Apple   '        63 @ 1        
 2:           Apple_HFS 'Untitled'     80262 @ 64        ( 39.2M)
 3:           Linux_LVM 'primary ' 156221162 @ 80326     ( 74.5G)

Device block size=512, Number of Blocks=156301488 (74.5G)
DeviceType=0x0, DeviceId=0x0


Partition map (with 512 byte blocks) on '/dev/sdb'
 #:                type name                 length   base      ( size )
 1: Apple_partition_map 'Apple          '        63 @ 1        
 2:           Apple_HFS 'boot sdb       '    204800 @ 64        (100.0M)
 3:               Linux 'backup_swap    '   2048000 @ 204864    (1000.0M)
 4:               Linux 'backup_root    '  40960000 @ 2252864   ( 19.5G)
 5:               Linux 'backup_abuild  '  40960000 @ 43212864  ( 19.5G)
 6:               Linux 'backup_packages'  40960000 @ 84172864  ( 19.5G)
 7:               Linux 'backup_backup  '  31168624 @ 125132864 ( 14.9G)
 8:          Apple_Free 'Extra          '     11088 @ 156301488 (  5.4M)

Device block size=512, Number of Blocks=156312576 (74.5G)
DeviceType=0x0, DeviceId=0x0



some logs can be found in bug #303862
Comment 1 Olaf Hering 2007-08-24 09:57:12 UTC
during boot I see a udev: device-mapper: dm-linear: device lookup failed (or similar).
this message doesnt make it into boot.msg
Comment 2 Hannes Reinecke 2007-08-30 07:57:51 UTC

*** This bug has been marked as a duplicate of bug 302422 ***