Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
"no wireless extensions" error
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3, 4, 5, 6, 7, 8, 9, 10  Next  
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
pottzie
Guru
Guru


Joined: 06 Nov 2010
Posts: 314

PostPosted: Tue Nov 16, 2010 5:14 pm    Post subject: Reply with quote

Code:
(chroot) ubuntu / # lsmod
Module                  Size  Used by
binfmt_misc             7984  1
dm_crypt               13381  0
lp                     10201  0
p54usb                 12616  0
p54common              28946  1 p54usb
rt73usb                24308  0
crc_itu_t               1739  1 rt73usb
snd_intel8x0           31307  2
snd_ac97_codec        125227  1 snd_intel8x0
ac97_bus                1474  1 snd_ac97_codec
arc4                    1497  2
snd_pcm                89104  2 snd_intel8x0,snd_ac97_codec
rt2500usb              19651  0
snd_seq_midi            5932  0
snd_rawmidi            22207  1 snd_seq_midi
rt2x00usb              11316  2 rt73usb,rt2500usb
rt2x00lib              31575  3 rt73usb,rt2500usb,rt2x00usb
snd_seq_midi_event      7291  1 snd_seq_midi
snd_seq                57512  2 snd_seq_midi,snd_seq_midi_event
led_class               3393  2 p54common,rt2x00lib
mac80211              266657  4 p54usb,p54common,rt2x00usb,rt2x00lib
snd_timer              23850  2 snd_pcm,snd_seq
ppdev                   6804  0
snd_seq_device          6912  3 snd_seq_midi,snd_rawmidi,snd_seq
snd                    64117  11 snd_intel8x0,snd_ac97_codec,snd_pcm,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
parport_pc             30086  1
cfg80211              170293  3 p54common,rt2x00lib,mac80211
parport                37032  3 lp,ppdev,parport_pc
edac_core              46822  0
soundcore               1240  1 snd
shpchp                 34910  0
edac_mce_amd            9387  0
i2c_nforce2             6155  0
k8temp                  4064  0
snd_page_alloc          8588  2 snd_intel8x0,snd_pcm
joydev                 11363  0
squashfs               27681  1
aufs                  179029  4329
nls_cp437               6375  1
isofs                  34218  1
dm_raid45              75026  0
xor                     4709  1 dm_raid45
btrfs                 506518  0
zlib_deflate           21866  1 btrfs
crc32c                  3007  1
libcrc32c               1268  1 btrfs
nouveau               568848  2
ttm                    68212  1 nouveau
drm_kms_helper         32836  1 nouveau
usbhid                 42062  0
hid                    84678  1 usbhid
drm                   206161  4 nouveau,ttm,drm_kms_helper
i2c_algo_bit            6208  1 nouveau
floppy                 65299  0
forcedeth              55649  0
sata_nv                23770  2
pata_amd               12050  1
ramzswap               11551  0
lzo_compress            2349  1 ramzswap
(chroot) ubuntu / # lsusb -v | wgetpaste

Your paste can be seen here: http://paste.pocoo.org/show/292129/
(chroot) ubuntu / #
(chroot) ubuntu / # lspci -n
00:00.0 0600: 10de:00e1 (rev a1)
00:01.0 0601: 10de:00e0 (rev a2)
00:01.1 0c05: 10de:00e4 (rev a1)
00:02.0 0c03: 10de:00e7 (rev a1)
00:02.1 0c03: 10de:00e7 (rev a1)
00:02.2 0c03: 10de:00e8 (rev a2)
00:05.0 0680: 10de:00df (rev a2)
00:06.0 0401: 10de:00ea (rev a1)
00:08.0 0101: 10de:00e5 (rev a2)
00:09.0 0101: 10de:00ee (rev a2)
00:0a.0 0101: 10de:00e3 (rev a2)
00:0b.0 0604: 10de:00e2 (rev a2)
00:0e.0 0604: 10de:00ed (rev a2)
00:18.0 0600: 1022:1100
00:18.1 0600: 1022:1101
00:18.2 0600: 1022:1102
00:18.3 0600: 1022:1103
01:00.0 0300: 10de:00f2 (rev a2)
(chroot) ubuntu / #
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7651
Location: Goose Creek SC

PostPosted: Tue Nov 16, 2010 6:54 pm    Post subject: Reply with quote

while in chroot:
Code:
wgetpaste -s ca /usr/src/linux/.config
wgetpaste /var/log/dmesg


have you still got emerge problems?
how many rc-update are still failing?
Back to top
View user's profile Send private message
pottzie
Guru
Guru


Joined: 06 Nov 2010
Posts: 314

PostPosted: Tue Nov 16, 2010 8:10 pm    Post subject: Reply with quote

Code:
(chroot) ubuntu / # wgetpaste -s ca /usr/src/linux/.config
Your paste can be seen here: http://pastebin.ca/1993764
(chroot) ubuntu / # wgetpaste /var/log/dmesg
/usr/bin/wgetpaste: /var/log/dmesg No such file found.
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7651
Location: Goose Creek SC

PostPosted: Wed Nov 17, 2010 12:25 am    Post subject: Reply with quote

Code:
sudo su --
mkdir /mnt/gentoo
mount /dev/sda3 /mnt/gentoo
mount /dev/sda3 /mnt/gentoo/boot
mount -o bind /proc /mnt/gentoo/proc
mount -o bind /dev /mnt/gentoo/dev
chroot /mnt/gentoo /bin/env -i TERM=$TERM /bin/bash
env-update
source /etc/profile
export PS1="(chroot) $PS1"
date
#date MMDDHHMMYYYY #if needed
cd /usr/src/linux
make menuconfig

Edit menuconfig to:
Quote:
Library routines --->
{M} CRC-CCITT functions
-*- CRC16 functions
<*> CRC calculation for the T10 Data Integrity Field
-*- CRC ITU-T V.41 functions
-*- CRC32 functions
< > CRC7 functions
< > CRC32c (Castagnoli, et al) Cyclic Redundancy-Check

my ralink driver, according to lsmod is used by module crc-citt, yours is not, your config does not have CONFIG_CRC-CCITT=m
Then:
Code:
make && make modules_install
cp arch/x86/boot/bzImage /boot/kernel-2.6.34-gentoo-r12

We have not specifically addressed the firmware license and the rt73-firmware ebuild may not have handled the problem, so:
Code:
echo "net-wireless/rt73-firmware ralink-firmware" >> /etc/portage/package.license

All about licenses is here
I am a complete license sleaze and have
Quote:
ACCEPT_LICENSE="*"
in /etc/make.conf which accepts anything anytime.
After licensing:
Code:
exit
reboot

try gentoo again
Code:
ifconfig -a
when up. does wlan0 exist??
if not:
Code:
/etc/init.d/net.wlan0 stop
modprobe -r rt73usb
modprobe  rt73usb
/etc/init.d/net.wlan0 restart
dmesg tail > /root/dm.out
reboot

reboot to ubuntu:
Code:
sudo su --
mkdir /mnt/gentoo
mount /dev/sda3 /mnt/gentoo
mount /dev/sda3 /mnt/gentoo/boot
mount -o bind /proc /mnt/gentoo/proc
mount -o bind /dev /mnt/gentoo/dev
chroot /mnt/gentoo /bin/env -i TERM=$TERM /bin/bash
env-update
source /etc/profile
export PS1="(chroot) $PS1"
date
#date MMDDHHMMYYYY #if needed
wgetpaste /root/dm.out
wgetpaste /var/log/dmesg


Last edited by DONAHUE on Thu Nov 18, 2010 12:21 am; edited 1 time in total
Back to top
View user's profile Send private message
pottzie
Guru
Guru


Joined: 06 Nov 2010
Posts: 314

PostPosted: Wed Nov 17, 2010 3:09 am    Post subject: Reply with quote

On reboot, ifconfig -a just shows eth0, lo and sit0. "/etc/init.d/net.wlan0 stop " returns: ERROR: cannot run net.wlan0 stop until sysinit completes net.wlan0 will be started in the boot runlevel
modprobe -r rt73usb returns nothing
modprobe rt73usb returns FATAL: Error inserting rt73usb (/lib/modules/2.6.34-gentoo-r12/kernel/drivers/net/wireless/rt2x00/rt73usb.ko): Unknown symbol in module, or unknown parameter (see dmesg
/etc/init.d/net.wlan0 restart shows: Error: Cannot run wlan0 until sysinit completes
net.wlan0 will be started in the boot runlevel
dmesg tail > /root/dm.out shows: /root/dm.out: read-only file system

reboot is strange. Returns "shutdown: /dev/initctl: No such file or directory
init: /dev/initctl: No such file or directory

Going for reboot, then Ubuntu
Code:
/usr/bin/wgetpaste: /root/dm.out No such file found.
(chroot) ubuntu / # wgetpaste /var/log/dmesg
/usr/bin/wgetpaste: /var/log/dmesg No such file found.
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7651
Location: Goose Creek SC

PostPosted: Wed Nov 17, 2010 6:18 am    Post subject: Reply with quote

it looks a lot like the filesystem is mounted read only or permissions are screwed up in the gentoo system
boot ubuntu mount the gentoo partitions, post the contents of /etc/fstab,
Code:
cat /etc/fstab

Code:
ls -l /mount/gentoo
look for something like drwxr-xr-x 3 root root 3352 Nov 9 20:46 bin
where the rw says read/write and r- says read only
if fstab is ok, when you can boot gentoo, run
Code:
mount
look for something like /dev/sda3 on / type ext3 (rw,noatime,notail)
where the rw says read/write and ro says read only
Code:
ls -l /
look for something like drwxr-xr-x 3 root root 3352 Nov 9 20:46 bin
where the rw says read/write and r- says read only
Back to top
View user's profile Send private message
pottzie
Guru
Guru


Joined: 06 Nov 2010
Posts: 314

PostPosted: Wed Nov 17, 2010 11:01 am    Post subject: Reply with quote

Code:
# <fs>         <mountpoint>      <type>      <opts>         <dump/pass>
/dev/sda3               /                  ext3                 noatime,notail   0 1
/dev/sda2                    none          swap      sw         0 0
/dev/sda1               /boot           ext2      defaults      0 0
shm                /dev/shm           tmpfs        defaults           0 0
#/dev/fd0      /mnt/floppy   auto      noauto      0 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/shm   tmpfs      nodev,nosuid,noexec   0 0
(chroot) ubuntu / #
(chroot) ubuntu / # ls -l /mount/gentoo
ls: cannot access /mount/gentoo: No such file or directory
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7651
Location: Goose Creek SC

PostPosted: Wed Nov 17, 2010 3:15 pm    Post subject: Reply with quote

sorry, I misspelled mount in /mnt/gentoo
if booted in gentoo, need output from mount while gentoo is booted the most
Code:
ls -l / | grep -i sbin
mount | grep -i sda3

or
from ubuntu with gentoo partitions mounted but not in the chroot
Code:
ls -l /mnt/gentoo
from ubuntu with gentoo partitions mounted but not in the chroot
or
booted ubuntu with gentoo partitions mounted and in the chroot
Code:
ls -l /

post results
Back to top
View user's profile Send private message
pottzie
Guru
Guru


Joined: 06 Nov 2010
Posts: 314

PostPosted: Wed Nov 17, 2010 4:25 pm    Post subject: Reply with quote

Showing drwxr-xr-x, I have bin, boot, dev, etc, home, lib32, lib64, mnt, opt, sbin, sys, usr and var.
Kernel shows -rw-r--r--
lib -> lib64 shows lrwxrwxrwx
lost+found shows drwx------
portage shows -rw-r--r--
proc shows dr-xr-xr-x
root shows drwx------
stage3 shows -rw-r--r--
temp is drwxrwxrwt
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7651
Location: Goose Creek SC

PostPosted: Wed Nov 17, 2010 5:00 pm    Post subject: Reply with quote

boot ubuntu
Code:
sudo su --
mkdir /mnt/gentoo
mount /dev/sda3 /mnt/gentoo
nano /mnt/gentoo/etc/fstab
edit fstab to: (removing notail)
Code:

# <fs>          <mountpoint>      <type>      <opts>         <dump/pass>
/dev/sda3      /                          ext3           noatime       0 1
/dev/sda2      one                      swap          sw               0 0
/dev/sda1      /boot                    ext2          defaults        0 0
shm              /dev/shm              tmpfs         defaults        0 0


reboot to gentoo
as a quick check of our ability to write:
Code:
echo "breath" > moose
cat moose
rm moose
Back to top
View user's profile Send private message
pottzie
Guru
Guru


Joined: 06 Nov 2010
Posts: 314

PostPosted: Wed Nov 17, 2010 10:05 pm    Post subject: Reply with quote

That made something happen! Boot went a lot farther, I saw it trying to load wlan0, and logged in as localhost. ifconfig -a still shows just eth0, lo and sit0, with all zeros, but it seems as if the kernel is looking for the wireless. One place the screen paused was waiting for network, or broadcast, or something that seemed as if it was trying to find the network. The "echo/cat/ moose" went fine, showed "breath" and removed it.
Looks like this is getting closer!
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7651
Location: Goose Creek SC

PostPosted: Thu Nov 18, 2010 12:08 am    Post subject: Reply with quote

Yahoo. boy do I feel stupid.
boot gentoo
Code:
nano /etc/portage/packages.license

edit to include
Quote:
net-wireless/rt73-firmware ralink-firmware

Code:
/etc/init.d/net.wlan0 stop
modprobe -r rt73usb
modprobe rt73usb
/etc/init.d/net.wlan0 start
dmesg tail # look for stuff about rt73
ifconfig -a # if wlan0 shows up:
iwlist scan # if wlan0 scans:
ping -c 2 8.8.8.8 # if ping returns
ping -c 2 google.com # if ping returns
emerge --sync # if syncs life is good
Back to top
View user's profile Send private message
pottzie
Guru
Guru


Joined: 06 Nov 2010
Posts: 314

PostPosted: Thu Nov 18, 2010 1:13 am    Post subject: Reply with quote

nano /etc/portage/packages.license was a blank file. I entered the ralink info anyway and exited, but I'm wondering if that's what I wanted. I'm used to seeing something besides a blank screen, as that generally means I'm in deep doo-doo.

modprobe -r rt73usb just returned a new line and a flashing cursor.
modprobe rt73usb returned: Fatal Error inserting rt73usb )/lib/modules/2.6.34-gentoo-r12/kernel/drivers/net/wireless/rt2x00/rt73usb.ko)


Last edited by pottzie on Thu Nov 18, 2010 1:19 am; edited 1 time in total
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7651
Location: Goose Creek SC

PostPosted: Thu Nov 18, 2010 1:19 am    Post subject: Reply with quote

all is good as long as no longer blank but net-wireless/rt73-firmware ralink-firmware instead :)
Back to top
View user's profile Send private message
pottzie
Guru
Guru


Joined: 06 Nov 2010
Posts: 314

PostPosted: Thu Nov 18, 2010 1:26 am    Post subject: Reply with quote

ifconfig -a still shows just eth0, lo and sit0, but lo now shows internet address info. All zeros as far as packets go.
The rt73 did show up as dmesg tail ran.
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7651
Location: Goose Creek SC

PostPosted: Thu Nov 18, 2010 1:47 am    Post subject: Reply with quote

unless you can identify the error in dmesg:
Code:
modprobe rt73usb
dmesg tail > /root/dm.out

reboot to cd
Code:
sudo su --
mkdir /mnt/gentoo
mount /dev/sda3 /mnt/gentoo
wgetpaste /mnt/gentoo/var/log/dmesg
wgetpaste /mnt/gentoo/root/dm.out
post url's
Back to top
View user's profile Send private message
pottzie
Guru
Guru


Joined: 06 Nov 2010
Posts: 314

PostPosted: Thu Nov 18, 2010 2:30 am    Post subject: Reply with quote

Didn't work. Maybe I need to be in chroot?
Code:
ubuntu@ubuntu:~$ sudo su --
root@ubuntu:/home/ubuntu# mkdir /mnt/gentoo
root@ubuntu:/home/ubuntu# mount /dev/sda3 /mnt/gentoo
root@ubuntu:/home/ubuntu# wgetpaste /mnt/gentoo/var/log/dmesg
wgetpaste: command not found
root@ubuntu:/home/ubuntu# wgetpaste /mnt/gentoo/root/dm.out
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7651
Location: Goose Creek SC

PostPosted: Thu Nov 18, 2010 4:44 am    Post subject: Reply with quote

sorry ubuntu does not have wgetpaste

browse to http://www.pastebin.ca and upload /mnt/gentoo/root/dm.out
browse to http://www.pastebin.ca and upload /mnt/gentoo/var/log/dmesg
post url's

while in ubuntu: ls -l /mnt/gentoo/lib/modules/2.6.34-gentoo-r12/kernel/drivers/net/wireless/rt2x00/rt73usb.ko
while in chroot or booted to gentoo: ls -l /lib/modules/2.6.34-gentoo-r12/kernel/drivers/net/wireless/rt2x00/rt73usb.ko
if it returns /lib/modules/2.6.34-gentoo-r12/kernel/drivers/net/wireless/rt2x00/rt73usb.ko we know we have the file we told modprobe to use,
Back to top
View user's profile Send private message
pottzie
Guru
Guru


Joined: 06 Nov 2010
Posts: 314

PostPosted: Thu Nov 18, 2010 4:32 pm    Post subject: Reply with quote

As chroot: ("permission denied" when logged in as root)

Code:
ubuntu / #  /mnt/gentoo/root/dm.out
bash: /mnt/gentoo/root/dm.out: No such file or directory
ubuntu / #  /mnt/gentoo/var/log/dmesg
bash: /mnt/gentoo/var/log/dmesg: No such file or directory

Code:
ubuntu / # ls -l /lib/modules/2.6.34-gentoo-r12/kernel/drivers/net/wireless/rt2x00/rt73usb.ko
-rw-r--r-- 1 root root 35860 Nov 16 21:36 /lib/modules/2.6.34-gentoo-r12/kernel/drivers/net/wireless/rt2x00/rt73usb.ko

Code:
root@ubuntu:/home/ubuntu# ls -l /mnt/gentoo/lib/modules/2.6.34-gentoo-r12/kernel/drivers/net/wireless/rt2x00/rt73usb.ko
-rw-r--r-- 1 root root 35860 2010-11-17 02:36 /mnt/gentoo/lib/modules/2.6.34-gentoo-r12/kernel/drivers/net/wireless/rt2x00/rt73usb.ko
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7651
Location: Goose Creek SC

PostPosted: Thu Nov 18, 2010 5:03 pm    Post subject: Reply with quote

boot ubuntu
Code:
sudo su --
mkdir /mnt/gentoo
mount /dev/sda3 /mnt/gentoo

start firefox
browse to: http://www.pastebin.ca/upload.php
under Upload File click choose file and run the file chooser dialog box to upload /mnt/gentoo/root/dm.out
under Upload File click choose file and run the file chooser dialog box to upload /mnt/gentoo/var/log/dmesg

also let us check firmare locations ubuntu vs gentoo
Code:
find /lib/firmware -name rt73.bin #ubuntu
find /mnt/gentoo/lib/firmware -name rt73.bin # gentoo



Quote:
As chroot: ("permission denied" when logged in as root)
The chroot procedure should not involve a login, You ran whoami to verify your username?
Back to top
View user's profile Send private message
pottzie
Guru
Guru


Joined: 06 Nov 2010
Posts: 314

PostPosted: Thu Nov 18, 2010 9:16 pm    Post subject: Reply with quote

The pastebin tries to find files in Ubuntu. When I try to "browse," it opens up the Ubuntu home directory, and waits for me to choose from Downloads, Documents, Music, Pictures, etc. I couldn't find a way to enter anything in the "find file to upload" box.
Code:
ubuntu@ubuntu:~$ find /lib/firmware -name rt73.bin #ubuntu
/lib/firmware/rt73.bin
ubuntu@ubuntu:~$ find /mnt/gentoo/lib/firmware -name rt73.bin # gentoo
/mnt/gentoo/lib/firmware/rt73.bin

The "permission denied" bit came when I tried this:
Code:
mount: /dev/sda3 already mounted or /mnt/gentoo busy
mount: according to mtab, /dev/sda3 is already mounted on /mnt/gentoo
root@ubuntu:/home/ubuntu# /mnt/gentoo/var/log/dmesg
bash: /mnt/gentoo/var/log/dmesg: Permission denied
root@ubuntu:/home/ubuntu# /mnt/gentoo/root/dm.out
bash: /mnt/gentoo/root/dm.out: Permission denied
root@ubuntu:/home/ubuntu# whoami
root
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7651
Location: Goose Creek SC

PostPosted: Thu Nov 18, 2010 10:09 pm    Post subject: Reply with quote

forget the browse box (file system in column to the left of where you mention will get you into the filesystem)

instead at bottom of page type directly /mnt/gentoo/var/log/dmesg into the box under the line ending "You can use the form below to upload directly to Filebin.ca."
Back to top
View user's profile Send private message
pottzie
Guru
Guru


Joined: 06 Nov 2010
Posts: 314

PostPosted: Thu Nov 18, 2010 10:19 pm    Post subject: Reply with quote

Nope. I try to type anything into the "file to upload" box, and it hammers me with the Ubuntu Home Directory. I can click on the "x" to kill that, but when I go back to Pastebin and retry to enter the info, the Home Direcory pops up again. Can't kill it with a sledge hammer.

Tried to get wgetpaste from Ubuntu, but Synaptic doesn't show it. May be because of the live cd, I'll try doing it from another computer.
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7651
Location: Goose Creek SC

PostPosted: Thu Nov 18, 2010 10:45 pm    Post subject: Reply with quote

Quote:
I try to type anything into the "file to upload" box, and it hammers me with the Ubuntu Home Directory.
now it is doing that to me too.
so click in the bottom file upload window
in the browse file box that appears:
double click filesystem in the left column
double click mnt in the main (right) window
double click gentoo in the main window
double click filesystem in the left column
double click var in the main (right) window
double click log in the main (right) window
double click dmesg in the main (right) window
browse window should clear
click bottom upload
Back to top
View user's profile Send private message
pottzie
Guru
Guru


Joined: 06 Nov 2010
Posts: 314

PostPosted: Thu Nov 18, 2010 11:16 pm    Post subject: Reply with quote

Whew!
Your file is available at http://filebin.ca/pstbmv/dmesg or http://filebin.ca/pstbmv
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Goto page Previous  1, 2, 3, 4, 5, 6, 7, 8, 9, 10  Next
Page 8 of 10

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum