[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: LS-120 drive
- From: Jan Carlson <janc iname com>
- To: redhat-list redhat com
- Subject: Re: LS-120 drive
- Date: Sat, 01 May 1999 14:53:24 -0400
Ruud de Bruin wrote:
>
> Whenever I mount a 1.44 diskette (ext2) in my LS-120 drive via a mount
> command:
>
> mount -t ext2 /dev/hdc /mnt/floppy
>
> I receive an error/warning message:
>
> hdc:Dev 16:00 Sun disklabel: bad magic 0000
> unknown partition table
>
> However, I can still read/write to the diskette.
>
> This happens if I use RedHat, Debian linux, Turlo Linux.
Your kernel was built with "SMD disklabel (Sun partition tables)
support"
enabled. Linus's defaults enable this only on the Sparc architecture
- from the the 2.2.6 kernel source.
If you compiled your kernel, you could turn this off the next time.
It's amazing how easy it is to look up things like this in the kernel
source:
cd /usr/src/linux
make clean
find -type f|xargs grep "Sun disk"|less
genhd.c printed the message you saw!
less drivers/block/genhd.c
less include/linux/genhd.h
find -type f|xargs grep CONFIG_SMD_DISKLABEL|less
./fs/Config.in:bool 'SMD disklabel (Sun partition tables) support'
CONFIG_SMD_DISKLABE
./include/linux/genhd.h:#if defined(__sparc__) ||
defined(CONFIG_SMD_DISKLABEL)
./arch/i386/defconfig:# CONFIG_SMD_DISKLABEL is not set
./arch/sparc/defconfig:CONFIG_SMD_DISKLABEL=y
./arch/mips/defconfig:# CONFIG_SMD_DISKLABEL is not set
./arch/ppc/defconfig:# CONFIG_SMD_DISKLABEL is not set
./arch/ppc/pmac_defconfig:# CONFIG_SMD_DISKLABEL is not set
./arch/ppc/apus_defconfig:# CONFIG_SMD_DISKLABEL is not set
./arch/ppc/common_defconfig:# CONFIG_SMD_DISKLABEL is not set
./arch/ppc/mbx_defconfig:# CONFIG_SMD_DISKLABEL is not set
./arch/sparc64/defconfig:CONFIG_SMD_DISKLABEL=y
./Documentation/Configure.help:CONFIG_SMD_DISKLABEL
Looking closely tells what's going on and how to fix it.
There are probably more Penguin machines in the world than computers
in Canada. Linux is bigger than Canada then, eh?
Jan Carlson
janc iname com Scarborough, Ontario, Canada
Netscape4.51 RedHat5.2+updates Linux2.2.6
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]