Re: [gentoo-user] Re: how to setup sun-jdk
On Saturday 15 April 2006 11:30 pm, wu chuanwen wrote: The package dose not mention it's Multi-language package or not.The name of package is Linux self-extracting file.And i notice that the package for Windows mentions that it's Multi-language package. Does it matter if it'a Multi-language or not? Yes. In a situation like this, Java can be amazingly picky over not just which JDK but such nonsense as lanugage packs, c. I left Java about a year ago to this day because it was totally barf-disgusting gross (like my Mormon swearing ; ) Then I qualify for AP Computer Science (yay!) and have to use Java again : \ Get the precise name of the JDK that you need, then do this little trick in Google: site:http://java.sun.com/ [the EXACT file you need] That should find what you want out of Sun's bloated archives of Java-garbage. And, just b/c I'm having fun making fun of Java, I have to quote a very good friend of mine on the subject: Java should stick to the miserable server apps it was designed for. --Seth Willits pgpJ1mVAa8b20.pgp Description: PGP signature
Re: [gentoo-user] X11 + framebuffer - does it work?
On Saturday 15 April 2006 07:55 pm, Richard Fish wrote: On 4/15/06, Rohit and Bhavana [EMAIL PROTECTED] wrote: Hi, Is there anyone on the list who has the following configured on their workstations? * bootsplash giving them a nice picture at the startup [ in runlevel boot] I do that on my laptop. IBM X40 Type 2386-1CU with some weird Intel Extreme Graphics II chip I've never previously heard of and honestly don't want to see again (it really sucks - the X40's wonderfully light though, I'd reccommend it any day! Works perfectly with Linux, too!) * bootsplash giving them a nice picture later [ in runlevel default] You mean like the livecd-2006.0 theme? Where it has pretty framebuffer graphics and puts console at 1024x768 (a must-have, IMHO) but then has a picturized boot process? Yeah, I do that. Then by whacking F2 I can go back to the verbose process but still with the pretty graphics. The info you need is in http://gentoo-wiki.com/HOWTO_fbsplash (as reccommended to me by Bo Andresen). * Then X11 starting on their nvidia card configured with xf86 or xorg with X working in default runlevel On my server I'm working to get spash working with an nVidia card. The problems aren't from the nVidia card, however, but rather from Genkernel, which I find totally inferior to make in every way (why do I need to recompile the whole kernel every time? I know, I've been spoiled by only compiling what's changed). * Switching back to consol with control-alt-F[n] and being able to work without locking up your box - and without framebuffer corruption. Never had a problem here. When I kill X11 and KDM for a console login, it goes back to the beautified console, but sacrificing no functionality that I know of. I have all of this working on my Dell e1705 laptop. Significant details: 2.6.15-suspend2-r8 [ebuild R ] media-video/nvidia-kernel-1.0.8756 0 kB [ebuild R ] x11-base/xorg-server-1.0.2-r3 USE=dri -debug -ipv6 -minimal -xprint 0 kB Also I use the vesafb-tng framebuffer driver. If yes, then if you know anyone has everything working, I would be obliged to note the version numbers etc and any pointers. - not being clear about difference between gensplash and bootsplash [they seem to serve the same purpose] which one should I use on my system. Should I emerge one, or both or one of them and themes for both? I used splashutils with great success. I can't comment about any others though - I've never tried them. I would suggest not dealing with bootsplash issues at this point, and work on getting a stable framebuffer working. Once you have that, the bootsplash side of things is pretty straight-forward. I'd reccommend that Wiki. I walked through it and came out alive, and with linux looking artful enough to shut up all the Windoze zealots that I am burdened to come into contact with. pgpmSVn1TPJfs.pgp Description: PGP signature
[gentoo-user] Completness of AVR toolset in dev-embedded?
I wander, what's the point of having (noncompilable) dev-embedded/avr-libc in portage when there is no avr-gcc nor avr-binutils? However, I found some overlay ebuilds for avr toolset at http://gentoo.zugaina.org/erazor-zone/dev-embedded.html.en going to try it. Petr -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] prelink question and kdeinit
AFAICT, this is the expected result. Without KDE_IS_PRELINKED or KDE_FORK_SLAVES you will see many more kdeinit processes. yes of course, this is true a lot of more kdeinit processes... The real question is is it faster? well, this is a good question. Actually i'm not seeing any incredible boost in performance, excluding a reduced need of RAM memory. Regards, MC -- gentoo-user@gentoo.org mailing list
[gentoo-user] Re: Completness of AVR toolset in dev-embedded?
Petr Kocmid Petr.Kocmid at project-bhairava.org writes: I wander, what's the point of having (noncompilable) dev-embedded/avr-libc in portage when there is no avr-gcc nor avr-binutils? No good reason for this However, I found some overlay ebuilds for avr toolset at http://gentoo.zugaina.org/erazor-zone/dev-embedded.html.en going to try it. Well, in my experience with Gentoo, what's available in portage, is a function of what the 'devs' are interested in. Indeed every packages in portage needs an evangelist to keep it current and correctly patched. It seems that none of the devs are much interested in firmware, assembler, (8-16) bit micro-Controllers and many things related to embedded software development. The answer is to find an embedded person that can 'get qualified' as a dev thereby supporting the needs of the firmware community, in my opinion. It's a *DAM SHAM* Micro-Controllers, state machines and minimal executives are the heart of where electronics meet computer science. I often used Debian, as it seem to much more agressive in supporting the needs of the embedded communities Other gravitate to LFS (linux from scratch) or other distros that are more interested in supporting the needs of the embedded communities. There is a gentoo-embedded group, but it seems to be limited to x86 and PPC architectures. If I'm really desperate, I look at bugs.gentoo.org to find folks that have posted bugs, revision update requests, and such and send them email directly for ideas, and patched software builds. 'Portage Overlay' is often used when a person, with embedded tendencies, attempts to create/hack an ebuild for the greater embedded community. We are orphans with Gentoo. YMMV (peace to all) James -- gentoo-user@gentoo.org mailing list
[gentoo-user] keyboard layout
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello, I have a layout problem: I had until yesterday the xorg 7. I choosed to come back to stable xorg 6.8 for easier the automatic updating. After that I lose the keyboard layout: in the normal console (with ctr+alt+f1) I had the german layout, but under x I cannot set it (it is still to us layout). What can I do? Thanks, Luigi - -- Public key GPG(0x633F86B7) on http://keyserver.linux.it/ -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2.2 (GNU/Linux) iD8DBQFEQ4aEHmkkjmM/hrcRAqjPAJ9myoiIjqFmnjfLbqJvfAlWOHFY2wCfYG2/ OOFIrVJsWWu77VZPOF/zApE= =GbNX -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list
[gentoo-user] Re: keyboard layout
Luigi Pinna wrote: I have a layout problem: I had until yesterday the xorg 7. I choosed to come back to stable xorg 6.8 for easier the automatic updating. After that I lose the keyboard layout: in the normal console (with ctr+alt+f1) I had the german layout, but under x I cannot set it (it is still to us layout). What can I do? Maywbe with KDE Control Center Internationalisation Accessibility Keyborard Layout. -- Régis -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] keyboard layout
On 14:13 Mon 17 Apr , Luigi Pinna wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello, I have a layout problem: I had until yesterday the xorg 7. I choosed to come back to stable xorg 6.8 for easier the automatic updating. After that I lose the keyboard layout: in the normal console (with ctr+alt+f1) I had the german layout, but under x I cannot set it (it is still to us layout). What can I do? Thanks, Luigi - -- $EDITOR /etc/X11/xorg.conf, Core keyboard's input device section, Option XkbLayout. -- A ouvir (mpd): parado - GPG KeyID:0x9D2FD6C8 pgpFMvQyy7wxN.pgp Description: PGP signature
[gentoo-user] DCOP call to minimize all windows?
Hi, I'd like to use Win+D to toggle the desktop view, instead of Ctrl+Alt+D. It seems everyone else has Panel, toggle showing desktop in khotkeys. I don't -- and it does not matter too much. Can you simply tell me what DCOP call to do; I can't find something appropriate, even with the help of kdcop. Thanks, -- Régis -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Re: Completness of AVR toolset in dev-embedded?
On Monday 17 April 2006 13:48, James wrote: Petr Kocmid Petr.Kocmid at project-bhairava.org writes: I wander, what's the point of having (noncompilable) dev-embedded/avr-libc in portage when there is no avr-gcc nor avr-binutils? No good reason for this Well, now I found one: one needs to be a clearvoyant to detect that dev-embedded/avr-libc is probably supposed to be used with sys-devel/crossdev toolset generator. However, for now I am quite satisfied better with Ycarus's overlay ebuilds from zugaina.org. Well, in my experience with Gentoo, what's available in portage, is a function of what the 'devs' are interested in. Indeed every packages in portage needs an evangelist to keep it current and correctly patched. It seems that none of the devs are much interested in firmware, assembler, (8-16) bit micro-Controllers and many things related to embedded software development. The answer is to find an embedded person that can 'get qualified' as a dev thereby supporting the needs of the firmware community, in my opinion. It's a *DAM SHAM* Micro-Controllers, state machines and minimal executives are the heart of where electronics meet computer science. Verily you hit the Truth! As someone who spent my young age coding on mainframes AND building 8-bits, I am quite dissatisfied with fact today's young computer specialists either have no [soldering+assembler] skills or they can't read in any of prolog/lisp/scheme/haskell, or both. It's really causing a major technology slowdown, where are all those servicing robots we in 80's were expecting to have in 2000 at our homes? ;-) Sorry everyone for shifting off topic. -- Petr -- gentoo-user@gentoo.org mailing list
[gentoo-user] evms
Trying to set up a new server using evms, but the howto on the gentoo site seems very old and incomplete. is there a better/more complete one? basically, i've got 3 hot-swappable scsi drives, but no raid controller.. I want to end up with lvm logical volumes on top of a software raid-5. but getting there with evms is presenting me some issues. FYI, i've been an aix system adminstrator for over 10 years, so i'm very familiar with lvm concepts and applications..just trying to translate that process into evms terms. Thanks. -- gentoo-user@gentoo.org mailing list
[gentoo-user] No /dev/sda1 with Klingston usb disk. Wrong lsusb output.
I've a problem with a recently bought usb disk:there is a /dev/sda node but no /dev/sda1 . When I try to access /dev/sda, I've the following errors : sanduleak ~ # fdisk /dev/sda Unable to open /dev/sda sanduleak ~ # dd if=/dev/sda of=/dev/null dd: opening `/dev/sda': No medium found When I plug it, tje following entries are added to dmesg : usb 3-2: new full speed USB device using uhci_hcd and address 6 scsi2 : SCSI emulation for USB Mass Storage devices usb-storage: device found at 6 usb-storage: waiting for device to settle before scanning Vendor: Generic Model: USB Flash Drive Rev: 1.04 Type: Direct-Access ANSI SCSI revision: 02 sd 2:0:0:0: Attached scsi removable disk sda usb-storage: device scan complete The strangest part is the lsusb output (verbose output at the end of the mail): sanduleak ~ # lsusb -s6 Bus 003 Device 006: ID 1043:8006 iCreate Technologies Corp. Flash Disk 32 MB This is a not an iCreate 32MB drive, but a Kingston DataTraveler Elite 1GB drive. I did some first tests with small files, and it worked OK. I then loaded a ~100MB file from a windows computer on the usb key and went away to travel (It shold be DataTraveler disk, after all). I'm now in China, with no access to this disk :-(. Is that 1. a user bug (I did something very stupid), 2. a disk bug (My disk is corrupted some how), 3. or a software bug. In case 1. and 2., how can I check it ? The lsusb output let me suspect it's case 3, especially the false 32 MB disk size. If it's the case, can I possibly correct it ? Where should I look ? And Where should I report the bug ? Thanks for having read until here. Fred PS: here is the output of lsusb -vs6 , if it can be useful. Bus 003 Device 006: ID 1043:8006 iCreate Technologies Corp. Flash Disk 32 MB Device Descriptor: bLength18 bDescriptorType 1 bcdUSB 1.10 bDeviceClass0 (Defined at Interface level) bDeviceSubClass 0 bDeviceProtocol 0 bMaxPacketSize0 8 idVendor 0x1043 iCreate Technologies Corp. idProduct 0x8006 Flash Disk 32 MB bcdDevice1.00 iManufacturer 0 iProduct0 iSerial 0 bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 32 bNumInterfaces 1 bConfigurationValue 1 iConfiguration 0 bmAttributes 0x80 MaxPower 100mA Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber0 bAlternateSetting 0 bNumEndpoints 2 bInterfaceClass 8 Mass Storage bInterfaceSubClass 6 SCSI bInterfaceProtocol 80 Bulk (Zip) iInterface 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x81 EP 1 IN bmAttributes2 Transfer TypeBulk Synch Type None Usage Type Data wMaxPacketSize 0x0040 1x 64 bytes bInterval 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x02 EP 2 OUT bmAttributes2 Transfer TypeBulk Synch Type None Usage Type Data wMaxPacketSize 0x0040 1x 64 bytes bInterval 0 -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] evms
On Monday 17 April 2006 09:14, John Jolet [EMAIL PROTECTED] wrote about '[gentoo-user] evms': Trying to set up a new server using evms, but the howto on the gentoo site seems very old and incomplete. basically, i've got 3 hot-swappable scsi drives, but no raid controller.. I want to end up with lvm logical volumes on top of a software raid-5. but getting there with evms is presenting me some issues. FYI, i've been an aix system adminstrator for over 10 years, so i'm very familiar with lvm concepts and applications..just trying to translate that process into evms terms. In your situation, I'd get rid of evms, it's not needed. Use mdadm to create a raid5 volume from your 3 drives, then use the command-line lvm tools to create a pv, vg, and all the lvs you want. -- If there's one thing we've established over the years, it's that the vast majority of our users don't have the slightest clue what's best for them in terms of package stability. -- Gentoo Developer Ciaran McCreesh pgpBx1JFXz0t3.pgp Description: PGP signature
Re: [gentoo-user] evms
On Apr 17, 2006, at 9:34 AM, Boyd Stephen Smith Jr. wrote: On Monday 17 April 2006 09:14, John Jolet [EMAIL PROTECTED] wrote about '[gentoo-user] evms': Trying to set up a new server using evms, but the howto on the gentoo site seems very old and incomplete. basically, i've got 3 hot-swappable scsi drives, but no raid controller.. I want to end up with lvm logical volumes on top of a software raid-5. but getting there with evms is presenting me some issues. FYI, i've been an aix system adminstrator for over 10 years, so i'm very familiar with lvm concepts and applications..just trying to translate that process into evms terms. In your situation, I'd get rid of evms, it's not needed. Use mdadm to create a raid5 volume from your 3 drives, then use the command-line lvm tools to create a pv, vg, and all the lvs you want. well, that's what i've done in the past. seemed to me that evms was the direction things were going, and thought i'd give it a test drive. is it your opinion that evms does not add any value in terms of resizing logical volumes and volume groups, etc? -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] No /dev/sda1 with Klingston usb disk. Wrong lsusb output.
Hey Fred. Is the USB key in question formatted with a FAT partition by chance? If so, you may need to load the vfat module as root, or, build vfat (Windows FAT32) filesystem support into your kernel, or perhaps, add an entry for the USB key in your /etc/fstab if you already have vfat support. http://gentoo-wiki.com/HOWTO_USB_Mass_Storage_Device Sláinte! -Jeff Frédéric Grosshans wrote: I've a problem with a recently bought usb disk:there is a /dev/sda node but no /dev/sda1 . When I try to access /dev/sda, I've the following errors : sanduleak ~ # fdisk /dev/sda Unable to open /dev/sda sanduleak ~ # dd if=/dev/sda of=/dev/null dd: opening `/dev/sda': No medium found When I plug it, tje following entries are added to dmesg : usb 3-2: new full speed USB device using uhci_hcd and address 6 scsi2 : SCSI emulation for USB Mass Storage devices usb-storage: device found at 6 usb-storage: waiting for device to settle before scanning Vendor: Generic Model: USB Flash Drive Rev: 1.04 Type: Direct-Access ANSI SCSI revision: 02 sd 2:0:0:0: Attached scsi removable disk sda usb-storage: device scan complete The strangest part is the lsusb output (verbose output at the end of the mail): sanduleak ~ # lsusb -s6 Bus 003 Device 006: ID 1043:8006 iCreate Technologies Corp. Flash Disk 32 MB This is a not an iCreate 32MB drive, but a Kingston DataTraveler Elite 1GB drive. I did some first tests with small files, and it worked OK. I then loaded a ~100MB file from a windows computer on the usb key and went away to travel (It shold be DataTraveler disk, after all). I'm now in China, with no access to this disk :-(. Is that 1. a user bug (I did something very stupid), 2. a disk bug (My disk is corrupted some how), 3. or a software bug. In case 1. and 2., how can I check it ? The lsusb output let me suspect it's case 3, especially the false 32 MB disk size. If it's the case, can I possibly correct it ? Where should I look ? And Where should I report the bug ? Thanks for having read until here. Fred PS: here is the output of lsusb -vs6 , if it can be useful. Bus 003 Device 006: ID 1043:8006 iCreate Technologies Corp. Flash Disk 32 MB Device Descriptor: bLength18 bDescriptorType 1 bcdUSB 1.10 bDeviceClass0 (Defined at Interface level) bDeviceSubClass 0 bDeviceProtocol 0 bMaxPacketSize0 8 idVendor 0x1043 iCreate Technologies Corp. idProduct 0x8006 Flash Disk 32 MB bcdDevice1.00 iManufacturer 0 iProduct0 iSerial 0 bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 32 bNumInterfaces 1 bConfigurationValue 1 iConfiguration 0 bmAttributes 0x80 MaxPower 100mA Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber0 bAlternateSetting 0 bNumEndpoints 2 bInterfaceClass 8 Mass Storage bInterfaceSubClass 6 SCSI bInterfaceProtocol 80 Bulk (Zip) iInterface 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x81 EP 1 IN bmAttributes2 Transfer TypeBulk Synch Type None Usage Type Data wMaxPacketSize 0x0040 1x 64 bytes bInterval 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x02 EP 2 OUT bmAttributes2 Transfer TypeBulk Synch Type None Usage Type Data wMaxPacketSize 0x0040 1x 64 bytes bInterval 0 -- Princess Leia gets her first look at the Millennium Falcon. Princess Leia: You came in that thing? You're braver than I thought! -- gentoo-user@gentoo.org mailing list
[gentoo-user] XOrg: Getting xconf.org out of the XServer ?
Hi, it seems that X uses some internal xconf file if no is supplied. Is there a way of telling X Hey, dump the configuration to a reuseable file! ? Thanks you very much for any help in advance ! Keep hacking! mcc -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] evms
I used the info on the EVMS site and there is a wiki entry which helped quite a bit. I'm not at home so I don't have the wiki entry but I found it via a search on evms + Gentoo. I like EVMS as it makes managing the disks much easier than trying to all of them separately. From: John Jolet [EMAIL PROTECTED] Date: 2006/04/17 Mon AM 10:14:13 EDT To: gentoo-user@lists.gentoo.org Subject: [gentoo-user] evms Trying to set up a new server using evms, but the howto on the gentoo site seems very old and incomplete. is there a better/more complete one? basically, i've got 3 hot-swappable scsi drives, but no raid controller.. I want to end up with lvm logical volumes on top of a software raid-5. but getting there with evms is presenting me some issues. FYI, i've been an aix system adminstrator for over 10 years, so i'm very familiar with lvm concepts and applications..just trying to translate that process into evms terms. Thanks. -- gentoo-user@gentoo.org mailing list -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] evms
On Apr 17, 2006, at 10:22 AM, [EMAIL PROTECTED] wrote: I used the info on the EVMS site and there is a wiki entry which helped quite a bit. I'm not at home so I don't have the wiki entry but I found it via a search on evms + Gentoo. I like EVMS as it makes managing the disks much easier than trying to all of them separately. I did find that wiki entry, i think. having to translate it into a 3 disk setup, mostly for raid5, but looks pretty good. since i've done software raid/lvm on linux quite a bit, i think i'll go ahead with this box and evms just to be able to compare my experience. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] No /dev/sda1 with Klingston usb disk. Wrong lsusb output.
On Monday 17 April 2006 16:24, Frédéric Grosshans wrote: Bus 003 Device 006: ID 1043:8006 iCreate Technologies Corp. Flash Disk 32 MB This is a not an iCreate 32MB drive, but a Kingston DataTraveler Elite 1GB drive. I did some first tests with small files, and it worked OK. I Suddenly, I have so called Kingston DataTraveler 512M at hand. It shows: Bus 002 Device 011: ID 0ea0:2168 Ours Technology, Inc. Transcend JetFlash 2.0 / Astone USB Drive Next time, do not believe in logomarks. Kingston is just a trader. then loaded a ~100MB file from a windows computer on the usb key and went away to travel (It shold be DataTraveler disk, after all). I'm now in China, with no access to this disk :-(. What fdisk -l /dev/sda says when you plug it in? You should get something as: Disk /dev/sda: 521 MB, 521142272 bytes 32 heads, 32 sectors/track, 994 cylinders Units = cylinders of 1024 * 512 = 524288 bytes Device Boot Start End Blocks Id System /dev/sda1 * 1 994 508911+ 6 FAT16 If you see FAT12 on yours, then you have a problem and blame Windows for it, because it formated the disk for you. -- Petr -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] XOrg: Getting xconf.org out of the XServer ?
On 4/17/06, Meino Christian Cramer [EMAIL PROTECTED] wrote: Hi, it seems that X uses some internal xconf file if no is supplied. Is there a way of telling X Hey, dump the configuration to a reuseable file! ? X -configure -Richard -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] No /dev/sda1 with Klingston usb disk. Wrong lsusb output.
Hi Jeff Le lundi 17 avril 2006 à 10:52 -0400, Jeff a écrit : Is the USB key in question formatted with a FAT partition by chance? I think, if it was a format problem, I would see a /dev/sda1 node, but wouldn't be able to mount it. I don't even see that /dev/sda1 , and fdisk has no access to /dev/sda (to reformat the disk) If so, you may need to load the vfat module as root, or, build vfat (Windows FAT32) filesystem support into your kernel, or perhaps, add an entry for the USB key in your /etc/fstab if you already have vfat support. Thanks, but I already have vfat selected in kernel (not as module) and a fstab entry. Furthermore, the same USB disk has worked once before (with small files). If only it was such a stupid mistake ! (I'm used to such user bugs, but this time, I've got the sad feeling I did everything correctly...) Thanks for the help. Sláinte! Merci, Fred -- Princess Leia gets her first look at the Millennium Falcon. Princess Leia: You came in that thing? You're braver than I thought! I don't want my chinese guests to say the same things about my gentoo laptop ! -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] No /dev/sda1 with Klingston usb disk. Wrong lsusb output.
Le lundi 17 avril 2006 à 17:26 +0200, Petr Kocmid a écrit : On Monday 17 April 2006 16:24, Frédéric Grosshans wrote: This is a not an iCreate 32MB drive, but a Kingston DataTraveler Elite 1GB drive. I did some first tests with small files, and it worked OK. I Suddenly, I have so called Kingston DataTraveler 512M at hand. It shows: Bus 002 Device 011: ID 0ea0:2168 Ours Technology, Inc. Transcend JetFlash 2.0 / Astone USB Drive Next time, do not believe in logomarks. Kingston is just a trader. Yes, but I also believed the 1GB. lsusb says 32 MB ! I don't care about the logo mark, but I care about the capacity ! Maybe I should ask for a 97% rebate from teh reseller... then loaded a ~100MB file from a windows computer on the usb key and went away to travel (It shold be DataTraveler disk, after all). I'm now in China, with no access to this disk :-(. What fdisk -l /dev/sda says when you plug it in? You should get something as: [snip] I don't get anything :-( sanduleak ~ # fdisk -l /dev/sda sanduleak ~ # This is (sadly) consistent with the lack of /dev/sda1 device. Thanks anyway, Fred -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] No /dev/sda1 with Klingston usb disk. Wrong lsusb output.
On Monday 17 April 2006 17:49, Frédéric Grosshans wrote: Le lundi 17 avril 2006 à 17:26 +0200, Petr Kocmid a écrit : What fdisk -l /dev/sda says when you plug it in? You should get something as: [snip] I don't get anything :-( sanduleak ~ # fdisk -l /dev/sda sanduleak ~ # This is (sadly) consistent with the lack of /dev/sda1 device. So be it, let's suppose there is something wrong with your udev config. Please: 1. start udevmonitor as root 2. plug the disk in 3. post all reported events here With that, we can distinguish between some kernel driver issue and wrong udev config issue. An example of mine (plug and unplug): udevmonitor prints the received event from the kernel [UEVENT] and the event which udev sends out after rule processing [UDEV] UEVENT[1145286498.800967] add@/devices/pci:00/:00:14.4/:02:0e.2/usb2/2-4/2-4.1 UEVENT[1145286498.801510] add@/devices/pci:00/:00:14.4/:02:0e.2/usb2/2-4/2-4.1/2-4.1:1.0 UEVENT[1145286498.801871] add@/class/scsi_host/host1 UEVENT[1145286498.801903] add@/class/usb_device/usbdev2.11 UDEV [1145286499.117809] add@/devices/pci:00/:00:14.4/:02:0e.2/usb2/2-4/2-4.1 UDEV [1145286500.144200] add@/devices/pci:00/:00:14.4/:02:0e.2/usb2/2-4/2-4.1/2-4.1:1.0 UDEV [1145286500.189516] add@/class/scsi_host/host1 UDEV [1145286500.260429] add@/class/usb_device/usbdev2.11 UEVENT[1145286503.802883] add@/devices/pci:00/:00:14.4/:02:0e.2/usb2/2-4/2-4.1/2-4.1:1.0/host1/target1:0:0/1:0:0:0 UEVENT[1145286505.816923] add@/block/sda UEVENT[1145286505.820912] add@/block/sda/sda1 UEVENT[1145286505.821358] add@/class/scsi_device/1:0:0:0 UDEV [1145286505.948708] add@/devices/pci:00/:00:14.4/:02:0e.2/usb2/2-4/2-4.1/2-4.1:1.0/host1/target1:0:0/1:0:0:0 UDEV [1145286506.029988] add@/class/scsi_device/1:0:0:0 UDEV [1145286506.053558] add@/block/sda UDEV [1145286506.172919] add@/block/sda/sda1 UEVENT[1145287609.215202] remove@/class/scsi_device/1:0:0:0 UEVENT[1145287609.215715] remove@/block/sda/sda1 UEVENT[1145287609.216008] remove@/block/sda UEVENT[1145287609.216298] remove@/devices/pci:00/:00:14.4/:02:0e.2/usb2/2-4/2-4.1/2-4.1:1.0/host1/target1:0:0/1:0:0:0 UEVENT[1145287609.216670] remove@/class/scsi_host/host1 UEVENT[1145287609.216960] remove@/devices/pci:00/:00:14.4/:02:0e.2/usb2/2-4/2-4.1/2-4.1:1.0 UEVENT[1145287609.217293] remove@/class/usb_device/usbdev2.11 UEVENT[1145287609.217586] remove@/devices/pci:00/:00:14.4/:02:0e.2/usb2/2-4/2-4.1 UDEV [1145287609.242609] remove@/class/scsi_device/1:0:0:0 UDEV [1145287609.475791] remove@/block/sda/sda1 UDEV [1145287609.527505] remove@/block/sda UDEV [1145287609.559272] remove@/class/usb_device/usbdev2.11 UDEV [1145287609.708917] remove@/class/scsi_host/host1 UDEV [1145287609.714372] remove@/devices/pci:00/:00:14.4/:02:0e.2/usb2/2-4/2-4.1/2-4.1:1.0/host1/target1:0:0/1:0:0:0 UDEV [1145287609.799645] remove@/devices/pci:00/:00:14.4/:02:0e.2/usb2/2-4/2-4.1/2-4.1:1.0 UDEV [1145287609.86] remove@/devices/pci:00/:00:14.4/:02:0e.2/usb2/2-4/2-4.1 -- Petr -- gentoo-user@gentoo.org mailing list
[gentoo-user] drupal / php
Hi folks, anybody running drupal here? If so, which USE flags did you switch on for PHP? Uwe -- Why do consumers keep buying products they will live to curse? -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] No /dev/sda1 with Klingston usb disk. Wrong lsusb output.
Le lundi 17 avril 2006 à 18:23 +0200, Petr Kocmid a écrit : On Monday 17 April 2006 17:49, Frédéric Grosshans wrote: Le lundi 17 avril 2006 à 17:26 +0200, Petr Kocmid a écrit : This is (sadly) consistent with the lack of /dev/sda1 device. So be it, let's suppose there is something wrong with your udev config. Please: 1. start udevmonitor as root 2. plug the disk in 3. post all reported evsanduleak ~ # udevmonitor sanduleak ~ # udevmonitor; # plug udevmonitor prints the received event from the kernel [UEVENT] and the event which udev sends out after rule processing [UDEV] UEVENT[1145293038.123241] add@/devices/pci:00/:00:1d.1/usb3/3-2 UEVENT[1145293038.124486] add@/devices/pci:00/:00:1d.1/usb3/3-2/3-2:1.0 UEVENT[1145293038.124592] add@/class/scsi_host/host7 UEVENT[1145293038.124602] add@/class/usb_device/usbdev3.15 UDEV [1145293038.205141] add@/devices/pci:00/:00:1d.1/usb3/3-2 UDEV [1145293038.575739] add@/devices/pci:00/:00:1d.1/usb3/3-2/3-2:1.0 UDEV [1145293038.632383] add@/class/usb_device/usbdev3.15 UDEV [1145293038.636109] add@/class/scsi_host/host7 UEVENT[1145293043.128582] add@/devices/pci:00/:00:1d.1/usb3/3-2/3-2:1.0/host7/target7:0:0/7:0:0:0 UEVENT[1145293043.143338] add@/block/sda UEVENT[1145293043.143508] add@/class/scsi_device/7:0:0:0 UDEV [1145293043.334343] add@/devices/pci:00/:00:1d.1/usb3/3-2/3-2:1.0/host7/target7:0:0/7:0:0:0 UDEV [1145293043.350033] add@/class/scsi_device/7:0:0:0 UDEV [1145293043.416756] add@/block/sda sanduleak ~ # udevmonitor ; # unplug udevmonitor prints the received event from the kernel [UEVENT] and the event which udev sends out after rule processing [UDEV] UEVENT[1145293062.291930] remove@/class/scsi_device/7:0:0:0 UEVENT[1145293062.292103] remove@/block/sda UEVENT[1145293062.292114] remove@/devices/pci:00/:00:1d.1/usb3/3-2/3-2:1.0/host7/target7:0:0/7:0:0:0 UEVENT[1145293062.292123] remove@/class/scsi_host/host7 UEVENT[1145293062.292131] remove@/devices/pci:00/:00:1d.1/usb3/3-2/3-2:1.0 UEVENT[1145293062.292140] remove@/class/usb_device/usbdev3.15 UEVENT[1145293062.292148] remove@/devices/pci:00/:00:1d.1/usb3/3-2 UDEV [1145293062.324222] remove@/class/usb_device/usbdev3.15 UDEV [1145293062.381538] remove@/class/scsi_host/host7 UDEV [1145293062.400398] remove@/block/sda UDEV [1145293062.408142] remove@/class/scsi_device/7:0:0:0 UDEV [1145293062.429179] remove@/devices/pci:00/:00:1d.1/usb3/3-2/3-2:1.0/host7/target7:0:0/7:0:0:0 UDEV [1145293062.527577] remove@/devices/pci:00/:00:1d.1/usb3/3-2/3-2:1.0 UDEV [1145293062.552699] remove@/devices/pci:00/:00:1d.1/usb3/3-2 Thanks for the help ! Fred -- gentoo-user@gentoo.org mailing list
Re: Re: [gentoo-user] evms
You are in the same boat I was - I had to translate the wiki to my needs but between that and the EVMS docs and the EVMS mailing list I put the pieces together. The wiki fillied in some missing pieces or stated them in another way that made sense. I went with EVMS mainly to learn about it as this is a home system and I found I liked it so much I'll use it on any work Linux systems that I have. From: John Jolet [EMAIL PROTECTED] Date: 2006/04/17 Mon AM 11:27:57 EDT To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] evms On Apr 17, 2006, at 10:22 AM, [EMAIL PROTECTED] wrote: I used the info on the EVMS site and there is a wiki entry which helped quite a bit. I'm not at home so I don't have the wiki entry but I found it via a search on evms + Gentoo. I like EVMS as it makes managing the disks much easier than trying to all of them separately. I did find that wiki entry, i think. having to translate it into a 3 disk setup, mostly for raid5, but looks pretty good. since i've done software raid/lvm on linux quite a bit, i think i'll go ahead with this box and evms just to be able to compare my experience. -- gentoo-user@gentoo.org mailing list -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Re: xorg-server-1.0.99.901 and ati-drivers error
Sven Köhler wrote: that is the point, i recompiled after xorg-server update, and before too if that matters ;) I see! So perhaps the ATI-driver is only for xorg up to version 7.0? From gentoo-dev Hi all, Just wanted to make you aware that xorg-server 1.1 (and all release candidates, including 1.0.99 and up) breaks the server-driver ABI from 1.0. This means drivers are not compatible following an upgrade of xorg-server, and both sides will require an update to work again properly. This also means that all binary drivers (nvidia, ati, etc) will be broken with xorg-server 1.1 and RC's until their upstream vendor provides a compatible update. Everything with the new ABI is currently masked, but when X.Org 7.1 is released, will come out of package.mask. We are working to ensure the dependencies work as smoothly as possible, but I expect there will be some issues since it's difficult to require updates to all these optional drivers following an update to the server. Thanks, Donnie -- gentoo-user@gentoo.org mailing list
[gentoo-user] kgpg error with gpg-agent
Hi All, I seem to have something wrong with the gpg-agent setup on by box. First of all gpg-agent does not start automatically despite the fact that I have added eval $(gpg-agent --daemon) in my ~/.xsession file. Never mind, I start it by hand from a terminal. Still, when I launch kgpg I get this error: == The use of GnuPG Agent is enabled in GnuPG's configuration file (/home/michael/.gnupg/gpg.conf). However, the agent does not seem to be running. This could result in problems with signing/decryption. Please disable GnuPG Agent from KGpg settings, or fix the agent. == The agent is running as demon according to top: == 12411 michael 16 0 2208 424 264 S 0.0 0.2 0:00.01 gpg-agent --daemon == What gives? How can I fix this problem so that the agent starts automatically with XDM (I am not using KDM, but fluxbox) and when I start kgpg then it recognises that gpg-agent is running? PS. I've posted a couple of messages lately on this topic but can't see them on gmane. Apologies for any duplicates. -- Regards, Mick -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] No /dev/sda1 with Klingston usb disk. Wrong lsusb output.
I noticed similar behavior on the externally connected usb storage devices. On the example of the SD card reader, when you insert the card, /dev/sdb appears, but not the actual partition (/dev/sdb1) So you have to do fdisk /dev/sdb, then quit, then the /dev/sdb1 is magically available for mounting. Think it is an issue with udev. kos -- Respectfully, Konstantin V. Gavrilenko Arhont Ltd - Information Security web:http://www.arhont.com http://www.wi-foo.com e-mail: [EMAIL PROTECTED] tel: +44 (0) 870 44 31337 fax: +44 (0) 117 969 0141 PGP: Key ID - 0xE81824F4 PGP: Server - keyserver.pgp.com Petr Kocmid wrote: On Monday 17 April 2006 17:49, Frédéric Grosshans wrote: Le lundi 17 avril 2006 à 17:26 +0200, Petr Kocmid a écrit : What fdisk -l /dev/sda says when you plug it in? You should get something as: [snip] I don't get anything :-( sanduleak ~ # fdisk -l /dev/sda sanduleak ~ # This is (sadly) consistent with the lack of /dev/sda1 device. So be it, let's suppose there is something wrong with your udev config. Please: 1. start udevmonitor as root 2. plug the disk in 3. post all reported events here With that, we can distinguish between some kernel driver issue and wrong udev config issue. An example of mine (plug and unplug): udevmonitor prints the received event from the kernel [UEVENT] and the event which udev sends out after rule processing [UDEV] UEVENT[1145286498.800967] add@/devices/pci:00/:00:14.4/:02:0e.2/usb2/2-4/2-4.1 UEVENT[1145286498.801510] add@/devices/pci:00/:00:14.4/:02:0e.2/usb2/2-4/2-4.1/2-4.1:1.0 UEVENT[1145286498.801871] add@/class/scsi_host/host1 UEVENT[1145286498.801903] add@/class/usb_device/usbdev2.11 UDEV [1145286499.117809] add@/devices/pci:00/:00:14.4/:02:0e.2/usb2/2-4/2-4.1 UDEV [1145286500.144200] add@/devices/pci:00/:00:14.4/:02:0e.2/usb2/2-4/2-4.1/2-4.1:1.0 UDEV [1145286500.189516] add@/class/scsi_host/host1 UDEV [1145286500.260429] add@/class/usb_device/usbdev2.11 UEVENT[1145286503.802883] add@/devices/pci:00/:00:14.4/:02:0e.2/usb2/2-4/2-4.1/2-4.1:1.0/host1/target1:0:0/1:0:0:0 UEVENT[1145286505.816923] add@/block/sda UEVENT[1145286505.820912] add@/block/sda/sda1 UEVENT[1145286505.821358] add@/class/scsi_device/1:0:0:0 UDEV [1145286505.948708] add@/devices/pci:00/:00:14.4/:02:0e.2/usb2/2-4/2-4.1/2-4.1:1.0/host1/target1:0:0/1:0:0:0 UDEV [1145286506.029988] add@/class/scsi_device/1:0:0:0 UDEV [1145286506.053558] add@/block/sda UDEV [1145286506.172919] add@/block/sda/sda1 UEVENT[1145287609.215202] remove@/class/scsi_device/1:0:0:0 UEVENT[1145287609.215715] remove@/block/sda/sda1 UEVENT[1145287609.216008] remove@/block/sda UEVENT[1145287609.216298] remove@/devices/pci:00/:00:14.4/:02:0e.2/usb2/2-4/2-4.1/2-4.1:1.0/host1/target1:0:0/1:0:0:0 UEVENT[1145287609.216670] remove@/class/scsi_host/host1 UEVENT[1145287609.216960] remove@/devices/pci:00/:00:14.4/:02:0e.2/usb2/2-4/2-4.1/2-4.1:1.0 UEVENT[1145287609.217293] remove@/class/usb_device/usbdev2.11 UEVENT[1145287609.217586] remove@/devices/pci:00/:00:14.4/:02:0e.2/usb2/2-4/2-4.1 UDEV [1145287609.242609] remove@/class/scsi_device/1:0:0:0 UDEV [1145287609.475791] remove@/block/sda/sda1 UDEV [1145287609.527505] remove@/block/sda UDEV [1145287609.559272] remove@/class/usb_device/usbdev2.11 UDEV [1145287609.708917] remove@/class/scsi_host/host1 UDEV [1145287609.714372] remove@/devices/pci:00/:00:14.4/:02:0e.2/usb2/2-4/2-4.1/2-4.1:1.0/host1/target1:0:0/1:0:0:0 UDEV [1145287609.799645] remove@/devices/pci:00/:00:14.4/:02:0e.2/usb2/2-4/2-4.1/2-4.1:1.0 UDEV [1145287609.86] remove@/devices/pci:00/:00:14.4/:02:0e.2/usb2/2-4/2-4.1 -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Re: how to setup sun-jdk
On Sunday 16 April 2006 08:51 pm, wu chuanwen wrote: Oh,God!Now i know the problem.My usbdisk is broken.So the file every time i read from it is corrucpted althougth the file i download is OK. Hah! That's really funny! I remeber once I burned out a SD Card since I was using the same addresses over and over (compiling some Java stuff). I figured out that SD Cards aren't invulnerable - the hard way. That was some good data I lost... I'm so sorry that i have such a silly problem Not at all. Trust me, there's not much else that goes on in my life other than programming... I should take up a sport either badmitton or cricket, more likely than not it'll be badmitton. I hear the rule book for cricket is ~2x longer than the Bible (KJV - can't speak for others). Anyways, glad you got it working. Just out of curiosity, what were you working on in Java? pgpJv8rhflHvI.pgp Description: PGP signature
Re: [gentoo-user] No /dev/sda1 with Klingston usb disk. Wrong lsusb output.
Good. According to processed events, there is a raw disk dedected properly but no partition processed. If you still do not see /dev/sda, try to look for your disk at folowing locations: /dev/disk/by-id/usb-*something* and /dev/disk/by-id/usb-*something*-part1 or /dev/disk/by-path/pci-*something*-usb-*something*-scsi-*something* and /dev/disk/by-path/pci-*something*-usb-*something*-scsi-*something*-part1 or /dev/disk/by-uuid/*something* If you can see your disk but do not see the *-part1 there, then no proper filesystem is found, however you can apply fdisk -l on that path of the raw device instead of /dev/sda and you will see what's wrong with your filesystem. But if you can see *-part1 there, you can just mount it instead of /dev/sda1. Beware you see all other disks in that machine as well in those locations. -- Petr -- gentoo-user@gentoo.org mailing list
[gentoo-user] Mozilla and screen flashing red when I get email.
Hi folks, I have recently noticed that when I get new email my screen flashes red, on whatever desktop I am on even if it is not where Mozilla is. I went into prefs and the mail settings thing and can not find a setting to cut off this feature. I did find the one for the new email notification for sound but not the flashy thing. Is this a coincadense or is there something new here. I'm using KDE 3.5.2 and Mozilla 1.7.12. It started with the last KDE upgrade too. It took me a while to figure out what was making it do it. How do I get rid of this?? Thanks Dale :-) Oh, I had to change email addresses, can someone confirm this is being sent text only please?? -- gentoo-user@gentoo.org mailing list
[gentoo-user] Re: No /dev/sda1 with Klingston usb disk. Wrong lsusb output.
Frédéric Grosshans wrote: I've a problem with a recently bought usb disk:there is a /dev/sda node but no /dev/sda1 . When I try to access /dev/sda, I've the following errors : sanduleak ~ # fdisk /dev/sda Unable to open /dev/sda sanduleak ~ # dd if=/dev/sda of=/dev/null dd: opening `/dev/sda': No medium found I think many USB keys have pseudo-partitions, exactly like floppy disks. You should be able to mount /dev/sda directly fdisk /dev/sda will fail or displays a broken partition table. -- Régis -- gentoo-user@gentoo.org mailing list
[gentoo-user] Re: evms
Boyd Stephen Smith Jr. wrote: On Monday 17 April 2006 09:14, John Jolet [EMAIL PROTECTED] wrote about '[gentoo-user] evms': Trying to set up a new server using evms, but the howto on the gentoo site seems very old and incomplete. basically, i've got 3 hot-swappable scsi drives, but no raid controller.. I want to end up with lvm logical volumes on top of a software raid-5. but getting there with evms is presenting me some issues. In your situation, I'd get rid of evms, it's not needed. Use mdadm to create a raid5 volume from your 3 drives, then use the command-line lvm tools to create a pv, vg, and all the lvs you want. I agree. I tried to use evms and I was not very lucky. I am happily running lvm on top of raid with mdadm lvm2. -- Régis -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] kgpg error with gpg-agent
On Monday 17 April 2006 10:26 am, Mick wrote: Hi All, I seem to have something wrong with the gpg-agent setup on by box. First of all gpg-agent does not start automatically despite the fact that I have added eval $(gpg-agent --daemon) in my ~/.xsession file. I'm having a similar problem, though I never got as far as to try and modify .xsession. Never mind, I start it by hand from a terminal. Still, when I launch kgpg I get this error: == The use of GnuPG Agent is enabled in GnuPG's configuration file (/home/michael/.gnupg/gpg.conf). However, the agent does not seem to be running. This could result in problems with signing/decryption. Please disable GnuPG Agent from KGpg settings, or fix the agent. == The agent is running as demon according to top: == 12411 michael 16 0 2208 424 264 S 0.0 0.2 0:00.01 gpg-agent --daemon == What gives? How can I fix this problem so that the agent starts automatically with XDM (I am not using KDM, but fluxbox) and when I start kgpg then it recognises that gpg-agent is running? Same here. Help would be nice. pgpteRd4AzsEi.pgp Description: PGP signature
Re: [gentoo-user] kgpg error with gpg-agent
On Monday 17 April 2006 18:26, Mick wrote: I seem to have something wrong with the gpg-agent setup on by box. First of all gpg-agent does not start automatically despite the fact that I have added eval $(gpg-agent --daemon) in my ~/.xsession file. gimli ~ # egrep -i gpg.agent /usr/kde/3.5/{env,shutdown}/* /usr/kde/3.5/env/agent-startup.sh:# Uncomment the following lines to start gpg-agent /usr/kde/3.5/env/agent-startup.sh:if [ -x /usr/bin/gpg-agent ]; then /usr/kde/3.5/env/agent-startup.sh: eval $(/usr/bin/gpg-agent --daemon) /usr/kde/3.5/shutdown/agent-shutdown.sh:if [ -n ${GPG_AGENT_INFO} ]; then /usr/kde/3.5/shutdown/agent-shutdown.sh: kill $(echo ${GPG_AGENT_INFO} | cut -d':' -f 2) /dev/null 21 -- Mike Williams -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Re: No /dev/sda1 with Klingston usb disk. Wrong lsusb output.
Le lundi 17 avril 2006 à 20:53 +0200, Regis Decamps a écrit : You should be able to mount /dev/sda directly fdisk /dev/sda will fail or displays a broken partition table. I think, /dev/sda1 has worked before anyway, mount /dev/sda /mnt/usbdisk/ fails with the following error message : mount: No medium found :-( Thanks for the help ! Fred -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] No /dev/sda1 with Klingston usb disk. Wrong lsusb output.
Le lundi 17 avril 2006 à 18:51 +0100, Konstantin V. Gavrilenko a écrit : On the example of the SD card reader, when you insert the card, /dev/sdb appears, but not the actual partition (/dev/sdb1) So you have to do fdisk /dev/sdb, then quit, then the /dev/sdb1 is magically available for mounting. I had this problem before, but it's not the case today :-( fdisk has no access to the /dev/sda device. Think it is an issue with udev. No, it's a problem with your kernel. You need to check the option File systems --- Partition Types --- [*] PC BIOS (MSDOS partition tables) support in make menuconfig and you won't need to fdisk to make /dev/sdb1 appear. Fred -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] No /dev/sda1 with Klingston usb disk. Wrong lsusb output.
Le lundi 17 avril 2006 à 20:22 +0200, Petr Kocmid a écrit : Good. According to processed events, there is a raw disk dedected properly but no partition processed. If you still do not see /dev/sda, try to look for your disk at folowing locations: /dev/disk/by-id/usb-*something* and /dev/disk/by-id/usb-*something*-part1 or /dev/disk/by-path/pci-*something*-usb-*something*-scsi-*something* and /dev/disk/by-path/pci-*something*-usb-*something*-scsi-*something*-part1 or /dev/disk/by-uuid/*something* OK. I have sanduleak ~ # find /dev/disk/ -iname '*usb*' /dev/disk/by-path/usb-0x1043-0x8006:0:0:0 /dev/disk/by-id/usb-Generic_USB_Flash_Drive and sanduleak ~ # ls -l /dev/disk/by-uuid/ total 0 lrwxrwxrwx 1 root root 10 Apr 17 16:53 5f474b72-e854-41ea-974c-71423b8b4592 - ../../hda2 lrwxrwxrwx 1 root root 10 Apr 17 16:53 7cedf5ad-9371-4702-a4e3-953287a66b7b - ../../hda1 lrwxrwxrwx 1 root root 10 Apr 17 16:53 b19ce0cf-9e38-44d4-ae9d-5538533ee801 - ../../hda3 lrwxrwxrwx 1 root root 10 Apr 17 16:53 b439c553-6e54-4cba-93ae-1346c38e2d07 - ../../hda5 which tells me that nothing in /dev/disk/by-uuid/ is related to the usbdisk. If you can see your disk but do not see the *-part1 there, then no proper filesystem is found, however you can apply fdisk -l on that path of the raw device instead of /dev/sda and you will see what's wrong with your filesystem. sanduleak ~ # fdisk -l /dev/disk/by-path/usb-0x1043-0x8006:0:0:0 sanduleak ~ # fdisk -l /dev/disk/by-id/usb-Generic_USB_Flash_Drive both do not give any output, like fdisk -l /dev/sda :-( So I sadly do not see what's wrong, since I do not have any output... Thanks anyway : even if it doesn't solve my problem, you teach me things about Linux :-) Any other idea ? Fred -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] DCOP call to minimize all windows?
Regis Decamps wrote: Can you simply tell me what DCOP call to do; I can't find something appropriate, even with the help of kdcop. dcop kicker kicker toggleShowDesktop -- Norberto Bensa Cel: 5654-9539 Ciudad de Buenos Aires, Argentina pgpaBX33akKvh.pgp Description: PGP signature
Re: [gentoo-user] No /dev/sda1 with Klingston usb disk. Wrong lsusb output.
On 4/17/06, Frédéric Grosshans [EMAIL PROTECTED] wrote: When I plug it, tje following entries are added to dmesg : usb 3-2: new full speed USB device using uhci_hcd and address 6 scsi2 : SCSI emulation for USB Mass Storage devices usb-storage: device found at 6 usb-storage: waiting for device to settle before scanning Vendor: Generic Model: USB Flash Drive Rev: 1.04 Type: Direct-Access ANSI SCSI revision: 02 sd 2:0:0:0: Attached scsi removable disk sda usb-storage: device scan complete The strangest part is the lsusb output (verbose output at the end of the mail): sanduleak ~ # lsusb -s6 Bus 003 Device 006: ID 1043:8006 iCreate Technologies Corp. Flash Disk 32 MB This is a not an iCreate 32MB drive, but a Kingston DataTraveler Elite This doesn't really matter. It comes from the database at http://www.linux-usb.org/usb.ids However, I think the kernel doesn't fully recognize your device. Your dmesg output seems to be missing size discovery like so: Type: Direct-Access ANSI SCSI revision: 02 SCSI device sdb: 2047488 512-byte hdwr sectors (1048 MB) sdb: Write Protect is off Also, from your lsusb output: iManufacturer 0 iProduct0 When I compare to what I get with my flash drive: idVendor 0x0ea0 Ours Technology, Inc. idProduct 0x2168 Transcend JetFlash 2.0 / Astone USB Drive bcdDevice2.00 iManufacturer 1 USB iProduct2 Flash Disk Those strings for iManufacturer and iProduct seem to come from the sysfs entries: carcharias 1-3 # (cd /sys/devices/pci\:00/\:00\:1d.7/usb1/1-3 ; cat manufacturer product; ) USB Flash Disk Which in turn come from the table in /usr/src/linux/drivers/usb/storage/unusual_devs.h. Maybe you can try adding an entry for your device to that table? Something like: UNUSUAL_DEV( 0x1043, 0x8006, 0x0110, 0x0110, USB, Flash Disk, US_SC_DEVICE, US_PR_DEVICE, NULL, US_FL_IGNORE_RESIDUE ), HTH, -Richard -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] No /dev/sda1 with Klingston usb disk. Wrong lsusb output.
Le lundi 17 avril 2006 à 22:24 +0800, Frédéric Grosshans a écrit : I've a problem with a recently bought usb disk:there is a /dev/sda node but no /dev/sda1 . When I try to access /dev/sda, I've the following errors : [...] Thanks for everyone who has helped. To have more information, I configured CONFIG_USB_STORAGE_DEBUG . I have then the following output in dmesg every 2 second when the disk is plugged. I don't like the line I marked with usb-storage: queuecommand called usb-storage: *** thread awakened. usb-storage: Command TEST_UNIT_READY (6 bytes) usb-storage: 00 00 00 00 00 00 usb-storage: Bulk Command S 0x43425355 T 0x136 L 0 F 0 Trg 0 LUN 0 CL 6 usb-storage: usb_stor_bulk_transfer_buf: xfer 31 bytes usb-storage: Status code 0; transferred 31/31 usb-storage: -- transfer complete usb-storage: Bulk command transfer result=0 usb-storage: Attempting to get CSW... usb-storage: usb_stor_bulk_transfer_buf: xfer 13 bytes usb-storage: Status code 0; transferred 13/13 usb-storage: -- transfer complete usb-storage: Bulk status result = 0 usb-storage: Bulk Status S 0x53425355 T 0x136 R 0 Stat 0x1 usb-storage: -- transport indicates command failure usb-storage: Issuing auto-REQUEST_SENSE usb-storage: Bulk Command S 0x43425355 T 0x137 L 18 F 128 Trg 0 LUN 0 CL 6 usb-storage: usb_stor_bulk_transfer_buf: xfer 31 bytes usb-storage: Status code 0; transferred 31/31 usb-storage: -- transfer complete usb-storage: Bulk command transfer result=0 usb-storage: usb_stor_bulk_transfer_buf: xfer 18 bytes usb-storage: Status code 0; transferred 18/18 usb-storage: -- transfer complete usb-storage: Bulk data transfer result 0x0 usb-storage: Attempting to get CSW... usb-storage: usb_stor_bulk_transfer_buf: xfer 13 bytese following usb-storage: Status code 0; transferred 13/13 usb-storage: -- transfer complete usb-storage: Bulk status result = 0 usb-storage: Bulk Status S 0x53425355 T 0x137 R 0 Stat 0x0 usb-storage: -- Result from auto-sense is 0 usb-storage: -- code: 0x70, key: 0x2, ASC: 0x3a, ASCQ: 0x0 usb-storage: (Unknown Key): (unknown ASC/ASCQ) usb-storage: scsi cmd done, result=0x2 usb-storage: *** thread sleeping. And, the following when I unplug it usb 2-2: USB disconnect, address 5 usb-storage: storage_disconnect() called usb-storage: usb_stor_stop_transport called usb-storage: -- usb_stor_release_resources usb-storage: -- sending exit command to thread usb-storage: -- dissociate_dev usb-storage: *** thread awakened. usb-storage: -- exiting I hope this can help -- gentoo-user@gentoo.org mailing list
[gentoo-user] emerge --sync error
I can't emerge --sync after portage-2.1_pre7-r5 installed. The process freezed on receiving file list. I think it's the bug of portage-2.1_pre7-r5, so I downgraded to portage-2.1_pre3-r1. -- Wang ShaoChun(王绍春) [EMAIL PROTECTED] -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] emerge --sync error
[EMAIL PROTECTED] wrote: I can't emerge --sync after portage-2.1_pre7-r5 installed. The process freezed on receiving file list. I think it's the bug of portage-2.1_pre7-r5, so I downgraded to portage-2.1_pre3-r1. I'm using portage-2.1_pre7-r5 but got no such problems. Re emerge portage and recheck it. pgpu34H1PKXM7.pgp Description: PGP signature
Re: [gentoo-user] No /dev/sda1 with Klingston usb disk. Wrong lsusb output.
Le lundi 17 avril 2006 à 20:44 -0700, Richard Fish a écrit : On 4/17/06, Frédéric Grosshans This doesn't really matter. It comes from the database at http://www.linux-usb.org/usb.ids OK. Thanks However, I think the kernel doesn't fully recognize your device. Your dmesg output seems to be missing size discovery like so: Type: Direct-Access ANSI SCSI revision: 02 SCSI device sdb: 2047488 512-byte hdwr sectors (1048 MB) sdb: Write Protect is off Also, from your lsusb output: iManufacturer 0 iProduct0 snip Those strings for iManufacturer and iProduct seem to come from the sysfs entries: carcharias 1-3 # (cd /sys/devices/pci\:00/\:00\:1d.7/usb1/1-3 ; cat manufacturer product; ) USB Flash Disk how do you know the /\:00\:1d.7/usb1/1-3 part of the above path ? Which in turn come from the table in /usr/src/linux/drivers/usb/storage/unusual_devs.h. Maybe you can try adding an entry for your device to that table? Something like: UNUSUAL_DEV( 0x1043, 0x8006, 0x0110, 0x0110, USB, Flash Disk, US_SC_DEVICE, US_PR_DEVICE, NULL, US_FL_IGNORE_RESIDUE ), I'm compiling the kernel with this difference. (Its my first source code modification !) I'll post the result later. Thanks for yout help Fred -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] emerge --sync error
[EMAIL PROTECTED] wrote: I can't emerge --sync after portage-2.1_pre7-r5 installed. The process freezed on receiving file list. snip The receiving file list portion is run by rsync, not by portage. Verify that rsync is working correctly (try rsyncing something non-portage related, for example), and try again. -- gentoo-user@gentoo.org mailing list
[gentoo-user] shell script
In a shellp script, let STRING=a.txt b.txt c.txt And I want to delete a sub-string from $STRING, for example b.txt, and then we got $STRING is a.txt c.txt How to achieve it? -- scwang -- gentoo-user@gentoo.org mailing list
[gentoo-user] Re: shell script
On Tuesday 18 April 2006 07:34, [EMAIL PROTECTED] wrote: In a shellp script, let STRING=a.txt b.txt c.txt And I want to delete a sub-string from $STRING, for example b.txt, and then we got $STRING is a.txt c.txt How to achieve it? http://www.tldp.org/LDP/abs/html/string-manipulation.html ciao Francesco -- Linux Version 2.6.16-gentoo-r2, Compiled #1 PREEMPT Thu Apr 13 07:09:30 CEST 2006 One 2.2GHz AMD Athlon 64 Processor, 2GB RAM, 4416.05 Bogomips Total aemaeth -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] shell script
On Tuesday 18 April 2006 00:34, [EMAIL PROTECTED] wrote: In a shellp script, let STRING=a.txt b.txt c.txt And I want to delete a sub-string from $STRING, for example b.txt, and then we got $STRING is a.txt c.txt How to achieve it? From man bash: ${parameter:-word} Use Default Values. If parameter is unset or null, the expansion of word is substituted. Otherwise, the value of parameter is substituted. So for what you want just do: STRING=a.txt b.txt c.txt ${STRING:-b.txt} There are tons of ways to manipulate parameters and you should reference the man page for more. Look under Parameter Expansion for all the possibilities. -- Zac Slade [EMAIL PROTECTED] ICQ:1415282 YM:krakrjak AIM:ttyp99 -- gentoo-user@gentoo.org mailing list