[gentoo-user] OT: terminal with horizontal scrollbar
Hi, does anyone of you know about an X-terminal with an horizontal scrollbar? I use to set linewidth in ORACLE's SQL*Plus to something like 1000 or 2000. If I run a select in SQL most of the columns will be lost beyond the right border of the terminal. Well, I could use a ''text'' widget of Tcl/TK and write something like wsqlplus but I hope there is something ready to use for Linux too. Thanks in advance Frank -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] ping!
On Tue, 2006-03-21 at 11:43 -0800, maxim wexler wrote: Hi, Oops, lost the thread turning off dhcp end. Thanks to Neil. Both boxen can ping each other. Now to clear up a few loose ends: Why on the fresh(2.6.15) install does net.eth0 start automatically and the older(2.6.12) have to be started manually? Is this a bug or a feature? I note the abundance of choices in portage/net-ftp. What do I need? I'll just be moving files back and forth. I don't think security is an issue. Is ftp all I need? The 2.6.12(Sempron) will be the main machine, connected to the web via diallup. The 2.6.15(K6) I plan to use as a platform for micro develpt. emerge -pv ftp on the 2.6.12 Calculating dependencies ...done! [ebuild N] net-ftp/ftp-0.17-r3 +ssl 52 kB but the 2.6.15 adds the +ipv6 flag. Neither make.conf mentions it. Does the .15, AMD K6-2, know something I don't? -Maxim __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com Hi, I had issues on various packages after an emerge update too. I think it was a baselayout issue. Seems the new baselayout (dunno from what time on) doesn't handle kernels prior to 2.6.14 correctly. Downgrade your portage and see when all for kernel 2.6.12 starts working again. Just a thought Frank -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] env-update problem
On Sat, 2006-03-04 at 15:19 -0800, Zac Medico wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Franta wrote: Hi, I'm trying to install ORACLE on my box following the HOWTO on gentoo-wiki. After creating this /etc/env.d/99oracle: ORACLE_BASE=/opt/oracle ORACLE_HOME=$ORACLE_BASE/product/10.1.0.3 ORACLE_SID=''MyDB'' It's choking on the '' characters in line 3 above. Apparently that doesn't work with python's shlex module that is used to parse the 99oracle file. For reference, here are the rules (portage uses non-POSIX mode): http://docs.python.org/lib/shlex-parsing-rules.html ORACLE_TERM=xterm ORACLE_OWNER=oracle TNS_ADMIN=$ORACLE_HOME/network/admin NLS_LANG=AMERICAN_AMERICA.WE8ISO8859P1 ORA_NLS10=$ORACLE_HOME/nls/data CLASSPATH=$ORACLE_HOME/jdbc/lib/classes12.zip LD_LIBRARY_PATH=$ORACLE_HOME/lib:$ORACLE_HOME/lib32 DISABLE_HUGETLBFS=1 PATH=$ORACLE_HOME/bin ROOTPATH=$ORACLE_HOME/bin LDPATH=$ORACLE_HOME/lib:$ORACLE_HOME/lib32 ... I get this from env-update: frankies env.d # env-update !!! Invalid token (not =) ORACLE_TERM Traceback (most recent call last): File /usr/sbin/env-update, line 29, in ? portage.env_update(makelinks) File /usr/lib/portage/pym/portage.py, line 561, in env_update myconfig=getconfig(root+etc/env.d/+x) File /usr/lib/portage/pym/portage_util.py, line 257, in getconfig raise e.__class__, str(e)+ in +mycfg Exception: ParseError: Invalid token (not '='): /etc/env.d/99oracle: line 4 in /etc/env.d/99oracle frankies env.d # Hmm, the actual problem is on line 3 but the parser complains about line 4 instead. Zac -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2.1 (GNU/Linux) iD8DBQFECiCS/ejvha5XGaMRApVpAJ9A09K78tGTDKGGeZaGvv3Mw7pykwCfac6X zs5d0MULkX8C3tGlG3b6bzI= =uIg9 -END PGP SIGNATURE- Whoops, I dunno which devil was riding me to let these apastrophes there. Thanks Frank -- gentoo-user@gentoo.org mailing list
[gentoo-user] Weird bash behavior
Hi, from $for AA in [0-9][0-9]; do echo $AA; done I'd await to get: 00 01 02 .. 98 99 but I get: [EMAIL PROTECTED] ~/MyDB $ for AA in [0-9][0-9] ; do echo $AA; done [0-9][0-9] [EMAIL PROTECTED] ~/MyDB $ Is this fixed somehow? Thanks in advance Frank -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Weird bash behavior
On Sun, 2006-03-05 at 17:48 -0500, Willie Wong wrote: On Sun, Mar 05, 2006 at 09:50:36PM +0100, Penguin Lover Alexander Skwar squawked: Franta wrote: [EMAIL PROTECTED] ~/MyDB $ for AA in [0-9][0-9] ; do echo $AA; done [0-9][0-9] [EMAIL PROTECTED] ~/MyDB $ Is this fixed somehow? [0-9][0-9] will do file name globbing, it seems. Do: touch 00 99 It works for globbing as wild cards, but won't work for what he wants (I think.) If you want to expand everything from 00 to 99, you want brace expansion: [05:41 PM]wwong ~ $ echo {0..9}{0..9} 00 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 [05:42 PM]wwong ~ $ echo {0..99} 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 It also works for letters [05:45 PM]wwong ~ $ echo {A..z} A B C D E F G H I J K L M N O P Q R S T U V W X Y Z [ ] ^ _ a b c d e f g h i j k l m n o p q r s t u v w x y z So, what you wanted would be for AA in {0..9}{0..9}; do echo $AA; done What you had (for AA in [0-9][0-9]) would be interpreted by bash as: for AA in {filename that matches the glob [0-9][0-9]} which, if you don't have any files named like that, will be for AA in {null string} and hence the behaviour you saw. W -- I am a nobody Nobody is perfect Therefore, I am perfect. Sortir en Pantoufles: up 113 days, 15:06 Thanks, seems I've worked under Wondies too long ;) Frank -- gentoo-user@gentoo.org mailing list
[gentoo-user] env-update problem
Hi, I'm trying to install ORACLE on my box following the HOWTO on gentoo-wiki. After creating this /etc/env.d/99oracle: ORACLE_BASE=/opt/oracle ORACLE_HOME=$ORACLE_BASE/product/10.1.0.3 ORACLE_SID=''MyDB'' ORACLE_TERM=xterm ORACLE_OWNER=oracle TNS_ADMIN=$ORACLE_HOME/network/admin NLS_LANG=AMERICAN_AMERICA.WE8ISO8859P1 ORA_NLS10=$ORACLE_HOME/nls/data CLASSPATH=$ORACLE_HOME/jdbc/lib/classes12.zip LD_LIBRARY_PATH=$ORACLE_HOME/lib:$ORACLE_HOME/lib32 DISABLE_HUGETLBFS=1 PATH=$ORACLE_HOME/bin ROOTPATH=$ORACLE_HOME/bin LDPATH=$ORACLE_HOME/lib:$ORACLE_HOME/lib32 ... I get this from env-update: frankies env.d # env-update !!! Invalid token (not =) ORACLE_TERM Traceback (most recent call last): File /usr/sbin/env-update, line 29, in ? portage.env_update(makelinks) File /usr/lib/portage/pym/portage.py, line 561, in env_update myconfig=getconfig(root+etc/env.d/+x) File /usr/lib/portage/pym/portage_util.py, line 257, in getconfig raise e.__class__, str(e)+ in +mycfg Exception: ParseError: Invalid token (not '='): /etc/env.d/99oracle: line 4 in /etc/env.d/99oracle frankies env.d # Can someone explain how to fix this? Thanks in advance Frank -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Writing to a 256MB Rom
On Wed, 2006-03-01 at 15:00 -0500, Ryan Holt wrote: Hey, Little bit of an odd question here. But Say I wanted to write to an imbedded 256MB Rom Drive. Specifically, I'd like to install a minimalistic Linux install onto a mini-server that contains only a ROM storage space How could I go about this? IMHO You can't write to that device. ROM is an abbreviation for Read Only Memory ;)) On The other hand... there is a lot of stuff about minimalistic Linux on Ggle out there. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] So O.K.
On Fri, 2006-02-10 at 14:04 -0200, Daniel da Veiga wrote: On 2/4/06, Franta [EMAIL PROTECTED] wrote: As I said. It wont be SicroMoft. I'm still wondering. At this time of writing I reduced the possibilities to Slackware or LFS. I know, I'll need to do some work to get things running but if they are running I know they ARE running. Nobody will upgrade my system to make them stop working and thus make me to explore why and how to fix this. Don't advice me to use Windoooze. I'm a UNIX admin the last 20 years. It would be the horror to become accustomed to this poorly program. Well, program - I don't say this to be an OS. I got a Pentium 100 running for about 6 months now, since that time I did not touch it, its more stable than our proxy server *lol* If you want the bleeding edge, all updates, all the latest versions and changes, you agree that at some point you'll have problems, that's no reason for flamming the distro and if you feel like it, DON'T!! Change the distro, simple as that... C'mon, I am a newbie compared to you. I'm running Linux for about 5 years, Gentoo for about an year, and still, got my udev working after some reading (the docs Philip mentioned)... You should be ashamed of your first post... BTW: I'm a UNIX admin the last 20 years. So don't On Sat, 2006-02-04 at 04:11 -1000, Beau E. Cox wrote: On Saturday 04 February 2006 04:02 am, Franta wrote: Due to the issues I hit (nearly) every time I do an upgrade. I did the upograde today too. There was one on udev. I think devices don't coming up (Sound, USB) could belong to this kind of problems. Well. nothing changes. I've tried it half an hour ago with (a very old) knoppix CD. I have USB disks, I have sound, I have networking ... That said (xcuse me, I HAVE TO say that) Gentoo is far away from a distro for usage. Do not reply to this post - I'll unsubscribe immediatlely after posting and I'll go to have a lok for another distro which won't force me to fdisk for a newly install. Maybe it'll be Slack. Have fun customizing and repairing your systems. I prefer to work with it. Frank So OK. Bye. A little work on your part and you could be enjoying and 'working with' one of the best distros available. Maybe you should pack it in and just install Windoze... -- Aloha = Beau; -- gentoo-user@gentoo.org mailing list -- Daniel da Veiga Computer Operator - RS - Brazil -BEGIN GEEK CODE BLOCK- Version: 3.1 GCM/IT/P/O d-? s:- a? C++$ UBLA++ P+ L++ E--- W+++$ N o+ K- w O M- V- PS PE Y PGP- t+ 5 X+++ R+* tv b+ DI+++ D+ G+ e h+ r+ y++ --END GEEK CODE BLOCK-- Got it. Realizing that I got a new baselayout, that things heavily changed in udev AND things heavily changed in the kernel as of versoon 2.6.13 I decided to upgrade the kernel. I've chosen 2.6.15 and averything works again (after a ``no | make oldconfig''). I'd assume that the newer baselayout(s) aren't compatible with kernels older than 2.6.13 anymore. I'll not explore that. Maybe someone knows that beter than me. Right, RTFM will lead to success in every case but it't annoying to do this again and again and again. Right too, I could leave the comp as it is but if I try to install a new tool (yes I'm still in this phase) I'll have to upgrade anyway. After a month without internet connection I got about 30 packages to upgrade. For now I'll upgrade rather often to hold this number low. -- gentoo-user@gentoo.org mailing list
[gentoo-user] OpenOffice / Evolution display settings
Hi all I got OpenOffice2 installed last week. I use Evolution as my default mail frontend. Openoffice has now display settings for a (nearly) blind person. The icons in the taskbar aren't big. They are huge. I'd like to change some font settings in Evolution too. If I remember right this is done by some Gnome app. I'm not using Gnome but I'm sure there are some gnomers on this list. Can anyone tell me which part of Gnome to install to be able to change the display of the apps menioned above? Thanks in advance Frank -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] [OT] Can bash do comments on files?
On Mon, 2006-02-13 at 08:03 +1000, Alan E. Davis wrote: I remember a little MSDOG shell utility called 4dos. It alllowed me to store comments that would appear alongside the filename. Can anyone point to a way to do this transparently and easily with bash? I don't want to run any extra programs if I can avoid it. I do like dired for emacs, though. Thanks for any ideas. I refer to this list because I can't think where else to look. Alan Davis Hi, the idea is fine. How did DOS show the comments? ``dir /c'' ??? How would you like to see then with bash ``ls --comment'' ??? Hmmm. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] OpenOffice / Evolution display settings
On Mon, 2006-02-13 at 00:17 +0100, Holly Bostick wrote: Franta schreef: Hi all snip Openoffice has now display settings for a (nearly) blind person. The icons in the taskbar aren't big. They are huge. I'd like to change some font settings in Evolution too. . Can anyone tell me which part of Gnome to install to be able to change the display of the Not a part of GNOME, but a loose gtk application: gtk-chtheme (which allows for changing the GTK2 default font, unlike some other similar loose applications). You're probably thinking of control-center (the GNOME Control Center), but that would install most if not all of GNOME, so there's no point in that, when gtk-chtheme will do the job. HTH, Holly Thanks, I'll try that. Regards Frank -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] So O.K. -- help or point!
On Sun, 2006-02-05 at 23:02 -0700, Richard Fish wrote: On 2/5/06, Franta [EMAIL PROTECTED] wrote: frankies ~ # #with stick frankies ~ # frankies ~ # ls /dev/ds* ls: /dev/ds*: No such file or directory Oh, and you typo'd here... -Richard :-D yepp -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Re: So O.K.
On Sat, 2006-02-04 at 19:26 -0500, A. Khattri wrote: On Sat, 4 Feb 2006, Harry Putnam wrote: But a sysadmin of 20 yrs will not have too much trouble getting lined out again. Must be one of thise old school Slowaris or HP-SUX admins... Yes, and AIX, Tru64,SCO and Linux and BSD of course Well, Changing the OS again would be a lot of work. A was a little angry because I've sent all the needed info in my USB/sound threads and nobody seems to know. Golden times of Slackware usage! :( There was some post wondering about how a person with skills like mine could run in trouble replacing a config file. I think the trouple comes from the fact, that I DID NOT repace it. I've reduced the troubles I have to udev right now. Everything works fine if I start the system, create the devices manually and work as usual. ... but that should not be normal behavior, should it? Maybe we should start a new thread/threads to stop the flame. I hope somebody would be interested in this. Regards Frank -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] So O.K. -- help or point!
On Sun, 2006-02-05 at 10:08 -0700, Richard Fish wrote: On 2/5/06, Franta [EMAIL PROTECTED] wrote: All this was here ones again :( I posted this to your other thread, but you either didn't see it or didn't respond. Try cat /proc/sys/kernel/hotplug. In your case, it should say /sbin/udevsend. However, we are _assuming_ that the system is starting udev. You should check the first few lines of the system boot to make sure. You should see messages like: Mounting /dev for udev ... ... Setting /sbin/udevsend as hotplug agent ... -Richard Yes, this is set. I'd assume, if my devices are managed by UDEV than all of them are managed by UDEV. Aren't they? I've had a short look into 50-udev.rules. The only entries for USB are these. # usb devices KERNEL==hiddev*, NAME=usb/%k KERNEL==auer*,NAME=usb/%k KERNEL==legousbtower*,NAME=usb/%k, GROUP=usb KERNEL==dabusb*, NAME=usb/%k BUS==usb, KERNEL==lp[0-9]*, NAME=usb/%k, GROUP=lp Hmmm... -- gentoo-user@gentoo.org mailing list
[gentoo-user] So O.K.
Due to the issues I hit (nearly) every time I do an upgrade. I did the upograde today too. There was one on udev. I think devices don't coming up (Sound, USB) could belong to this kind of problems. Well. nothing changes. I've tried it half an hour ago with (a very old) knoppix CD. I have USB disks, I have sound, I have networking ... That said (xcuse me, I HAVE TO say that) Gentoo is far away from a distro for usage. Do not reply to this post - I'll unsubscribe immediatlely after posting and I'll go to have a lok for another distro which won't force me to fdisk for a newly install. Maybe it'll be Slack. Have fun customizing and repairing your systems. I prefer to work with it. Frank -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] So O.K.
As I said. It wont be SicroMoft. I'm still wondering. At this time of writing I reduced the possibilities to Slackware or LFS. I know, I'll need to do some work to get things running but if they are running I know they ARE running. Nobody will upgrade my system to make them stop working and thus make me to explore why and how to fix this. Don't advice me to use Windoooze. I'm a UNIX admin the last 20 years. It would be the horror to become accustomed to this poorly program. Well, program - I don't say this to be an OS. BTW: I'm a UNIX admin the last 20 years. So don't On Sat, 2006-02-04 at 04:11 -1000, Beau E. Cox wrote: On Saturday 04 February 2006 04:02 am, Franta wrote: Due to the issues I hit (nearly) every time I do an upgrade. I did the upograde today too. There was one on udev. I think devices don't coming up (Sound, USB) could belong to this kind of problems. Well. nothing changes. I've tried it half an hour ago with (a very old) knoppix CD. I have USB disks, I have sound, I have networking ... That said (xcuse me, I HAVE TO say that) Gentoo is far away from a distro for usage. Do not reply to this post - I'll unsubscribe immediatlely after posting and I'll go to have a lok for another distro which won't force me to fdisk for a newly install. Maybe it'll be Slack. Have fun customizing and repairing your systems. I prefer to work with it. Frank So OK. Bye. A little work on your part and you could be enjoying and 'working with' one of the best distros available. Maybe you should pack it in and just install Windoze... -- Aloha = Beau; -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] USB issue
So O.K. I'll probably have to do this from scratch. I've removed my customisations from /etc/udev/rules.d frankies ~ # cd /etc/udev/rules.d/ frankies rules.d # ls -l total 16 -rw-r--r-- 1 root root 346 Jan 23 22:14 05-udev-early.rules -rw-r--r-- 1 root root 11612 Jan 23 22:14 50-udev.rules frankies rules.d # frankies rules.d # # as we see, the emerge happened Jan 23. frankies rules.d # frankies rules.d # # I put in the USB stick frankies rules.d # frankies rules.d # tail -fn20 /var/log/messages Feb 3 21:14:01 frankies su(pam_unix)[4613]: session opened for user root by (uid=1000) Feb 3 21:16:01 frankies usb 2-2: USB disconnect, address 2 Feb 3 21:16:08 frankies usb 2-2: new full speed USB device using ohci_hcd and address 3 Feb 3 21:16:08 frankies usb 2-2: not running at top speed; connect to a high speed hub Feb 3 21:16:08 frankies scsi1 : SCSI emulation for USB Mass Storage devices Feb 3 21:16:08 frankies usb-storage: device found at 3 Feb 3 21:16:08 frankies usb-storage: waiting for device to settle before scanning Feb 3 21:16:13 frankies Vendor: SanDisk Model: Cruzer Micro Rev: 2033 Feb 3 21:16:13 frankies Type: Direct-Access ANSI SCSI revision: 00 Feb 3 21:16:13 frankies SCSI device sda: 1024000 512-byte hdwr sectors (524 MB) Feb 3 21:16:13 frankies sda: Write Protect is off Feb 3 21:16:13 frankies sda: Mode Sense: 02 00 00 00 Feb 3 21:16:13 frankies sda: assuming drive cache: write through Feb 3 21:16:13 frankies SCSI device sda: 1024000 512-byte hdwr sectors (524 MB) Feb 3 21:16:13 frankies sda: Write Protect is off Feb 3 21:16:13 frankies sda: Mode Sense: 02 00 00 00 Feb 3 21:16:13 frankies sda: assuming drive cache: write through Feb 3 21:16:13 frankies sda: sda1 Feb 3 21:16:13 frankies Attached scsi removable disk sda at scsi1, channel 0, id 0, lun 0 Feb 3 21:16:13 frankies usb-storage: device scan complete ^C frankies rules.d # frankies rules.d # ls /dev/sd* ls: /dev/sd*: No such file or directory frankies rules.d # frankies rules.d # uname -r 2.6.12-gentoo-r10 frankies rules.d # ... a hotplug issue? On Wed, 2006-02-01 at 23:25 +0100, Franta wrote: Hi, that's me onesmore. Again the things changed were some emerge -u world. There are no USB disks coming up anymore. Dunno when this issue came up. I have a digital camera which I connected to my PC. It came up as /dev/sdaX and due to my USB settings as /dev/psmart. I have an USB key, which came up as /dev/sdaX and due to my USB settings as /dev/cruiser. I did'nt use any of them for half a year or so. Last week I tried to save some photos to th PC. There are the messages about connecting the USB device in /var/log/messages but no device is coming up. I've tried the same with the USB stick - the same story. Has something changed with coldplug/hotplug? Well, I could save the pictures from the camera or exchange data from the USB stick using Windows. Half a year ago this was possible with Gentoo too. I'd prefer this possibility ;) The only thing I've changed was some update world. THanks for any help Frank -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] USB issue
Xcuse me, forgot this: frankies ~ # lspci | grep USB 00:03.0 USB Controller: Silicon Integrated Systems [SiS] USB 1.0 Controller (rev 0f) 00:03.1 USB Controller: Silicon Integrated Systems [SiS] USB 1.0 Controller (rev 0f) 00:03.3 USB Controller: Silicon Integrated Systems [SiS] USB 2.0 Controller frankies ~ # frankies ~ # #without the stick frankies ~ # frankies ~ # lsusb Bus 003 Device 002: ID 046d:c00c Logitech, Inc. Optical Wheel Mouse Bus 003 Device 001: ID : Bus 002 Device 001: ID : Bus 001 Device 001: ID : frankies ~ # frankies ~ # # with the stick frankies ~ # frankies ~ # lsusb Bus 003 Device 002: ID 046d:c00c Logitech, Inc. Optical Wheel Mouse Bus 003 Device 001: ID : Bus 002 Device 004: ID 0781:7114 SanDisk Corp. Bus 002 Device 001: ID : Bus 001 Device 001: ID : frankies ~ # On Fri, 2006-02-03 at 21:20 +0100, Franta wrote: So O.K. I'll probably have to do this from scratch. I've removed my customisations from /etc/udev/rules.d frankies ~ # cd /etc/udev/rules.d/ frankies rules.d # ls -l total 16 -rw-r--r-- 1 root root 346 Jan 23 22:14 05-udev-early.rules -rw-r--r-- 1 root root 11612 Jan 23 22:14 50-udev.rules frankies rules.d # frankies rules.d # # as we see, the emerge happened Jan 23. frankies rules.d # frankies rules.d # # I put in the USB stick frankies rules.d # frankies rules.d # tail -fn20 /var/log/messages Feb 3 21:14:01 frankies su(pam_unix)[4613]: session opened for user root by (uid=1000) Feb 3 21:16:01 frankies usb 2-2: USB disconnect, address 2 Feb 3 21:16:08 frankies usb 2-2: new full speed USB device using ohci_hcd and address 3 Feb 3 21:16:08 frankies usb 2-2: not running at top speed; connect to a high speed hub Feb 3 21:16:08 frankies scsi1 : SCSI emulation for USB Mass Storage devices Feb 3 21:16:08 frankies usb-storage: device found at 3 Feb 3 21:16:08 frankies usb-storage: waiting for device to settle before scanning Feb 3 21:16:13 frankies Vendor: SanDisk Model: Cruzer Micro Rev: 2033 Feb 3 21:16:13 frankies Type: Direct-Access ANSI SCSI revision: 00 Feb 3 21:16:13 frankies SCSI device sda: 1024000 512-byte hdwr sectors (524 MB) Feb 3 21:16:13 frankies sda: Write Protect is off Feb 3 21:16:13 frankies sda: Mode Sense: 02 00 00 00 Feb 3 21:16:13 frankies sda: assuming drive cache: write through Feb 3 21:16:13 frankies SCSI device sda: 1024000 512-byte hdwr sectors (524 MB) Feb 3 21:16:13 frankies sda: Write Protect is off Feb 3 21:16:13 frankies sda: Mode Sense: 02 00 00 00 Feb 3 21:16:13 frankies sda: assuming drive cache: write through Feb 3 21:16:13 frankies sda: sda1 Feb 3 21:16:13 frankies Attached scsi removable disk sda at scsi1, channel 0, id 0, lun 0 Feb 3 21:16:13 frankies usb-storage: device scan complete ^C frankies rules.d # frankies rules.d # ls /dev/sd* ls: /dev/sd*: No such file or directory frankies rules.d # frankies rules.d # uname -r 2.6.12-gentoo-r10 frankies rules.d # ... a hotplug issue? On Wed, 2006-02-01 at 23:25 +0100, Franta wrote: Hi, that's me onesmore. Again the things changed were some emerge -u world. There are no USB disks coming up anymore. Dunno when this issue came up. I have a digital camera which I connected to my PC. It came up as /dev/sdaX and due to my USB settings as /dev/psmart. I have an USB key, which came up as /dev/sdaX and due to my USB settings as /dev/cruiser. I did'nt use any of them for half a year or so. Last week I tried to save some photos to th PC. There are the messages about connecting the USB device in /var/log/messages but no device is coming up. I've tried the same with the USB stick - the same story. Has something changed with coldplug/hotplug? Well, I could save the pictures from the camera or exchange data from the USB stick using Windows. Half a year ago this was possible with Gentoo too. I'd prefer this possibility ;) The only thing I've changed was some update world. THanks for any help Frank -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] ALSA issue
On Wed, 2006-02-01 at 23:40 +0100, Christoph Eckert wrote: Sound was working - at least mpeg files were with sound. This started with an update world somewhen during november last year. check /etc/modules.d/alsa, that's where your soundcard configuration lives. If it doesn't contain a matching configuration, enter it manually or run alsaconf as root (it's part of alsa-utils). Best regards Well, I ran alsaconf just now. It told me that it cant find neither soundcard 0 nor soundcard 1 during restoring of the mixer levels. That's the same behaviour I get during boot. As I stated in the initial post I had sound. Te only thing changed are some emerge -u. Dunno. I have the great feeling that this is a system for which I'll have to follow discussions, read (changing) documentation and so on for 10 hours to have one hour of work with it. Why the hick things stop working so often? -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] ALSA issue
On Fri, 2006-02-03 at 21:44 +0100, Franta wrote: On Wed, 2006-02-01 at 23:40 +0100, Christoph Eckert wrote: Sound was working - at least mpeg files were with sound. This started with an update world somewhen during november last year. check /etc/modules.d/alsa, that's where your soundcard configuration lives. If it doesn't contain a matching configuration, enter it manually or run alsaconf as root (it's part of alsa-utils). Best regards Well, I ran alsaconf just now. It told me that it cant find neither soundcard 0 nor soundcard 1 during restoring of the mixer levels. That's the same behaviour I get during boot. As I stated in the initial post I had sound. Te only thing changed are some emerge -u. Dunno. I have the great feeling that this is a system for which I'll have to follow discussions, read (changing) documentation and so on for 10 hours to have one hour of work with it. Why the hick things stop working so often? Just now I've realized: there is no device in /dev for the soundcard. So the issues could be in coldplug and in udev too. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] USB issue
Hmmm ... ``man'' thet's what? Can you explain it a bit? ;) I've tried some help pages to get my custom settings working. Well, upgrade means your customizings go to hell. We're o Linux or on Windows? Well, we're on Linux. Windows don't know customizings at all. ;) Maybe I'll start over from scratch over weekend. ... but it's annoying. Best Gentoo rule: NEVER DO ``EMERGE -U WORLD!!'' ? Don't get me wrong but it's a thing happening VERY often. The last upgrade cut me off from the net. I had to ``ifconfig'' ``route'' manually. Thanks god, that the upgrade the day after fixed this. This way we'll never become an accepted (and supported) distro. Just an IMHO Frank On Wed, 2006-02-01 at 16:07 -0700, Richard Fish wrote: On 2/1/06, Richard Fish [EMAIL PROTECTED] wrote: On 2/1/06, Franta [EMAIL PROTECTED] wrote: There have been a _lot_ of changes in udev, and most likely your Oh, forgot to mention...man udev. -Richard -- gentoo-user@gentoo.org mailing list
[gentoo-user] ALSA issue
Hi, I'm back again and immediately have some issues. ALSA stopped working after some emerge -u world. Maybe something has changed with ALSA. While booting I get: Loading ALSA modules ... Loading snd-seq-oss ... [OK] Loading snd-pcm-oss ... [OK] Restoring mixer levels ... /usr/sbin/alsactl: load state:1250: Cannot find soundcard '0' ... Errors while restoring defaults, ignoring ... /usr/sbin/alsactl: load state:1250: Cannot find soundcard '1' ... Errors while restoring defaults, ignoring ... Sound was working - at least mpeg files were with sound. This started with an update world somewhen during november last year. I don't use sound so much but I've started to use ICQ so having it back on Gentoo too mwould be nice. Thanks in advance Frank -- gentoo-user@gentoo.org mailing list
[gentoo-user] USB issue
Hi, that's me onesmore. Again the things changed were some emerge -u world. There are no USB disks coming up anymore. Dunno when this issue came up. I have a digital camera which I connected to my PC. It came up as /dev/sdaX and due to my USB settings as /dev/psmart. I have an USB key, which came up as /dev/sdaX and due to my USB settings as /dev/cruiser. I did'nt use any of them for half a year or so. Last week I tried to save some photos to th PC. There are the messages about connecting the USB device in /var/log/messages but no device is coming up. I've tried the same with the USB stick - the same story. Has something changed with coldplug/hotplug? Well, I could save the pictures from the camera or exchange data from the USB stick using Windows. Half a year ago this was possible with Gentoo too. I'd prefer this possibility ;) The only thing I've changed was some update world. THanks for any help Frank -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] USB issue
Well some details. Here's the syslog for connecting the USB stick: Feb 1 23:36:03 frankies usb 2-2: new full speed USB device using ohci_hcd and address 2 Feb 1 23:36:03 frankies usb 2-2: not running at top speed; connect to a high speed hub Feb 1 23:36:03 frankies scsi0 : SCSI emulation for USB Mass Storage devices Feb 1 23:36:03 frankies usb-storage: device found at 2 Feb 1 23:36:03 frankies usb-storage: waiting for device to settle before scanning Feb 1 23:36:08 frankies Vendor: SanDisk Model: Cruzer Micro Rev: 2033 Feb 1 23:36:08 frankies Type: Direct-Access ANSI SCSI revision: 00 Feb 1 23:36:08 frankies SCSI device sda: 1024000 512-byte hdwr sectors (524 MB) Feb 1 23:36:08 frankies sda: Write Protect is off Feb 1 23:36:08 frankies sda: Mode Sense: 02 00 00 00 Feb 1 23:36:08 frankies sda: assuming drive cache: write through Feb 1 23:36:08 frankies SCSI device sda: 1024000 512-byte hdwr sectors (524 MB) Feb 1 23:36:08 frankies sda: Write Protect is off Feb 1 23:36:08 frankies sda: Mode Sense: 02 00 00 00 Feb 1 23:36:08 frankies sda: assuming drive cache: write through Feb 1 23:36:08 frankies sda: sda1 Feb 1 23:36:08 frankies Attached scsi removable disk sda at scsi0, channel 0, id 0, lun 0 Feb 1 23:36:08 frankies usb-storage: device scan complete Seems the hardware is OK. But ... frankies ~ # ls /dev/sd* ls: /dev/sd*: No such file or directory frankies ~ # On Wed, 2006-02-01 at 23:25 +0100, Franta wrote: Hi, that's me onesmore. Again the things changed were some emerge -u world. There are no USB disks coming up anymore. Dunno when this issue came up. I have a digital camera which I connected to my PC. It came up as /dev/sdaX and due to my USB settings as /dev/psmart. I have an USB key, which came up as /dev/sdaX and due to my USB settings as /dev/cruiser. I did'nt use any of them for half a year or so. Last week I tried to save some photos to th PC. There are the messages about connecting the USB device in /var/log/messages but no device is coming up. I've tried the same with the USB stick - the same story. Has something changed with coldplug/hotplug? Well, I could save the pictures from the camera or exchange data from the USB stick using Windows. Half a year ago this was possible with Gentoo too. I'd prefer this possibility ;) The only thing I've changed was some update world. THanks for any help Frank -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] USB issue
On Wed, 2006-02-01 at 16:06 -0700, Richard Fish wrote: On 2/1/06, Franta [EMAIL PROTECTED] wrote: Hi, that's me onesmore. Again the things changed were some emerge -u world. There are no USB disks coming up anymore. Dunno when this issue came up. I have a digital camera which I connected to my PC. It came up as /dev/sdaX and due to my USB settings as /dev/psmart. I have an USB key, which came up as /dev/sdaX and due to my USB settings as /dev/cruiser. I did'nt use any of them for half a year or so. Last week I tried to save some photos to th PC. There have been a _lot_ of changes in udev, and most likely your /etc/udev/rules.d/10-local.rules needs some work. The most significant is that for vendor/product/etc matches, you now need == instead of just =. Also, all rules are matched, unless you use the last_rule option, although you can use the := syntax for some things to prevent later rules from overriding your settings. Here are my key rules: # usb disk keys BUS==usb, KERNEL==sd[a-z][0-9], SYSFS{product}==Flash Disk, NAME=%k, SYMLINK=usbkey%n BUS==usb, SUBSYSTEM==block, SYSFS{product}==Flash Disk, KERNEL==sd[a-z], NAME=%k, SYMLINK=usbkey -Richard Hmmm, I'll try to remove my custom settings. But just now, at least the /dev/sd[a-z][0-9] should come up, shouldn't it? -- gentoo-user@gentoo.org mailing list