Re: [gentoo-user] Performance problem at writing big files and Multitasking
Le mardi 06 février 2007 à 22:28 +0100, Daniel Pielmeier a écrit : What I/O scheduler are you using? Did you try to experiment with the deadline or the cfq I/O schedulers? If you have them enabled in your kernel config, read Documentation/block/switching-sched.txt and see if things get better after changing the I/O scheduler for your hard disk. Of course, your problem might be caused by something else altogether. At the moment i use the CFQ-scheduler others are not compiled in the kernel, I will compile one and tell you if this gives any improvements. Did you try to play with ionice to assign priority. It has helped me a lot with io-intensive background taskes. Fred -- gentoo-user@gentoo.org mailing list
[gentoo-user] evince, MIME, and old user together make a strange bug
I've got a strange bug, probably linked with the recent gnome-2.14 upgrade: Whenever I try to open a pdf file with evince (0.5.3 or 0.5.4), I have the following error message: Unhandled MIME type: 'application/x-extension-pdf' However everything workd fine when I do one of the following : * Downgrade shared-mime-info from 0.17-r2 to 0.16 * open a ps file with evince * Log in as a new user, with a clean /home/$user directory The latter really puzzles me. Does anyone have an idea of what I should check in order to clean the things up ? Thanks, Fred -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] direct rendering only works with root???
Le jeudi 06 juillet 2006 à 16:51 -0700, Ow Mun Heng a écrit : On Fri, 2006-07-07 at 01:43 +0200, Frédéric Grosshans wrote: Le lundi 03 juillet 2006 à 09:44 -0400, John J. Foster a écrit : Check your xorg.conf for the following: Section DRI Mode 0666 EndSection but this line is already in my xorg.conf. Furthermore, it only happens in my first session. If I logout and login again (trough gdm), direct rendering works for the normal user ! I've just checked, and I'm not in the video group ! I guess that's the problem, but then, why does it work after logout and login ? Is your udev putting the permissions correctly? This was one of the issues previously. $grep dri /etc/udev/rules.d/50-udev.rules # dri devices KERNEL==card*,NAME=dri/card%n, GROUP=video I have exactly the same line in 50-udev.rules, but I didn't understand wether it meeans that I have this problem or that it has been solved ? -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] direct rendering only works with root???
Le lundi 03 juillet 2006 à 09:44 -0400, John J. Foster a écrit : On Mon, Jul 03, 2006 at 03:17:18PM +0200, Mauro Arnoldi wrote: I installed ati-drivers and partially works correctly: As user nothing works: --- [...] direct rendering: No --- with root: --- [...] direct rendering: Yes --- So now I'm using KDE without the hardware acceleration... Can someone help me fix it? I have a very similar (with an intel i955 card and gnome)... Check your xorg.conf for the following: Section DRI Mode 0666 EndSection but this line is already in my xorg.conf. Furthermore, it only happens in my first session. If I logout and login again (trough gdm), direct rendering works for the normal user ! Has someone any idea to explain this ? Fred -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] a star-map wallpaper?
Le mercredi 14 juin 2006 à 17:30 +0800, 张 韡武 a écrit : Hello. Sorry for my English if there is a more correct way of saying Star map. By Star Map I mean something that shows the position of starts, as well as brightness. The more like photo, the better. I think the keyword to google at is planetarium. I woulsd be interested to hear of your final solution, even if I'm too lazy to do it myself. Fred -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Tomboy - Does it have Alerts?
Le jeudi 01 juin 2006 à 11:37 -0700, Ow Mun Heng a écrit : I just installed tomboy, seems nice. Is there capability to add in Alerts/alarms? Ther is the tomboy-reminder plugin, but I don't know it's current state (ant it's not in portage yet) http://bugs.gentoo.org/show_bug.cgi?id=83060 http://raphael.slinckx.net/tomboy.php Fred -- Ow Mun Heng [EMAIL PROTECTED] -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] ReiserFS extended attributes?
Le lundi 15 mai 2006 à 20:18 +0200, Sascha Lucas a écrit : # lsattr /mnt/reiserfs_mountpoint lsattr: Inappropriate ioctl for device While reading flags on /mnt/reiserfs_mountpoint/a Same problem here. But man lsattr says it's for ext2fs only. However getfattr works well. Hope this helps, Fred -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Best File System For Linux
Le jeudi 04 mai 2006 à 13:49 +0200, Hemmann, Volker Armin a écrit : reiserfs is nice, if you have lots and lots of small files (like me), because it saves a lot of space. However, reiserfs suffers from fragmentation in the long term. A laptop (slow disk) with a single reiserfs partition and a daily updates gentoo becomes slow after two twelve months. At least it's what happened to mine... Fred -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] [OT] CUPS stopped printing
Le jeudi 04 mai 2006 à 17:42 +0200, Petr Kocmid a écrit : Sometimes, due poor maintnance of low level foomatic driver in portage an updated foomatic driver dies silently and cups daemon thinks everything is finished printed fine, or if one is lucky as you, ends with dead process logged. ... Thanks. I had the same problem, which has been solved by : # echo =net-print/foomatic-db-20050910 /etc/portage/package.mask # emerge -vau foomatic-db # /etc/init.d/cupsd restart I wouldn't have tried without your expalnation . Fred -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] [OT] CUPS stopped printing
Le jeudi 04 mai 2006 à 18:32 +0200, Frédéric Grosshans a écrit : Le jeudi 04 mai 2006 à 17:42 +0200, Petr Kocmid a écrit : Sometimes, due poor maintnance of low level foomatic driver in portage an updated foomatic driver dies silently and cups daemon thinks everything is finished printed fine, or if one is lucky as you, ends with dead process logged. ... Thanks. I had the same problem, which has been solved by : hacky solution In fact, we've been hit by bug 131533 : http://bugs.gentoo.org/show_bug.cgi?id=131533 the correct solution is to re emerge foomatic-filters . This solved the problem for me (hp 1300) Hope this helps, Fred -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Best File System For Linux
Le jeudi 04 mai 2006 à 11:26 -0500, Michael Sullivan a écrit : Is there a way to defragment a rieserfs file system? http://en.wikipedia.org/wiki/ReiserFS#Disadvantages says no, unless full dump and restore i.e. tar everything, clean your disk, and untar it ... Fred -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] No /dev/sda1 with Klingston usb disk. Wrong lsusb output.
Le mercredi 19 avril 2006 à 10:41 +0800, David a écrit : On Tue, Apr 18, 2006 at 10:59:00PM +0800, Fr?d?ric Grosshans wrote: I'll try when I'm back home (in may) If you are in Beijing, it is easy to do the test using an external usb hub with it's own power supply for free. Because Beijing has the biggest computer market in north of China! Simply, you go to one of the sereral big computer stores on the Zhong Guan Cun street, the street is near Beijing University, and ask for a free test with the usb hub. If it works, you can buy it with 10 or 15 dollars or cheaper! You'd better ask your host to come with you for bargain! Thanks for the suggestion. I keep that address for the time I come in Beijing. But I'm in Shanghaï :-( By the way, I'm in Beijing now, if you are in Beijing too, you can call me for more help.:-( Thanks a lot. I keep receiving proofs of chinese hospitality every day since I'm here, but I didn't expect to receive one through this mailing list :-) Cheers, Frederic -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] No /dev/sda1 with Klingston usb disk. Wrong lsusb output.
Le mardi 18 avril 2006 à 13:20 +0800, Frédéric Grosshans a écrit : L 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. no visible difference :-( Fred -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] No /dev/uba1 with Klingston usb disk.
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 . I've just tried the ub driver, and it's the same problem (/dev/uba node but no /dev/uba1), with the following dmesg output. usb 2-2: new full speed USB device using uhci_hcd and address 4 ub(2.4): GetMaxLUN returned 0, using 1 LUNs usbcore: registered new driver ub Maybe my disk doesn't work. I have to find a windows box somewhere to give it a try... Fred -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] No /dev/sda1 with Klingston usb disk. Wrong lsusb output.
Le mardi 18 avril 2006 à 09:12 +0200, Petr Kocmid a écrit : On Tuesday 18 April 2006 05:04, Frédéric Grosshans wrote: Any other idea ? Never give up. That seems to be your moto :-) Try hexdump on the device above: hexdump -C /dev/disk/by-id/usb-Generic_USB_Flash_Drive I'm currently with the ub driver, so I tried sanduleak ~ # hexdump -C /dev/uba hexdump: /dev/uba: No medium found hexdump: /dev/uba: Bad file descriptor I'll try again with the usb-storage driver after a reboot, but I fear I'll have the same problem. Here is an example of mine, having partition table with PT boot code at offset 0 and FAT16 boot sector at offset 4000hex with msdos/windows boot code (it was formatted in W2k). If you don't see any of the like anywhere on the disk, it is possibly encrypted on-chip or broken. There is indeed an encryption feature on this key. I've never used it (I haven't even downloaded the windows-only software allowing to use it). Can it be related to this problem ? You may even see some windows virus on your PT and/or fat boot instead of boot code. If you have no valid partition (since your fdisk fails on it) but able to find your FAT somewhere on the disk, it is possible to reconstruct, but I advise to dd whole disk to file before. I'm not even able to dd the disk... (No medium found) To seek the boot sector of the volume, look for the signature 55 aa hex at end of sector, just like mine are at offsets 01fe-01ff (pt) 41fe-41ff (fat boot). Sector size is 512==200hex. hexdump -C /dev/disk/by-id/usb-USB_512MB_3EA84191EC2E0009 fa 33 c0 8e d0 bc 00 7c 8b f4 50 07 50 1f fb fc |.3.|..P.P...| thanks for all that information. So my next steps are : 1. Switching back to usb-storage 2. Trying to dd the disk 3. That doesn't work, trying to get access to another computer and see if I can do something. By the way, I can afford losing the data on the key. I mainly want to be able to use it. Does that giev you other ideas ? Fred -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] No /dev/sda1 with Klingston usb disk. Wrong lsusb output.
Le mardi 18 avril 2006 à 15:37 +0800, Frédéric Grosshans a écrit : So my next steps are : 1. Switching back to usb-storage 2. Trying to dd the disk 3. That doesn't work, trying to get access to another computer and see if I can do something. Of course, I meant *If* that doesn't work. And i didn't work indeed (no medium found)... Any idea left ? Fred -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] No /dev/sda1 with Klingston usb disk. Wrong lsusb output.
Le mardi 18 avril 2006 à 09:05 +0100, Neil Bothwick a écrit : On Tue, 18 Apr 2006 15:37:54 +0800, Frédéric Grosshans wrote: There is indeed an encryption feature on this key. I've never used it (I haven't even downloaded the windows-only software allowing to use it). Can it be related to this problem ? Possibly. Some USB keys use two partitions for encryption, with the data being held on the second, larger, encrypted partition. This may also be why the device is reported as 32MB. I don't think so : the 32MB is consistent with the database at http://www.linux-usb.org/usb.ids , if not with reality. The problem is wether or not this database has some influence... The first time I saw those 32 MB (a few days ago, when the key worked and was almost empty), df -h told me there was 1006 MB left on the key. Furthermore, the notice implied it should be reformated with a special windows-only tool to use the encryption feature. Have you tried repartitioning the device in Linux, using cfdisk -z (fdisk probably has an option to ignore any existing partition table too). I hadn't, but it gives me the following answer FATAL ERROR: Cannot open disk drive Press any key to exit cfdisk Thanks for helping, Fred -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] No /dev/sda1 with Klingston usb disk.[SOLVED (sort of ...)]
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 . (snip) I finally managed to plug this disk onto a windows machine. Windows sees the disk, but can neither read it nor format it (as far as my Chinese guests could tell me from the error messages) So the disk doesn't work on two different OS, so it is likely out of order (after loading its 5th file !). I hope I can convince my resseller to replace it. By the way, it's a Kingston DataTraveler Elite 1GB. Thanks a lot to all the people who helped, especially Petr, who lost a lot of time. And sorry to have wased your time, Fred -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] No /dev/sda1 with Klingston usb disk. Wrong lsusb output.
Le mardi 18 avril 2006 à 06:25 -0700, Richard Fish a écrit : On 4/18/06, Frédéric Grosshans [EMAIL PROTECTED] wrote: The first time I saw those 32 MB (a few days ago, when the key worked and was almost empty), df -h told me there was 1006 MB left on the key. Wait, it worked before under Linux? I don't think you mentioned that previously. Was this on the same computer? 1. It worked under Linux, in the very same laptop. I wrote 4 small files on it. Then I plugged it on an old windows PC and wrote a big file (~100MB) on it. Then I unplugged it (maybe badly: I'm not sure) 2. And a few days later, I tried to plug it on my linux laptop, with no success. The other possiblity I can think of is that this is a difference between the USB 1.1 vs 2.0 interfaces. My laptop is a thinkpad R51, and http://www.thinkwiki.org/wiki/USB_Port says it has usb 2.O I noticed it is the uhci driver that is interfacing with the device. Does the computer have 2.0 ports, and if so, do you have the EHCI driver enabled? I have it configured as a module, but it doesn't seem to be loaded. Have you tried a different port? Now I have. And my Guest here have also tried 2 ports of a desktop windows computer. Is this plugged in directly, or through a hub? Directly. Fred -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] No /dev/sda1 with Klingston usb disk. Wrong lsusb output.
Le mardi 18 avril 2006 à 11:47 +0200, Petr Kocmid a écrit : On Tuesday 18 April 2006 10:14, Frédéric Grosshans wrote: Any idea left ? So, you definitely have a hardware problem. Digging for the id of your device 1043 8006 reveals a linux kernel mailing list archive thread: http://www.ussg.iu.edu/hypermail/linux/kernel/0410.0/0023.html with the identical problem: the device worked in some computer and not in other. That's a bad news, since the goal of an USB stick ist precisely to move data from one computer to another. reading the complete thread, at http://marc.theaimsgroup.com/?t=10965609274r=1w=2 what is strange, is that the 1043:8006 was precisely the identity of the stick on the working computer. Futhermore, this usb stick has worked on the same computer. I see two possibilities: a slave controller chip incompatibility or insufficient power problem, device wants to sink more current than port actually provides at +5V. Port should provide up to 500mA, while many notebooks are very weak at usb power and do not keep up the standard. To eliminate the first one, you should seek for the computer (or maybe an external usb hub) which will work with that chip. That's currently impractical for me. I may try several computers when I'm back home. To eliminate the power issue on your equipment, you can try to measure consumption at the +5V with some prepared usb cable or even try to feed the device from an external power source. You will need laboratory equipment to do it (A regulated laboratory power supply with current limitation). Ask some electronics engineer. never give up is actually your motto ! I could look for such equipement here (I'm in the physics department of a Chinese university), but I do not feel like it (I already destroyed to much electronic equipment during my PhF thesis !) As a first aid, try an external usb hub with it's own power supply. I'll try when I'm back home (in may) 1G flash chips require a lot of power to operate, and not having enough is consistent with your symptoms of no media. I didn't know. I naively thought the bigger / the better and I don't really need something so big... Could that be that the power consumption of the stick increases with the volume of the files on it ? Which would explain the correctness of the first tests (with small files) and the problem when the key holds a bigger file... By the way, if it's a hardware problem, would it be useful to get the stick replaced by another of the same model ? Or is that a model problem ? Fred -- 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] 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.
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: [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] 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
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] PORTAGE_NICENESS for real
Le mercredi 05 avril 2006 à 11:21 +0930, Iain Buchanan a écrit : On Tue, 2006-04-04 at 20:18 -0500, Roy Wright wrote: It would be nice if there was a nice command for making disk access nice so I could nicely say `nice emerge -uD world` and it wouldn't take a whole lot of disk time away from my nice browsing, music playing, etc... I think /usr/src/linux/Documentation/block/ioprio.txt is your friend. (I'll read it when (if?) I'll have the time, so I can't sum it up for you !) Fred -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] PORTAGE_NICENESS for real
Le mercredi 05 avril 2006 à 12:07 +0200, Frédéric Grosshans a écrit : Le mercredi 05 avril 2006 à 11:21 +0930, Iain Buchanan a écrit : On Tue, 2006-04-04 at 20:18 -0500, Roy Wright wrote: It would be nice if there was a nice command for making disk access nice so I could nicely say `nice emerge -uD world` and it wouldn't take a whole lot of disk time away from my nice browsing, music playing, etc... I think /usr/src/linux/Documentation/block/ioprio.txt is your friend. (I'll read it when (if?) I'll have the time, so I can't sum it up for you !) OK, I've read it. If you configure the CFQ-IOscheduler in your kernel, you can write an ionice tool (source code given) which is like nice, but for the disk. Furthermore, there exist a IOPRIO_CLASS_IDLE priority class which is exactly what we are looking for (no disk access if any other process wants a disk access). Is there a plan to use those IOPRIO classes in Portage ? It could be very useful for laptops (with very slow disks). BTW, is there a plan to use the new SCHED_BATCH scheduling policy introduced in the last (2.6.16) kernel ? (see http://www.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=b0a9499c3dd50d333e2aedb7e894873c58da3785 ) Fred -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] skype experiences: good/bad/etc
Question is, why other guys do not start a real open source project to make a phone application? tou mean like ekiga http://www.ekiga.org ? Fred -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] emerge timezone-data fails?
Le jeudi 23 février 2006 à 16:14 -0500, Ernie Schroder a écrit : !!! ERROR: sys-libs/timezone-data-2006b failed. I had the same problem yesterday, but it seems solved today after an emerge sync. Fred -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] File system full issues
Le jeudi 16 février 2006 à 16:32 +, Neil Bothwick a écrit : On Thu, 16 Feb 2006 07:50:01 -0800, Mark Knecht wrote: I found xdiskusage to be a very practical tool to findout where space is wasted on a disk. [...] Filelight is another useful program here... and with more eye-candy :) Stupid question : Is there a gnome equivalent ? (I like candy !) Obvious answer : apparently not easily found with Google. But I just ask to be proven wrong... Fred -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] File system full issues
Le vendredi 17 février 2006 à 16:07 +, Neil Bothwick wrote, using Sylpheed-Claws 2.0.0 (GTK+ 2.8.12; x86_64-pc-linux-gnu) So do I, but I don't like GNOME SCNR :) But apparently, you like GTK+ software enough to use it to write this Gnome-bashing answer ;) SCNR ... Fred PS: I know GTK != Gnome. I suppose you use XFCE. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] File system full issues
Le mercredi 15 février 2006 à 04:42 -0800, Mark Knecht a écrit : OK, good info - but what can I remove? Or more important how can I find what's talking up too much space. I know you've already solved that problem, but I think the following might be interesting. I found xdiskusage to be a very practical tool to findout where space is wasted on a disk. It's basically a tool giving a graphical output to du, showing how the space is shared by directory and subdirectories (and files with the -a option). Fred -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] ImageMagick convert utility; latest version has problems
Le vendredi 10 février 2006 à 02:25 -0500, Walter Dnes a écrit : The latest unstable builds complain about not finding libMagick.so.6. More or less random guess : did you revdep-rebuild ? Fred -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Gnome calendar - Start on Sunday instead of Saturday?
Le mercredi 25 janvier 2006 à 09:39 +0100, Holly Bostick a écrit : I'm sorry not to be more precise, but I suspect that I may not have the calendar application you are using. But here is what I found: I guess he speaks of the calendar which appears when you left-click on the clock-applet. 2. in gconf-editor, go to / = apps = evolution = calendar (this of course assumes that evo controls the calendar, which it well might, since I don't have evo or eds installed and I still have this settings tree) = display My evolution calendar starts weeks on monday, and my clock-applet calendar make them start on sunday, so I guess this calendar is not the one controlled by evolution :=( Fred -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Latex spacing problem
Le mardi 04 octobre 2005 à 18:16 -0600, Joseph a écrit : Is there any Tetex/Latex guru on the list? I've tried to copy the formating string from invoice.tex form (that correctly wraps up the description column): [EMAIL PROTECTED]@{}} The kind of column you want ar the X columns of the tabularx kind of table. But to use it, you have to enable the tabularx package. Add \usepackage{tabularx} in your preamble. Google for tabularx for more information. Fred -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] New Kernel
Le jeudi 19 mai 2005 à 13:41 +0200, Yann GARNIER a écrit : Hi everyone, I installed gentoo for the first time a month ago on my laptop no prob at all. The thing is I'd like to be able to boot on a new kernel (actually I use the 2.6.11r5) Each time I emerge --update --deep world I see that a new slot for a new kernel is available, how can I use it ??? Emerge does'nt compile the new kernel. It only download's it. You have to manually configure it and compile it. Official documantation : http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=1chap=7 The same in french: http://www.gentoo.org/doc/fr/handbook/handbook-x86.xml?part=1chap=7 To update a kernel configuration, copy the old .config file into /usr/src/linux and make oldconfig . hope this helps, Frédéric -- Frédéric Grosshans [EMAIL PROTECTED] -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Masked GCC question.
Le lundi 09 mai 2005 à 13:41 -0400, A. R. a écrit : Hello, I am currently using GCC 3.3.5-20050130, but I would like to give GCC 3.4.3.20050110-r2 a try, it is currently masked by keyword ~x86. Is it enough to add gcc to the /etc/portage/package.keywords file and then emerge it? Is there a Gentoo-related guide to this somewhere? To unmask a package, the guide is here : http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=3chap=3 But gcc is probably something special, and I never dared to touch it... Fred -- Frédéric Grosshans [EMAIL PROTECTED] -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Re: System time drift problem
Le mardi 19 avril 2005 à 09:09 +0930, Iain Buchanan a écrit : are you sure this doesn't answer your question? It solved my system clock drift (which was about 30 minutes a day, but hw clock was ok). I know adjtime is used to correct inaccurate hwclocks, but it can get stuffed. post your /etc/adjtime and see what it says... I've already played with it / deleted it and it doesn't seem to change anything. My current /etc/adjtime is 0.00 1113497480 0.00 1113497480 LOCAL and didn't prevent any drift -- Frédéric Grosshans [EMAIL PROTECTED] -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] System time drift problem
Le lundi 18 avril 2005 à 23:21 +0200, Richard Fish a écrit : Frédéric Grosshans wrote: I'll choose the simpler cronjob solution, thanks. Anyway, isn't that a kernel bug ? How sould I report this ? Well, from googling around, it seems that a few seconds per day of drift between the system clock and hardware clock is considered perfectly normal, A few second/day, yes, but I don't think 5 minutes/day should be considered as normal. (that's 1 second every 5 minutes !) Any idea where it could come from ? The cron solution solves the problem, but I do not like the idea of having a system with such an intrinsic drift ! It's the only linux desktop in the lab, and the only computer with such a drift. Not a good point if I want to convert the others to linux ;-( and the adjtimex/hwclock/cron solution is really the only option for synchronizing the two, while NTP is the best solution. Indeed the normal case is for both system and hardware clocks to drift away from the real time. OK You mentioned you were behind a firewall and couldn't use NTP. I am curious, because most networks I have connected to have only disabled NTP access if they provide an internal NTP server. Have you asked the network admins if there is an NTP server available? To be more precise, I'm in a University which has some metrology lab, and yes there are local ntp servers, but I don't seem to be able to access them neither. That's probably because I'm not in any DNS. The solution to change this would probably to be in charge of the DNS of my lab, but : - I'm on a temporary position here - I'm here as a scientist, and I don't really want to become the lab's sysadmin Thanks for the suggestion anyway, Fred -- Frédéric Grosshans [EMAIL PROTECTED] -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] System time drift problem
Le samedi 16 avril 2005 à 08:43 +0200, Dirk Raeder a écrit : Frédéric Grosshans wrote: Le vendredi 15 avril 2005 à 13:51 +0200, Dirk Raeder a écrit : do you have a CPU that can modulate its frequency? I don't think so (it's not a laptop). How do I check that ? In that case, activate HPET (high precision timer) in your kernel. This compensates the time drift caused by up/downclocking [...] For checking your CPU on frequency scaling: If you compiled the necessary functions into your kernel, do 'cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies' If your system reports more than one number, you have a scalable CPU. Otherwise, either recompile your kernel with the options set or look into your CPU specs. The directory /sys/devices/system/cpu/cpu0/cpufreq/ doesn't even exist on my system. So I do not have cpu scaling... Fred -- Frédéric Grosshans [EMAIL PROTECTED] -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Question about kernel-equivalence
Le jeudi 14 avril 2005 à 15:17 -0400, Trey Gruel a écrit : On 4/14/05, Robert G. Hays [EMAIL PROTECTED] wrote: Ok, is: kernel-2.6.11-gentoo-r4 the same as: kernel-2.6.11.4 plus/minus the Gentoo-specific patches? possibly not. the gentoo-sources package has its own revision numbers (the -r* bit). that's not saying that the changes in the vanilla-sources (kernel.org with no extra patches) aren't included, but there's no real association between vanilla 2.6.11.4 and gentoo 2.6.11-r4 aside from the fact that they're both based on the kernel.org 2.6.11 release. looking at the patches included in gentoo-sources-2.6.11-r6 (latest stable gentoo-sources), it includes the patches for 2.6.11.6, but there the numbers aren't guaranteed to match up like that. You can have the patchlist here http://dev.gentoo.org/~dsd/gentoo-sources/release-11.09/patchlist.htm (the equivalence 11.09 - 11-r6 is guven here: http://dev.gentoo.org/~dsd/gentoo-sources/releases.htm ) Fred -- Frédéric Grosshans [EMAIL PROTECTED] -- gentoo-user@gentoo.org mailing list
[gentoo-user] System time drift problem
The sytem time of my computer drifts by roughly 5 min per day, while the hwclock stays at the correct time. Anyone knows how to avoid this ? (My kernel is a 2.6.11-r6 gentoo-sources kernel, if that can help) Fred -- Frédéric Grosshans [EMAIL PROTECTED] -- gentoo-user@gentoo.org mailing list
[gentoo-user] Evolution 2.0.{3,4} crashes with aspell 0.60.3
I had to install aspell-0.60.3 (~x86) to install Tomboy-0.3.1 (~x86), and evolution (2.0.3) stopped working: it crashed whenever I wanted to to write a new mail. Upgrading to 2.0.4 didn't change anything, but downgrading aspell to 0.50.5 made evolution work again. Does anyone knows what's happening? And how I could have spell-checcking back in Tomboy without making evolution crash ? Fred -- Frédéric Grosshans Laboratoire Matériaux et Phénomènes Quantiques UMR 7162, CNRS/Université Denis Diderot - Paris 7 - Case 7021 Couloir 24-25, 1er étage. 2 place Jussieu, 75251 Paris cedex 05 tel : 01 44 27 95 19 / 06 09 24 29 64 fax : 01 44 27 99 50 -- Frédéric Grosshans [EMAIL PROTECTED] -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] what's the use of etcat use?
/gnome-themes-2.10.0 (0) [-P-] [M~] x11-themes/gnome-themes-extras-0.8.0-r1 (0) [-P-] [ ] x11-themes/gnome-themes-extras-0.5 (0) [-P-] [ ] x11-themes/gnome-themes-extras-0.7 (0) [-P-] [M~] x11-themes/gnome-themes-extras-0.8.0 (0) [-P-] [M~] x11-themes/gnome-themes-extras-0.8.1 (0) * overlay tree (/usr/local/bugzilla-portage) The interesting part is difficult to find in equery's output ! Fred -- Frédéric Grosshans [EMAIL PROTECTED] -- gentoo-user@gentoo.org mailing list