Re: [gentoo-ppc-user] mounting USB flash disk
and the root hubs (ID :) Thanks nick Am Sonntag 11 Dezember 2005 17:07 schrieb [EMAIL PROTECTED]: I am on a powerbook G4 800mhz and it is plugged into the back of the computer (port 2). Does anyone know how to solve this problem? thanks nick First, next time, please start a new thread instead of replying to an existing one. That said, you'll have to provide more information. Can you give us the kernel messages from dmesg related to the USB stick? Are you sure you have USB disk support and generic scsi disk support in your kernel? -Joe -- gentoo-ppc-user@gentoo.org mailing list Sorry about replying instead of starting again. Are there any just-X11 browsers besides links -g that I can use? Whenever I press the back arrow it goes back and deletes the email I was writing. Anyway, the only messages in dmesg (I do not know why) are keypress events!?! I used to be informative, but now all it has are keypresses... I have SCSI support, and USB mass storage (with all sub-options) compiled-in. Do I need to add support for SCSI disks, CDROMS, generic devices, etc in order for USB versions of those to work? Thanks, nick -- gentoo-ppc-user@gentoo.org mailing list Hello Nick, You need modules for SCSI device support, SCSI disk support and please enable 'Probe all LUNs on each SCSI device' as it helps with Multi Card Readers. As long as the USB is hotpluggable, you should install hotplug and udev packages. A good idea is to put the USB Disk in and to have look in dmesg and/or /var/log/messages. Normally I the disk should recognized by the kernel and produce at least some messages. (May be a lsusb show if there is something recognized.) Best regards Joerg -- gentoo-ppc-user@gentoo.org mailing list # $Header: /var/cvsroot/gentoo-x86/app-admin/syslog-ng/files/syslog-ng.conf.gentoo,v 1.5 2005/05/12 05:46:10 mr_bones_ Exp $ # # Syslog-ng default configuration file for Gentoo Linux # contributed by Michael Sterrett options { chain_hostnames(off); sync(0); # The default action of syslog-ng 1.6.0 is to log a STATS line # to the file every 10 minutes. That's pretty ugly after a while. # Change it to every 12 hours so you get a nice daily update of # how many messages syslog-ng missed (0). stats(432000); }; source src { unix-stream(/dev/log); internal(); pipe(/proc/kmsg); }; destination messages { file(/var/log/messages); }; # By default messages are logged to tty12... # destination console_all { file(/dev/tty12); }; # ...if you intend to use /dev/console for programs like xconsole # you can comment out the destination line above that references /dev/tty12 # and uncomment the line below. destination console_all { file(/dev/console); }; log { source(src); destination(messages); }; log { source(src); destination(console_all); };
Re: [gentoo-ppc-user] mounting USB flash disk
Sorry, links ate the rest of my message. syslog-ng dies with bad config file hotplug usb: Bad USB agent invocation, no action and dmesg still only shows the keypresses (I got rid of Kernel hacking- debugging). I also added SCSI multi-LUN support, HD support, and general device support. USB mass storage became module (to test in MOL). and I also tried to fix my windowing problems with GNOME, KDE, and XFCE (all installed, all failing) by making radeonfb a module. sorry, nick and the root hubs (ID :) Thanks nick Am Sonntag 11 Dezember 2005 17:07 schrieb [EMAIL PROTECTED]: I am on a powerbook G4 800mhz and it is plugged into the back of the computer (port 2). Does anyone know how to solve this problem? thanks nick First, next time, please start a new thread instead of replying to an existing one. That said, you'll have to provide more information. Can you give us the kernel messages from dmesg related to the USB stick? Are you sure you have USB disk support and generic scsi disk support in your kernel? -Joe -- gentoo-ppc-user@gentoo.org mailing list Sorry about replying instead of starting again. Are there any just-X11 browsers besides links -g that I can use? Whenever I press the back arrow it goes back and deletes the email I was writing. Anyway, the only messages in dmesg (I do not know why) are keypress events!?! I used to be informative, but now all it has are keypresses... I have SCSI support, and USB mass storage (with all sub-options) compiled-in. Do I need to add support for SCSI disks, CDROMS, generic devices, etc in order for USB versions of those to work? Thanks, nick -- gentoo-ppc-user@gentoo.org mailing list Hello Nick, You need modules for SCSI device support, SCSI disk support and please enable 'Probe all LUNs on each SCSI device' as it helps with Multi Card Readers. As long as the USB is hotpluggable, you should install hotplug and udev packages. A good idea is to put the USB Disk in and to have look in dmesg and/or /var/log/messages. Normally I the disk should recognized by the kernel and produce at least some messages. (May be a lsusb show if there is something recognized.) Best regards Joerg -- gentoo-ppc-user@gentoo.org mailing list -- gentoo-ppc-user@gentoo.org mailing list
Re: [gentoo-ppc-user] mounting USB flash disk
This also fails (with same error 'Error initalizing configuration, exiting.'). I am having trouble with dbus/hald/dcop, and those are required for XFCE/GNOME/KDE and metalog. I was thinking that metalog instead of syslog-ng would work, but I guess not... nick Hello Nick, please start syslog-ng -d on a command line, so that you see debug messages. Best reagrds Joerg Am Sonntag 11 Dezember 2005 20:52 schrieb [EMAIL PROTECTED]: Sorry, links ate the rest of my message. syslog-ng dies with bad config file hotplug usb: Bad USB agent invocation, no action and dmesg still only shows the keypresses (I got rid of Kernel hacking- debugging). I also added SCSI multi-LUN support, HD support, and general device support. USB mass storage became module (to test in MOL). and I also tried to fix my windowing problems with GNOME, KDE, and XFCE (all installed, all failing) by making radeonfb a module. sorry, nick and the root hubs (ID :) Thanks nick Am Sonntag 11 Dezember 2005 17:07 schrieb [EMAIL PROTECTED]: I am on a powerbook G4 800mhz and it is plugged into the back of the computer (port 2). Does anyone know how to solve this problem? thanks nick First, next time, please start a new thread instead of replying to an existing one. That said, you'll have to provide more information. Can you give us the kernel messages from dmesg related to the USB stick? Are you sure you have USB disk support and generic scsi disk support in your kernel? -Joe -- gentoo-ppc-user@gentoo.org mailing list Sorry about replying instead of starting again. Are there any just-X11 browsers besides links -g that I can use? Whenever I press the back arrow it goes back and deletes the email I was writing. Anyway, the only messages in dmesg (I do not know why) are keypress events!?! I used to be informative, but now all it has are keypresses... I have SCSI support, and USB mass storage (with all sub-options) compiled-in. Do I need to add support for SCSI disks, CDROMS, generic devices, etc in order for USB versions of those to work? Thanks, nick -- gentoo-ppc-user@gentoo.org mailing list Hello Nick, You need modules for SCSI device support, SCSI disk support and please enable 'Probe all LUNs on each SCSI device' as it helps with Multi Card Readers. As long as the USB is hotpluggable, you should install hotplug and udev packages. A good idea is to put the USB Disk in and to have look in dmesg and/or /var/log/messages. Normally I the disk should recognized by the kernel and produce at least some messages. (May be a lsusb show if there is something recognized.) Best regards Joerg -- gentoo-ppc-user@gentoo.org mailing list -- gentoo-ppc-user@gentoo.org mailing list -- gentoo-ppc-user@gentoo.org mailing list -- gentoo-ppc-user@gentoo.org mailing list
Re: [gentoo-ppc-user] mounting USB flash disk
here is the dmesg output I finally got from booting. Thanks so much, nick Hello Nick, please start syslog-ng -d on a command line, so that you see debug messages. Best reagrds Joerg Am Sonntag 11 Dezember 2005 20:52 schrieb [EMAIL PROTECTED]: Sorry, links ate the rest of my message. syslog-ng dies with bad config file hotplug usb: Bad USB agent invocation, no action and dmesg still only shows the keypresses (I got rid of Kernel hacking- debugging). I also added SCSI multi-LUN support, HD support, and general device support. USB mass storage became module (to test in MOL). and I also tried to fix my windowing problems with GNOME, KDE, and XFCE (all installed, all failing) by making radeonfb a module. sorry, nick and the root hubs (ID :) Thanks nick Am Sonntag 11 Dezember 2005 17:07 schrieb [EMAIL PROTECTED]: I am on a powerbook G4 800mhz and it is plugged into the back of the computer (port 2). Does anyone know how to solve this problem? thanks nick First, next time, please start a new thread instead of replying to an existing one. That said, you'll have to provide more information. Can you give us the kernel messages from dmesg related to the USB stick? Are you sure you have USB disk support and generic scsi disk support in your kernel? -Joe -- gentoo-ppc-user@gentoo.org mailing list Sorry about replying instead of starting again. Are there any just-X11 browsers besides links -g that I can use? Whenever I press the back arrow it goes back and deletes the email I was writing. Anyway, the only messages in dmesg (I do not know why) are keypress events!?! I used to be informative, but now all it has are keypresses... I have SCSI support, and USB mass storage (with all sub-options) compiled-in. Do I need to add support for SCSI disks, CDROMS, generic devices, etc in order for USB versions of those to work? Thanks, nick -- gentoo-ppc-user@gentoo.org mailing list Hello Nick, You need modules for SCSI device support, SCSI disk support and please enable 'Probe all LUNs on each SCSI device' as it helps with Multi Card Readers. As long as the USB is hotpluggable, you should install hotplug and udev packages. A good idea is to put the USB Disk in and to have look in dmesg and/or /var/log/messages. Normally I the disk should recognized by the kernel and produce at least some messages. (May be a lsusb show if there is something recognized.) Best regards Joerg -- gentoo-ppc-user@gentoo.org mailing list -- gentoo-ppc-user@gentoo.org mailing list -- gentoo-ppc-user@gentoo.org mailing list egistered as minor 2 i2c_adapter i2c-2: registered as adapter #2 Found KeyWest i2c on mac-io, 1 channel, stepping: 4 bits tas driver [TAS3004 driver V 0.3]) using i2c address: 0x35 from device-tree i2c-core: driver tas registered. i2c_adapter i2c-2: client [tas Digital Equalizer] registered to adapter registering 2-0035 ohci1394: fw-host0: IntEvent: 00030010 ohci1394: fw-host0: irq_handler: Bus reset requested ohci1394: fw-host0: Cancel request received ohci1394: fw-host0: Got RQPkt interrupt status=0x8409 ohci1394: fw-host0: SelfID interrupt received (phyid 0, root) ohci1394: fw-host0: SelfID packet 0x807f8842 received ieee1394: Including SelfID 0x807f8842 ohci1394: fw-host0: SelfID for this node is 0x807f8842 ohci1394: fw-host0: SelfID complete ohci1394: fw-host0: PhyReqFilter= ieee1394: selfid_complete called with successful SelfID stage ... irm_id: 0xFFC0 node_id: 0xFFC0 ieee1394: NodeMgr: Processing host reset for knodemgrd_0 ohci1394: fw-host0: Single packet rcv'd ohci1394: fw-host0: Got phy packet ctx=0 ... discarded Audio jack unplugged, enabling speakers. chan: 0, addr: 0x35, transfer len: 1, read: 0 using interrupt mode... transfer done, result: 0 chan: 0, addr: 0x35, transfer len: 1, read: 0 using interrupt mode... transfer done, result: 0 chan: 0, addr: 0x35, transfer len: 15, read: 0 using interrupt mode... transfer done, result: 0 chan: 0, addr: 0x35, transfer len: 15, read: 0 using interrupt mode... transfer done, result: 0 chan: 0, addr: 0x35, transfer len: 15, read: 0 using interrupt mode... transfer done, result: 0 chan: 0, addr: 0x35, transfer len: 15, read: 0 using interrupt mode... transfer done, result: 0 chan: 0, addr: 0x35, transfer len: 15, read: 0 using interrupt mode... transfer done, result: 0 chan: 0, addr: 0x35, transfer len: 15, read: 0 using interrupt mode... transfer done, result: 0 chan: 0, addr: 0x35, transfer len: 15, read: 0 using interrupt mode... transfer done, result: 0 chan: 0, addr: 0x35, transfer len: 15, read: 0 using interrupt mode... transfer done, result: 0 chan: 0, addr: 0x35, transfer len: 15, read: 0 using interrupt mode... transfer done, result: 0 chan: 0, addr: 0x35, transfer len: 15, read: 0 using interrupt mode... transfer done, result: 0 chan: 0, addr: 0x35, transfer len: 15, read: 0 using interrupt
Re: [gentoo-ppc-user] mounting USB flash disk
I finally just unmerged syslog-ng and reemerged it, but it still had the same error. It also failed on both with both /dev/tty12 and /dev/console. syslog-ng -s /etc/syslog-ng/syslog-ng.conf;echo $? returns 0 :-( I ran lsusb -vv and I have attached the output (minus flashdrive serial number) Luckily, cat /proc/sys/kernel/hotplug is correct. Are there any other good loggers? I am currently emerging metalog... thanks for all the help, nick Hello Nick, I checked your syslog-ng.conf. The only difference is logging to /dev/console instead of /dev/tty12. Just give it a try. I suggest to solve the problems in the order as they appear while booting. So first of all you need an working syslog-ng. I installed version 1.6.8-r1 with default syslog-ng.conf. Please try syslog-ng -s /etc/syslog-ng/syslog-ng.conf;echo $? to check your config file. After this please check your hotplug config: cat /proc/sys/kernel/hotplug It should be /sbin/udevsend. To find out what goes wrong you should make an lsusb which is provided by sys-apps/usbutils. Best regards Joerg Am Sonntag 11 Dezember 2005 20:52 schrieb [EMAIL PROTECTED]: Sorry, links ate the rest of my message. syslog-ng dies with bad config file hotplug usb: Bad USB agent invocation, no action and dmesg still only shows the keypresses (I got rid of Kernel hacking- debugging). I also added SCSI multi-LUN support, HD support, and general device support. USB mass storage became module (to test in MOL). and I also tried to fix my windowing problems with GNOME, KDE, and XFCE (all installed, all failing) by making radeonfb a module. sorry, nick and the root hubs (ID :) Thanks nick Am Sonntag 11 Dezember 2005 17:07 schrieb [EMAIL PROTECTED]: I am on a powerbook G4 800mhz and it is plugged into the back of the computer (port 2). Does anyone know how to solve this problem? thanks nick First, next time, please start a new thread instead of replying to an existing one. That said, you'll have to provide more information. Can you give us the kernel messages from dmesg related to the USB stick? Are you sure you have USB disk support and generic scsi disk support in your kernel? -Joe -- gentoo-ppc-user@gentoo.org mailing list Sorry about replying instead of starting again. Are there any just-X11 browsers besides links -g that I can use? Whenever I press the back arrow it goes back and deletes the email I was writing. Anyway, the only messages in dmesg (I do not know why) are keypress events!?! I used to be informative, but now all it has are keypresses... I have SCSI support, and USB mass storage (with all sub-options) compiled-in. Do I need to add support for SCSI disks, CDROMS, generic devices, etc in order for USB versions of those to work? Thanks, nick -- gentoo-ppc-user@gentoo.org mailing list Hello Nick, You need modules for SCSI device support, SCSI disk support and please enable 'Probe all LUNs on each SCSI device' as it helps with Multi Card Readers. As long as the USB is hotpluggable, you should install hotplug and udev packages. A good idea is to put the USB Disk in and to have look in dmesg and/or /var/log/messages. Normally I the disk should recognized by the kernel and produce at least some messages. (May be a lsusb show if there is something recognized.) Best regards Joerg -- gentoo-ppc-user@gentoo.org mailing list -- gentoo-ppc-user@gentoo.org mailing list -- gentoo-ppc-user@gentoo.org mailing list Bus 002 Device 002: ID 0634:3400 Device Descriptor: bLength18 bDescriptorType 1 bcdUSB 0.02 bDeviceClass0 (Defined at Interface level) bDeviceSubClass 0 bDeviceProtocol 0 bMaxPacketSize064 idVendor 0x0634 idProduct 0x3400 bcdDevice1.00 iManufacturer 1 Crucial iProduct2 Gizmo iSerial 3 XXX bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 32 bNumInterfaces 1 bConfigurationValue 1 iConfiguration 0 bmAttributes 0x80 MaxPower 120mA 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 wMaxPacketSize
[gentoo-ppc-user] mounting USB flash disk
I am running Gentoo linux and have had problems mounting USB flash drives. I was wondering if someone could give me steps on how to mount (the device shows up on /proc/bus/usb/devices as Crucial Gizmo, and says: T: Bus: 02 Lev=01 Port=00 Cnt=-1 Dev#= 2 Spd=12 MxCh= 0 D: Ver= 2.00 Cls=00(ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1 Vendor=0634 ProdID=3400 Rev= 0.01 S: Manufacturer=Crucial S: Product=Gizmo S: SerialNumber=XXX C: #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=120mA I: If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage E: Ad=81(i) Atr=02(Bulk) MxPS= 64 Ivl=0ms E: Ad=02(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms from what I know of USB, I think the e: lines are endpoints, and some of the rest is obvious. However, when I try mac-fdisk /dev/sdX(a,b,c,or d), it doesn't find the device. I am on a powerbook G4 800mhz and it is plugged into the back of the computer (port 2). Does anyone know how to solve this problem? thanks nick -- gentoo-ppc-user@gentoo.org mailing list
Re: [gentoo-ppc-user] Problems booting...still
I have attached fstab. It has the paritions configured with root = /dev/dha7 ext3, which is correct. I ran the e2fsck (because it said that is had been over 12000 days since the last test, due to not resetting the clock), and it reported no problems, 1.1% fragmentation. What should I be using instead of devfs? [EMAIL PROTECTED] wrote: OK, I didn't have the devfs loaded into the kernel, so the new version boots past that point. However, the boot stops when it tries to load the root filesystem. You shouldn't use devfs. It's obsolete. Which liveCD / stage are you installing from? Which profile are you using? warning, no fsck.ext3 found. Error: mounting an ext2 partition failed on /dev/hda7 (a little different wording), Bad superblock, etc type cntrl-D to cancel, or enter root passwd to fix: and it is frozen (no keyboard recognised) There is a copy of fsck.ext3 on /sbin/, so I think that it is not in the initrd. Any ideas on how to fix this? Is /dev/hda7 an ext2 partition? Are you sure you have your partition numbering right and that your fstab reflects your partition layout? -Joe -- gentoo-ppc-user@gentoo.org mailing list could this be caused by my PRAM battery being DEAD (is says the year is 1904) thanks, nick Also, I configured in both EXT2 and EXT3 kernel support... # /etc/fstab: static file system information. # $Header: /var/cvsroot/gentoo-src/rc-scripts/etc/fstab,v 1.18.4.1 2005/01/31 23:05:14 vapier Exp $ # # noatime turns off atimes for increased performance (atimes normally aren't # needed; notail increases performance of ReiserFS (at the expense of storage # efficiency). It's safe to drop the noatime options if you want and to # switch between notail / tail freely. # # See the manpage fstab(5) for more information. # fs mountpointtype opts dump/pass # NOTE: If your BOOT partition is ReiserFS, add the notail option to opts. /dev/hda7 / ext3noatime 0 1 /dev/hda6 noneswapsw 0 0 /dev/cdroms/cdrom0 /mnt/cdrom iso9660 noauto,ro 0 0 #/dev/fd0 /mnt/floppy autonoauto 0 0 # NOTE: The next line is critical for boot! proc/proc procdefaults0 0 # glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for # POSIX shared memory (shm_open, shm_unlink). # (tmpfs is a dynamically expandable/shrinkable ramdisk, and will # use almost no memory if not populated with files) shm /dev/shmtmpfs nodev,nosuid,noexec 0 0
[gentoo-ppc-user] Problems booting...still
OK, I didn't have the devfs loaded into the kernel, so the new version boots past that point. However, the boot stops when it tries to load the root filesystem. warning, no fsck.ext3 found. Error: mounting an ext2 partition failed on /dev/hda7 (a little different wording), Bad superblock, etc type cntrl-D to cancel, or enter root passwd to fix: and it is frozen (no keyboard recognised) There is a copy of fsck.ext3 on /sbin/, so I think that it is not in the initrd. Any ideas on how to fix this? nick -- gentoo-ppc-user@gentoo.org mailing list
Re: [gentoo-ppc-user] Boot trouble
I have installed Gentoo linux on an slotloading iMac and it works OK. The one problem is the kernel. I have tried numerous recompiles, and it gives this error: mounting /dev for udev... [oops] mount failed with error: wrong fs type, bad option, bad superblock on udev, or too many mounted filesystems since this is a critical task, startup cannot continue give root password for matienance or Control-D to continue: I used to be able to type Control-D to reboot or password to enter system, but not even that works anymore. I now reboot to CD and chroot into my system to use it. Any ideas? thanks, nick -- gentoo-ppc-user@gentoo.org mailing list
Re: [gentoo-ppc-user] problems with PowerBook G4
Hello, I'm Sik and I want to ask you some questions: I have a PbG4 867MHz 12 (with a nvidia) and I can't have running the airport and MOL. Your TI-Book have a radeon or a nvidia? Because I only can take 8bits of color with MOL and I can see any thing. The second one is about the airport, it's the old one 11Mbps? 1) it is a radeon (mobility?) either 7000 or 9200 (I forget) with 32 MB of VRAM. I got mol to work by reemerging it with the correct USE-flags set, then running molvconfig. MOL works at either 256(8bit) or thousands(16bit) of colors, but not millions. 2)Yes, it is the original airport, not extreme. There is a complicated precedure involving MOL that lets you use an extreme under linux that is detailed on the gentoo forums. nick -- gentoo-ppc-user@gentoo.org mailing list