ons, 27,.04.2005 kl. 11.51 +0200, skrev Eric Taverny: > Hi Jarle, > > I have got the similar problem "Error setting raw device" on a Linux Redhat > AS 3.0 SMP x86_64 with kernel 2.4.21-27.0.4 EL > with some Xeon cpus on HP Proliant DL 360 servers in a cluster envrinment > with HP MC Service Guard. > > Did you solve your problme ? If yes, how did you fix it ?
Hi, sorry for the late reply. I've been working on some projects and had to leave the mailing-lists for a while. The problem was solved when I upgraded to the amd64 port. It seems like a 64-bit kernel and 32-bit userland simply do not work with raw devices. Jarle > Thanks, > > Ricky. > > * To: debian-user@lists.debian.org > * Subject: Error setting raw device > * From: Jarle Aase <[EMAIL PROTECTED]> > * Date: Mon, 11 Apr 2005 09:45:49 +0200 > * Message-id: <[EMAIL PROTECTED]> > * Old-return-path: <[EMAIL PROTECTED]> > * Organization: Jgaa's Internet > > Hi list, > > I'm having a problem initializing raw devives with the latest "Testing" > release of debian. After creating the raw devices in /dev/raw/, the > "raw" command fails with an "Error setting raw device (Invalid > argument)" error when I try to assign it to a physical disk partition. > > The machine is a dual Opteron 2 Ghz machine with the Debian > 2.6.8-10-amd64-k8-smp kernel. The "scsi"-disk is a 200G SATA disk. > > opteron:~# cd /dev/ > opteron:/dev# mkdir raw > opteron:/dev# cd raw > opteron:/dev/raw# mknod /dev/raw/raw1 c 162 1 > opteron:/dev/raw# raw raw1 /dev/sda1 > Error setting raw device (Invalid argument) > > opteron:/dev/raw# ls -l /dev/rawctl /dev/raw/raw1 /dev/sda1 > crw-rw---- 1 root root 162, 0 2005-04-11 17:06 /dev/rawctl > crw-r--r-- 1 root root 162, 1 2005-04-11 17:09 /dev/raw/raw1 > brw-rw---- 1 root disk 8, 1 2005-04-11 17:07 /dev/sda1 > > opteron:/dev/raw# lspci > 0000:00:06.0 PCI bridge: Advanced Micro Devices [AMD] AMD-8111 PCI (rev > 07) > 0000:00:07.0 ISA bridge: Advanced Micro Devices [AMD] AMD-8111 LPC (rev > 05) > 0000:00:07.1 IDE interface: Advanced Micro Devices [AMD] AMD-8111 IDE > (rev 03) > 0000:00:07.2 SMBus: Advanced Micro Devices [AMD] AMD-8111 SMBus 2.0 (rev > 02) > 0000:00:07.3 Bridge: Advanced Micro Devices [AMD] AMD-8111 ACPI (rev 05) > 0000:00:0a.0 PCI bridge: Advanced Micro Devices [AMD] AMD-8131 PCI-X > Bridge (rev 12) > 0000:00:0a.1 PIC: Advanced Micro Devices [AMD] AMD-8131 PCI-X APIC (rev > 01) > 0000:00:0b.0 PCI bridge: Advanced Micro Devices [AMD] AMD-8131 PCI-X > Bridge (rev 12) > 0000:00:0b.1 PIC: Advanced Micro Devices [AMD] AMD-8131 PCI-X APIC (rev > 01) > 0000:00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 NorthBridge > 0000:00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 NorthBridge > 0000:00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 NorthBridge > 0000:00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 NorthBridge > 0000:00:19.0 Host bridge: Advanced Micro Devices [AMD] K8 NorthBridge > 0000:00:19.1 Host bridge: Advanced Micro Devices [AMD] K8 NorthBridge > 0000:00:19.2 Host bridge: Advanced Micro Devices [AMD] K8 NorthBridge > 0000:00:19.3 Host bridge: Advanced Micro Devices [AMD] K8 NorthBridge > 0000:01:00.0 USB Controller: Advanced Micro Devices [AMD] AMD-8111 USB > (rev 0b) > 0000:01:00.1 USB Controller: Advanced Micro Devices [AMD] AMD-8111 USB > (rev 0b) > 0000:01:05.0 Unknown mass storage controller: Silicon Image, Inc. > (formerly CMD Technology Inc) SiI 3114 [SATALink/SATARaid] Serial ATA > Controller (rev 02) > 0000:01:07.0 VGA compatible controller: ATI Technologies Inc Rage XL > (rev 27) > 0000:02:02.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5704 > Gigabit Ethernet (rev 03) > 0000:02:02.1 Ethernet controller: Broadcom Corporation NetXtreme BCM5704 > Gigabit Ethernet (rev 03) > > opteron:/dev/raw# cat /proc/version > Linux version 2.6.8-10-amd64-k8-smp ([EMAIL PROTECTED]) (gcc versión 3.4.4 > 20041218 (prerelease) (Debian 3.4.3-6)) #1 SMP Sun Jan 30 04:17:34 CET > 2005 > > Jarle -- Jarle Aase email: [EMAIL PROTECTED] Author of freeware. http://www.jgaa.com news:alt.comp.jgaa War FTP Daemon: http://www.warftp.org War FTP Daemon FAQ: http://www.warftp.org/faq/warfaq.htm Jgaa's PGP key: http://war.jgaa.com/pgp NB: If you reply to this message, please include all relevant information from the conversation in your reply. Thanks. <<< no need to argue - just kill'em all! >>> -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]