View Single Post
  #14  
Old 14th March 2006, 19:27
markes markes is offline
Junior Member
 
Join Date: Mar 2006
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Nice Howto, it´s works fine, but some peculiar things i have noticed:

- after boot and login in KDE
in MyComputer/media floppy is mounted always althougt i unmounted it.
media:/ -Konqueror
/Diskette (fd0)
/DVD (dvdram)
/Festplatte (mapper/via_bdeaacdjjh1)
/Festplatte (mapper/via_bdeaacdjjh10)
/Festplatte (mapper/via_bdeaacdjjh4)
/Festplatte (mapper/via_bdeaacdjjh5)
/Festplatte (mapper/via_bdeaacdjjh6)
/Festplatte (mapper/via_bdeaacdjjh7)
/Festplatte (mapper/via_bdeaacdjjh8)
/Festplatte (mapper/via_bdeaacdjjh9)

- If i logout and then login as different or same user without reboot i will get:
MyComputer/media:/ -Konqueror
/8.4G Medium
/Diskettenlaufwerk
after clicking 8.4G Medium i get the message:
Could not mount device.
The reported error was:
mount: can't find /dev/sda1 in /etc/fstab or /etc/mtab

- some warnings and errors in /var/log/messages and /var/log/boot.msg
my /var/log/messages, the warning: grep not found too
...
Mar 14 10:31:41 linux kernel: attempt to access beyond end of device
Mar 14 10:31:41 linux kernel: sda: rw=0, want=312581850, limit=312581808
Mar 14 10:31:41 linux kernel: printk: 807 messages suppressed.
Mar 14 10:31:41 linux kernel: Buffer I/O error on device dm-0, logical block 312581804
...
Mar 14 10:32:01 linux kernel: bootsplash: status on console 0 changed to on
Mar 14 10:32:01 linux hal-subfs-mount[6327]: By hald-subfs-mount created dir /media/floppy got removed.
Mar 14 10:32:01 linux kernel: printk: 90 messages suppressed.
Mar 14 10:32:01 linux kernel: Buffer I/O error on device sda4, logical block 8241312
...
Mar 14 10:32:02 linux hal-subfs-mount[6338]: MOUNTPOINT:: /media/floppy
Mar 14 10:32:02 linux kernel: subfs 0.9
Mar 14 10:32:02 linux hal-subfs-mount[6338]: Collected mount options and Called(0) /bin/mount -t subfs -o fs=floppyfss,sync,procuid,nosuid,nodev,exec /dev/fd0 "/media/floppy"
Mar 14 10:32:02 linux kernel: end_request: I/O error, dev fd0, sector 0
Mar 14 10:32:02 linux submountd: mount failure, No such device or address
Mar 14 10:32:02 linux kernel: end_request: I/O error, dev fd0, sector 0
Mar 14 10:32:02 linux kernel: subfs: unsuccessful attempt to mount media (256)

/var/log/boot.msg
...
<6>scsi0 : sata_via
<7>ata2: dev 0 cfg 49:2f00 82:746b 83:7f01 84:4023 85:7469 86:3c01 87:4023 88:80ff
<6>ata2: dev 0 ATA, max UDMA7, 312581808 sectors: lba48
<6>ata2: dev 0 configured for UDMA/133
<6>scsi1 : sata_via
<5> Vendor: ATA Model: SAMSUNG HD160JJ Rev: ZM10
<5> Type: Direct-Access ANSI SCSI revision: 05
<5>SCSI device sda: 312581808 512-byte hdwr sectors (160042 MB)
<5>SCSI device sda: drive cache: write back
<5>SCSI device sda: 312581808 512-byte hdwr sectors (160042 MB)
<5>SCSI device sda: drive cache: write back
<6> sda: sda1 sda2 < > sda3 sda4
<5>Attached scsi disk sda at scsi0, channel 0, id 0, lun 0
<5> Vendor: ATA Model: SAMSUNG HD160JJ Rev: ZM10
<5> Type: Direct-Access ANSI SCSI revision: 05
<5>SCSI device sdb: 312581808 512-byte hdwr sectors (160042 MB)
<5>SCSI device sdb: drive cache: write back
<5>SCSI device sdb: 312581808 512-byte hdwr sectors (160042 MB)
<5>SCSI device sdb: drive cache: write back
<6> sdb:<3>Buffer I/O error on device sda3, logical block 2361344
<3>Buffer I/O error on device sda3, logical block 2361345
<3>Buffer I/O error on device sda3, logical block 2361346
<3>Buffer I/O error on device sda3, logical block 2361347
<3>Buffer I/O error on device sda3, logical block 2361348
<3>Buffer I/O error on device sda3, logical block 2361349
<3>Buffer I/O error on device sda3, logical block 2361350
<3>Buffer I/O error on device sda3, logical block 2361351
<3>Buffer I/O error on device sda4, logical block 8241312
<3>Buffer I/O error on device sda4, logical block 8241313
<5>Attached scsi generic sg0 at scsi0, channel 0, id 0, lun 0, type 0
...
<3>Buffer I/O error on device sda3, logical block 2361344
..
Loading required kernel modules
doneRestore device permissionsdone
Warning: ignoring extra data in partition table 5
Warning: ignoring extra data in partition table 5
Warning: ignoring extra data in partition table 5
Warning: invalid flag 0xffffbf76 of partition table 5 will be corrected by w(rite)
Disk /dev/sdb doesn't contain a valid partition table
Activating remaining swap-devices in /etc/fstab...

I have installed it like you described, without any errors:
-the line in /etc/sysconfig/kernel i have changed to
INITRD_MODULES="sata_via via82cxxx processor thermal fan reiserfs dm-mod"

-my /boot/grub/device.map
(fd0) /dev/fd0
(hd0) /dev/mapper/via_bdeaacdjjh

-my /boot/grub/menu.lst
color white/blue black/light-gray
default 0
timeout 8
gfxmenu (hd0,3)/boot/message

###Don't change this comment - YaST2 identifier: Original name: windows###
title Windows
chainloader (hd0,0)+1

###Don't change this comment - YaST2 identifier: Original name: linux###
title SUSE LINUX 10.0
root (hd0,3)
kernel /boot/vmlinuz root=/dev/mapper/via_bdeaacdjjh4 vga=0x317 selinux=0 resume=/dev/mapper/via_bdeaacdjjh3 splash=silent showopts
initrd /boot/initrd

###Don't change this comment - YaST2 identifier: Original name: floppy###
title Diskette
chainloader (fd0)+1

###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe -- SUSE LINUX 10.0
root (hd0,3)
kernel /boot/vmlinuz root=/dev/mapper/via_bdeaacdjjh4 vga=normal showopts ide=nodma apm=off acpi=off noresume selinux=0 nosmp noapic maxcpus=0 edd=off 3
initrd /boot/initrd

linux:/home/mk # fdisk -l
Warnung: ignoriere weitere Daten in Partitionstabelle 5
Warnung: ignoriere weitere Daten in Partitionstabelle 5
Warnung: ignoriere weitere Daten in Partitionstabelle 5
Warnung: Schreiben wird ungültiges Flag 0xffffbf76 in Part.-tabelle 5 korrigiere n

Platte /dev/sda: 160.0 GByte, 160041885696 Byte
255 Köpfe, 63 Sektoren/Spuren, 19457 Zylinder
Einheiten = Zylinder von 16065 × 512 = 8225280 Bytes

Gerät boot. Anfang Ende Blöcke Id System
/dev/sda1 * 1 1020 8193118+ 7 HPFS/NTFS
/dev/sda2 1021 36715 286720087+ f W95 Erw. (LBA)
/dev/sda3 36716 36862 1180777+ 82 Linux Swap / Solaris
/dev/sda4 36863 38914 16482690 83 Linux
/dev/sda5 ? 44606 181585 1100285363 3c PartitionMagic recovery

Platte /dev/sdb: 160.0 GByte, 160041885696 Byte
255 Köpfe, 63 Sektoren/Spuren, 19457 Zylinder
Einheiten = Zylinder von 16065 × 512 = 8225280 Bytes

Festplatte /dev/sdb enthält keine gültige Partitionstabelle


linux:/home/mk # fdisk /dev/mapper/via_bdeaacdjjh

Die Anzahl der Zylinder für diese Platte ist auf 38914 gesetzt.
Daran ist nichts verkehrt, aber das ist größer als 1024 und kann
in bestimmten Konfigurationen Probleme hervorrufen mit:
1) Software, die zum Bootzeitpunkt läuft (z. B. ältere LILO-Versionen)
2) Boot- und Partitionierungssoftware anderer Betriebssysteme
(z. B. DOS FDISK, OS/2 FDISK)

Befehl (m für Hilfe): p

Platte /dev/mapper/via_bdeaacdjjh: 320.0 GByte, 320083770368 Byte
255 Köpfe, 63 Sektoren/Spuren, 38914 Zylinder
Einheiten = Zylinder von 16065 × 512 = 8225280 Bytes

Gerät boot. Anfang Ende Blöcke Id System
/dev/mapper/via_bdeaacdjjh1 * 1 1020 8193118+ 7 HPFS/NTFS
/dev/mapper/via_bdeaacdjjh2 1021 36715 286720087+ f W95 Erw. (LBA)
/dev/mapper/via_bdeaacdjjh3 36716 36862 1180777+ 82 Linux Swap / Solaris
/dev/mapper/via_bdeaacdjjh4 36863 38914 16482690 83 Linux
/dev/mapper/via_bdeaacdjjh5 1021 3570 20482843+ 7 HPFS/NTFS
/dev/mapper/via_bdeaacdjjh6 3571 6120 20482843+ 7 HPFS/NTFS
/dev/mapper/via_bdeaacdjjh7 6121 18868 102398278+ 7 HPFS/NTFS
/dev/mapper/via_bdeaacdjjh8 18869 31616 102398278+ 7 HPFS/NTFS
/dev/mapper/via_bdeaacdjjh9 31617 36575 39833136 7 HPFS/NTFS
/dev/mapper/via_bdeaacdjjh10 36576 36715 1124518+ b W95 FAT32


my /etc/fstab
/dev/mapper/via_bdeaacdjjh4 / reiserfs acl,user_xattr 1 1
/dev/mapper/via_bdeaacdjjh1 /windows/C ntfs noauto,ro,users,gid=users,umask=0002,nls=utf8 0 0
/dev/mapper/via_bdeaacdjjh5 /windows/D ntfs noauto,ro,users,gid=users,umask=0002,nls=utf8 0 0
/dev/mapper/via_bdeaacdjjh6 /windows/E ntfs noauto,ro,users,gid=users,umask=0002,nls=utf8 0 0
/dev/mapper/via_bdeaacdjjh7 /windows/F ntfs noauto,ro,users,gid=users,umask=0002,nls=utf8 0 0
/dev/mapper/via_bdeaacdjjh8 /windows/G ntfs noauto,ro,users,gid=users,umask=0002,nls=utf8 0 0
/dev/mapper/via_bdeaacdjjh9 /windows/H ntfs noauto,ro,users,gid=users,umask=0002,nls=utf8 0 0
/dev/mapper/via_bdeaacdjjh10 /windows/I vfat users,gid=users,umask=0002,utf8=true 0 0
/dev/mapper/via_bdeaacdjjh3 swap swap defaults 0 0
proc /proc proc defaults 0 0
sysfs /sys sysfs noauto 0 0
usbfs /proc/bus/usb usbfs noauto 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0
/dev/dvdram /media/dvdram subfs noauto,fs=cdfss,ro,procuid,nosuid,nodev,exec,iocha rset=utf8 0 0
/dev/fd0 /media/floppy subfs noauto,fs=floppyfss,procuid,nodev,nosuid,sync 0 0

greets
markes
Reply With Quote