View previous topic :: View next topic |
Author |
Message |
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
Posted: Sat Jun 19, 2010 6:50 pm Post subject: |
|
|
everybody else wants to get into Master and we can't get out of it.
research time. If it is as late as I think there...
add to wpa_supplicant.conf
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=wheel
update_config=1
network={
mode=0
ssid="MillerFamily"
psk="Yourkey"
proto=RSN
key_mgmt=WPA-PSK
pairwise=TKIP
}
Last edited by DONAHUE on Sat Jun 19, 2010 7:00 pm; edited 1 time in total |
|
Back to top |
|
|
kelby232 Tux's lil' helper
Joined: 25 May 2010 Posts: 112
|
Posted: Sat Jun 19, 2010 7:00 pm Post subject: |
|
|
DONAHUE wrote: | everybody else wants to get into Master and we can't get out of it.
research time. If it is as late as I think there...
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=wheel
update_config=1
network={
mode=0
ssid="MillerFamily"
psk="Yourkey"
proto=RSN
key_mgmt=WPA-PSK
pairwise=TKIP
} |
Yea I just cant wait to get this working haha.
Thank you so much for the help so far. |
|
Back to top |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
Posted: Sat Jun 19, 2010 7:08 pm Post subject: |
|
|
What does say? |
|
Back to top |
|
|
kelby232 Tux's lil' helper
Joined: 25 May 2010 Posts: 112
|
Posted: Sat Jun 19, 2010 7:09 pm Post subject: |
|
|
DONAHUE wrote: | What does say? |
Code: | wlan0 IEEE 802.11bg Mode:Managed Access Point: Not-Associated
Tx-Power=27 dBm
Retry long limit:7 RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off |
|
|
Back to top |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
Posted: Sat Jun 19, 2010 7:14 pm Post subject: |
|
|
Code: | lspci -k | wgetpaste |
|
|
Back to top |
|
|
kelby232 Tux's lil' helper
Joined: 25 May 2010 Posts: 112
|
Posted: Sat Jun 19, 2010 7:25 pm Post subject: |
|
|
DONAHUE wrote: | Code: | lspci -k | wgetpaste |
|
lspci -k
Code: | 00:00.0 Host bridge: Intel Corporation 82852/82855 GM/GME/PM/GMV Processor to I/O Controller (rev 02)
Subsystem: Gateway 2000 Device 0360
Kernel driver in use: agpgart-intel
00:00.1 System peripheral: Intel Corporation 82852/82855 GM/GME/PM/GMV Processor to I/O Controller (rev 02)
Subsystem: Gateway 2000 Device 0360
00:00.3 System peripheral: Intel Corporation 82852/82855 GM/GME/PM/GMV Processor to I/O Controller (rev 02)
Subsystem: Gateway 2000 Device 0360
00:02.0 VGA compatible controller: Intel Corporation 82852/855GM Integrated Graphics Device (rev 02)
Subsystem: Gateway 2000 Device 0360
Kernel driver in use: i915
00:02.1 Display controller: Intel Corporation 82852/855GM Integrated Graphics Device (rev 02)
Subsystem: Gateway 2000 Device 0360
00:1d.0 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #1 (rev 03)
Subsystem: Gateway 2000 Device 0360
Kernel driver in use: uhci_hcd
Kernel modules: uhci-hcd
00:1d.1 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #2 (rev 03)
Subsystem: Gateway 2000 Device 0360
Kernel driver in use: uhci_hcd
Kernel modules: uhci-hcd
00:1d.7 USB Controller: Intel Corporation 82801DB/DBM (ICH4/ICH4-M) USB2 EHCI Controller (rev 03)
Subsystem: Gateway 2000 Device 0360
Kernel driver in use: ehci_hcd
Kernel modules: ehci-hcd
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 83)
00:1f.0 ISA bridge: Intel Corporation 82801DBM (ICH4-M) LPC Interface Bridge (rev 03)
00:1f.1 IDE interface: Intel Corporation 82801DBM (ICH4-M) IDE Controller (rev 03)
Subsystem: Gateway 2000 Device 0360
Kernel driver in use: PIIX_IDE
Kernel modules: ata_piix
00:1f.3 SMBus: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) SMBus Controller (rev 03)
Subsystem: Gateway 2000 Device 0360
00:1f.5 Multimedia audio controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller (rev 03)
Subsystem: Gateway 2000 Device 0360
Kernel driver in use: Intel ICH
Kernel modules: snd-intel8x0
00:1f.6 Modem: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Modem Controller (rev 03)
Subsystem: Gateway 2000 Device 0360
Kernel driver in use: Intel ICH Modem
Kernel modules: snd-intel8x0m
02:00.0 Ethernet controller: Broadcom Corporation BCM4401-B0 100Base-TX (rev 02)
Subsystem: Gateway 2000 Device 0360
Kernel driver in use: b44
Kernel modules: b44
02:02.0 CardBus bridge: Texas Instruments PCIxx21/x515 Cardbus Controller
Subsystem: Gateway 2000 Device 0460
Kernel driver in use: yenta_cardbus
Kernel modules: yenta_socket
02:02.2 FireWire (IEEE 1394): Texas Instruments OHCI Compliant IEEE 1394 Host Controller
Subsystem: Gateway 2000 Device 0460
Kernel driver in use: ohci1394
Kernel modules: ohci1394
02:02.3 Mass storage controller: Texas Instruments PCIxx21 Integrated FlashMedia Controller
Subsystem: Gateway 2000 Device 0460
02:02.4 SD Host controller: Texas Instruments PCI6411/6421/6611/6621/7411/7421/7611/7621 Secure Digital Controller
Subsystem: Gateway 2000 Device 0460
02:04.0 Network controller: Broadcom Corporation BCM4318 [AirForce One 54g] 802.11g Wireless LAN Controller (rev 02)
Subsystem: Device 17f9:0006
Kernel driver in use: b43-pci-bridge
Kernel modules: ssb |
ifconfig wlan0
Code: | wlan0 Link encap:Ethernet HWaddr 00:14:a5:3f:b4:e3
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) |
iwpriv wlan0
Code: | wlan0 no private ioctls |
|
|
Back to top |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
Posted: Mon Jun 21, 2010 4:20 pm Post subject: |
|
|
Add a preup routine to /etc/conf.d/net to implement "rfkill unblock all"
Code: | wget http://pastebin.ca/raw/1887493 -O net_add
cat net_add >> /etc/conf.d/net |
Add executables to test wifi functions without a lot of typing with wired ethernet discconnected:
Code: | wget http://pastebin.ca/raw/1887497 -O /bin/bcm.reboot
wget http://pastebin.ca/raw/1887547 -O /bin/bcm
wget http://pastebin.ca/raw/1887546 -O /bin/bcm.post |
Make the files executable:
Code: | chmod +x /bin/bcm.reboot
chmod +x /bin/bcm
chmod +x /bin/bcm.post |
Then, unplug the wired ethernet.
To prevent eth0 starting at boot, and to reboot; Run:
After the reboot; to gather data, (be patient, the on screen messages will be unusual as some data will be going to a file, /bcm, instead of displaying on screen); Run:
Then, plug the wired ethernet in.
To restore ability to start eth0 at boot and to restart eth0, and to wgetpaste data, Run:
post the url returned. |
|
Back to top |
|
|
kelby232 Tux's lil' helper
Joined: 25 May 2010 Posts: 112
|
Posted: Tue Jun 22, 2010 3:58 am Post subject: |
|
|
DONAHUE wrote: | Add a preup routine to /etc/conf.d/net to implement "rfkill unblock all"
Code: | wget http://pastebin.ca/raw/1887493 -O net_add
cat net_add >> /etc/conf.d/net |
Add executables to test wifi functions without a lot of typing with wired ethernet discconnected:
Code: | wget http://pastebin.ca/raw/1887497 -O /bin/bcm.reboot
wget http://pastebin.ca/raw/1887547 -O /bin/bcm
wget http://pastebin.ca/raw/1887546 -O /bin/bcm.post |
Make the files executable:
Code: | chmod +x /bin/bcm.reboot
chmod +x /bin/bcm
chmod +x /bin/bcm.post |
Then, unplug the wired ethernet.
To prevent eth0 starting at boot, and to reboot; Run:
After the reboot; to gather data, (be patient, the on screen messages will be unusual as some data will be going to a file, /bcm, instead of displaying on screen); Run:
Then, plug the wired ethernet in.
To restore ability to start eth0 at boot and to restart eth0, and to wgetpaste data, Run:
post the url returned. |
Http://pastebin.ca/raw/1888216 |
|
Back to top |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
Posted: Tue Jun 22, 2010 5:53 am Post subject: |
|
|
Everything seems eliminated except kernel networking support or choice of firmware or choice of driver.
wpa_supplicant should give error messages if the problem is there.
eth0 is not interfering.
rfkill is off.
pls run:
Code: | zcat /proc/config.gz | if you get a bunch of CONFIG_ lines Code: | zcat /proc/config.gz | wgetpaste -r -s ca
lsmod | wgetpaste -r -s ca |
if you don't get a bunch of CONFIG_ lines Code: | wgetpaste -r -s ca /usr/src/linux/.config
lsmod | wgetpaste -r -s ca |
Are you using genkernel because you are using raid or lvm? If not I'm thinking about getting you on a manual kernel, I would ship you a config for it. You would keep your existing as a fallback. |
|
Back to top |
|
|
kelby232 Tux's lil' helper
Joined: 25 May 2010 Posts: 112
|
Posted: Tue Jun 22, 2010 12:06 pm Post subject: |
|
|
DONAHUE wrote: | Everything seems eliminated except kernel networking support or choice of firmware or choice of driver.
wpa_supplicant should give error messages if the problem is there.
eth0 is not interfering.
rfkill is off.
pls run:
Code: | zcat /proc/config.gz | if you get a bunch of CONFIG_ lines Code: | zcat /proc/config.gz | wgetpaste -r -s ca
lsmod | wgetpaste -r -s ca |
if you don't get a bunch of CONFIG_ lines Code: | wgetpaste -r -s ca /usr/src/linux/.config
lsmod | wgetpaste -r -s ca |
Are you using genkernel because you are using raid or lvm? If not I'm thinking about getting you on a manual kernel, I would ship you a config for it. You would keep your existing as a fallback. |
Yes I am using genkernel. I wouldn't mind being shipped a new manual kernel. Would prob help a lot.
Http://pastebin.ca/raw/1888399
Http://pastebin.ca/raw/1888401 |
|
Back to top |
|
|
kelby232 Tux's lil' helper
Joined: 25 May 2010 Posts: 112
|
Posted: Tue Jun 22, 2010 8:27 pm Post subject: |
|
|
Well some good news.
While we have been working on getting my wireless to work I did manage to get my x server running and got gnome-light installed. |
|
Back to top |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
Posted: Wed Jun 23, 2010 3:09 am Post subject: |
|
|
Bravo.
Hopefully changing your graphics support in kernel configuration had something to do with that.
Code: | echo "net-wireless/wpa_supplicant qt4" >> /etc/package.use
emerge wpa_supplicant |
should give you wpa_gui when in gnome, a graphical network manager. wpa_gui in terminal. Applications -> Internet -> WPA Supplicant Administration GUI from the desktop.
Code: | nano /etc/modules.d/blacklist.conf | make sure neither "blacklist ssb" nor "blacklist b43" appear.
remove the preup function from /etc/conf.d/net.
Code: | genkernel --oldconfig --menuconfig all | edit menuconfig to: Quote: | Bus options (PCI etc.) --->
[*] PCI support
[*] Support mmconfig PCI config space access
[*] Support for DMA Remapping Devices (EXPERIMENTAL)
[ ] Enable DMA Remapping Devices by default
[*] Support for Interrupt Remapping (EXPERIMENTAL)
[*] PCI Express support
[*] Root Port Advanced Error Reporting support
[ ] PCI Express ECRC settings control
< > PCIe AER error injector support
[ ] PCI Express ASPM support(Experimental)
-*- Message Signaled Interrupts (MSI and MSI-X)
[ ] Enable deprecated pci_find_* API
[ ] PCI Debugging
< > PCI Stub driver
[*] Interrupts on hypertransport devices
[ ] PCI IOV support
--- PCCard (PCMCIA/CardBus) support
< > 16-bit PCMCIA support
-*- 32-bit CardBus support
*** PC-card bridges ***
<*> CardBus yenta-compatible bridge support
< > Support for PCI Hotplug --->
[*] Networking support --->
--- Networking support
Networking options --->
[ ] Amateur Radio support --->
< > CAN bus subsystem support --->
< > IrDA (infrared) subsystem support --->
< > Bluetooth subsystem support --->
< > RxRPC session sockets
-*- Wireless --->
--- Wireless
<M> cfg80211 - wireless configuration API
[ ] nl80211 testmode command
[ ] enable developer warnings
[ ] cfg80211 regulatory debugging
[ ] enable powersave by default
[ ] cfg80211 DebugFS entries
[*] Old wireless static regulatory definitions
[*] cfg80211 wireless extensions compatibility
[*] Wireless extensions sysfs files
<M> Common routines for IEEE802.11 drivers
[ ] lib80211 debugging messages
<M> Generic IEEE 802.11 Networking Stack (mac80211)
Default rate control algorithm (Minstrel) --->
[ ] Enable mac80211 mesh networking (pre-802.11s) support (NEW)
[ ] Enable LED triggers (NEW)
[ ] Export mac80211 internals in DebugFS (NEW)
[ ] Select mac80211 debugging features (NEW) --->
< > WiMAX Wireless Broadband support --->
< > RF switch subsystem support --->
< > Plan 9 Resource Sharing Support (9P2000) (Experimental) --->
Device Drivers --->
[*] Network device support --->
[*] Ethernet (10 or 100Mbit) --->
--- Ethernet (10 or 100Mbit)
-*- Generic Media Independent Interface device support
< > Sun Happy Meal 10/100baseT support
< > Sun GEM support
< > Sun Cassini support
[ ] 3COM cards
< > OpenCores 10/100 Mbps Ethernet MAC support
< > Dave ethernet support (DNET)
[ ] "Tulip" family network device support --->
< > HP 10/100VG PCLAN (ISA, EISA, PCI) support
[*] EISA, VLB, PCI and on board controllers
< > AMD PCnet32 PCI support
< > AMD 8111 (new PCI lance) support
< > Adaptec Starfire/DuraLAN support
<*> Broadcom 440x/47xx ethernet support
[*] Wireless LAN --->
--- Wireless LAN < > Cisco/Aironet 34X/35X/4500/4800 ISA and PCI cards
< > Atmel at76c50x chipset 802.11b support
< > Intersil Prism GT/Duette/Indigo PCI/Cardbus (DEPRECATED)
< > USB ZD1201 based Wireless device support
< > Wireless RNDIS USB support
< > Atheros Wireless Cards --->
<M> Broadcom 43xx wireless support (mac80211 stack)
[*] Support for low-power (LP-PHY) devices (EXPERIMENTAL)
[*] Broadcom 43xx debugging
[ ] Force usage of PIO instead of DMA
< > Broadcom 43xx-legacy wireless support (mac80211 stack)
< > IEEE 802.11 for Host AP (Prism2/2.5/3 and WEP/TKIP/CCMP)
< > Intel PRO/Wireless 2100 Network Connection
< > Intel PRO/Wireless 2200BG and 2915ABG Network Connection (NEW)
< > Marvell 8xxx Libertas WLAN driver support
< > Hermes chipset 802.11b support (Orinoco/Prism2/Symbol) (NEW) |
/etc/portage/package.keywords may already have these but if not
Code: | echo "net-wireless/b43-firmware ~amd64" >>/etc/portage/package.keywords
echo "net-wireless/b43-fwcutter ~amd64" >> /etc/portage/package.keywords |
Code: |
emerge b43-firmware |
reboot with crossed fingers |
|
Back to top |
|
|
kelby232 Tux's lil' helper
Joined: 25 May 2010 Posts: 112
|
Posted: Wed Jun 23, 2010 1:56 pm Post subject: |
|
|
still no luck after doing the above |
|
Back to top |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
Posted: Wed Jun 23, 2010 2:37 pm Post subject: |
|
|
Code: | lsmod
lspci -k
iwconfig wlan0
wpa_cli status
|
outputs please
any errors reported for emerge b-43-firmware?
does the boot screen still claim starting wlan0 and wpa_supplicant?
have you tried wpa_gui?
manual kernel and broadcom_sta attempt next. |
|
Back to top |
|
|
kelby232 Tux's lil' helper
Joined: 25 May 2010 Posts: 112
|
Posted: Wed Jun 23, 2010 7:09 pm Post subject: |
|
|
DONAHUE wrote: | Code: | lsmod
lspci -k
iwconfig wlan0
wpa_cli status
|
outputs please
any errors reported for emerge b-43-firmware?
does the boot screen still claim starting wlan0 and wpa_supplicant?
have you tried wpa_gui?
manual kernel and broadcom_sta attempt next. |
lsmod
http://dpaste.com/210705/
iwconfig wlan0
http://dpaste.com/210706/
wpa_cli status
http://dpaste.com/210707/
emerge b43-firmware
http://dpaste.com/210708/
Wpa_gui says it emerged but i can not get it to run. I get a command not found error. The boot screen does say it is starting wlan0 and wpa_supplicant.[/code] |
|
Back to top |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
Posted: Thu Jun 24, 2010 5:38 am Post subject: |
|
|
Running late on kernel building. Wife decided her printing project had priority.
A post of would be helpful. |
|
Back to top |
|
|
kelby232 Tux's lil' helper
Joined: 25 May 2010 Posts: 112
|
Posted: Thu Jun 24, 2010 2:58 pm Post subject: |
|
|
DONAHUE wrote: | Running late on kernel building. Wife decided her printing project had priority.
A post of would be helpful. |
That is no problem at all. Thank you very much for doing that. Take your time
http://dpaste.com/210992/
cat /proc/cpuinfo
Code: | processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 13
model name : Intel(R) Celeron(R) M processor 1.40GHz
stepping : 8
cpu MHz : 1389.029
cache size : 1024 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov clflush dts acpi mmx fxsr sse sse2 ss tm pbe nx up bts
bogomips : 2778.05
clflush size : 64
cache_alignment : 64
address sizes : 32 bits physical, 32 bits virtual
|
|
|
Back to top |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
Posted: Fri Jun 25, 2010 5:28 am Post subject: |
|
|
First, put a copy of your working config in a safe place:
Check that the /boot partition is mounted:Then: Code: | zcat /proc/config.gz /boot/config.old | if that fails: Code: | cp /usr/src/linux/.config /boot/config.old | Then, clean the source directory: Code: | cd /usr/src/linux
make clean
make mrproper | Get the new config file: Code: | wget http://paste.pocoo.org/raw/229674/ -O /usr/src/linux/.config | Then build a kernel: ( While in menuconfig change something, select it, change it back, should ensure the config will ask to be saved on exit. ) Code: | make oldconfig
make menuconfig
make && make modules_install
cp arch/x86/boot/bzImage /boot/kernel-2.6.32-gentoo-r7
cp .config /boot/config | Add to /boot/grub/grub.conf: Quote: | title Gentoo Linux 2.6.32-r7
# Partition where the kernel image (or operating system) is located
root (hd0,0)
kernel /boot/kernel-2.6.32-gentoo-r7 root=/dev/sda3
title Gentoo Linux 2.6.32-r7 (rescue)
# Partition where the kernel image (or operating system) is located
root (hd0,0)
kernel /boot/kernel-2.6.32-gentoo-r7 root=/dev/sda3 init=/bin/bb | Block out competing drivers: Code: | nano /etc/modprobe.d/blacklist.conf | Add: Quote: | blacklist b43
blacklist b43legacy
blacklist ssb | Remove [quote]blacklist wl[quote]if present. Emerge a different driver for the NIC: Code: | echo "net-wireless/broadcom-sta" >> /etc/portage/package.keywords
echo "net-wireless/broadcom-sta Broadcom" >> /etc/portage/package.license
emerge broadcom-sta | any output messages of great interestTry to keep xorg and gnome starting: Code: | emerge -av $(qlist -IC x11-drivers) | fingers crossed into new kernel.
First try at kernel shipping. :-> |
|
Back to top |
|
|
kelby232 Tux's lil' helper
Joined: 25 May 2010 Posts: 112
|
Posted: Fri Jun 25, 2010 2:50 pm Post subject: |
|
|
[quote="DONAHUE"]First, put a copy of your working config in a safe place:
Check that the /boot partition is mounted:Then: Code: | zcat /proc/config.gz /boot/config.old | if that fails: Code: | cp /usr/src/linux/.config /boot/config.old | Then, clean the source directory: Code: | cd /usr/src/linux
make clean
make mrproper | Get the new config file: Code: | wget http://paste.pocoo.org/raw/229674/ -O /usr/src/linux/.config | Then build a kernel: ( While in menuconfig change something, select it, change it back, should ensure the config will ask to be saved on exit. ) Code: | make oldconfig
make menuconfig
make && make modules_install
cp arch/x86/boot/bzImage /boot/kernel-2.6.32-gentoo-r7
cp .config /boot/config | Add to /boot/grub/grub.conf: Quote: | title Gentoo Linux 2.6.32-r7
# Partition where the kernel image (or operating system) is located
root (hd0,0)
kernel /boot/kernel-2.6.32-gentoo-r7 root=/dev/sda3
title Gentoo Linux 2.6.32-r7 (rescue)
# Partition where the kernel image (or operating system) is located
root (hd0,0)
kernel /boot/kernel-2.6.32-gentoo-r7 root=/dev/sda3 init=/bin/bb | Block out competing drivers: Code: | nano /etc/modprobe.d/blacklist.conf | Add: Quote: | blacklist b43
blacklist b43legacy
blacklist ssb | Remove [quote]blacklist wl Quote: | if present. Emerge a different driver for the NIC: Code: | echo "net-wireless/broadcom-sta" >> /etc/portage/package.keywords
echo "net-wireless/broadcom-sta Broadcom" >> /etc/portage/package.license
emerge broadcom-sta | any output messages of great interestTry to keep xorg and gnome starting: Code: | emerge -av $(qlist -IC x11-drivers) | fingers crossed into new kernel.
First try at kernel shipping. :-> |
After doing the above, I get an error trying to boot after the grub screen.
http://i976.photobucket.com/albums/ae247/Kelby232/e6239541.jpg
http://i976.photobucket.com/albums/ae247/Kelby232/4b7dbf31.jpg
Here is my grub.conf
Code: | Modified
title Gentoo Linux 2.6.32-r7
# Partition where the kernel image (or operating system) is located
root (hd0,0)
kernel /boot/kernel-2.6.32-gentoo-r7 root=/dev/hda3 noload=pata_qdi
title Gentoo Linux 2.6.32-r7 (rescue)
# Partition where the kernel image (or operating system) is located
root (hd0,0)
kernel /boot/kernel-2.6.32-gentoo-r7 root=/dev/hda3 init=/bin/bb noload=pata_qdi
initrd /boot/initramfs-genkernel-x86-2.6.32-gentoo-r7
title Gentoo Linux
root (hd0,0)
kernel /boot/kernel-genkernel-x86-2.6.32-gentoo-r7 root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=/dev/hda3 noload=pata_qdi video=uvesafb:mtrr:3,ywrap,$
initrd /boot/initramfs-genkernel-x86-2.6.32-gentoo-r7
# vim:ft=conf: |
modprobe wl did give an error message
Code: | FATAL: Error inserting wl (/lib/modules/2.6.32-gentoo-r7/net/wireless/wl.ko): Invalid module format
|
|
|
Back to top |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
Posted: Fri Jun 25, 2010 4:05 pm Post subject: |
|
|
the error says the kernel name on /boot partition does not match the kernel name in grub.conf, or /boot partition was not mounted when the new kernel was copied, or the new kernel was not copied or the copy failed.
boot the old genkernel
ensure that /boot partition is mounted, read to tell, then
post, paste or photo
is unusual. Why do you need it? |
|
Back to top |
|
|
kelby232 Tux's lil' helper
Joined: 25 May 2010 Posts: 112
|
Posted: Sat Jun 26, 2010 11:55 am Post subject: |
|
|
DONAHUE wrote: | the error says the kernel name on /boot partition does not match the kernel name in grub.conf, or /boot partition was not mounted when the new kernel was copied, or the new kernel was not copied or the copy failed.
boot the old genkernel
ensure that /boot partition is mounted, read to tell, then
post, paste or photo
is unusual. Why do you need it? |
mount
/ Code: | dev/hda3 on / type ext3 (rw,noatime)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
udev on /dev type tmpfs (rw,nosuid,relatime,size=10240k,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620)
/dev/hda1 on /boot type ext2 (rw,noatime)
shm on /dev/shm type tmpfs (rw,noexec,nosuid,nodev)
shm on /dev/shm type tmpfs (rw,noexec,nosuid,nodev)
usbfs on /proc/bus/usb type usbfs (rw,noexec,nosuid,devmode=0664,devgid=85) |
ls -l /boot
Code: | total 7322
-rw-r--r-- 1 root root 1383025 Jun 22 21:14 System.map-genkernel-x86-2.6.32-gentoo-r7
lrwxrwxrwx 1 root root 1 Jun 7 20:19 boot -> .
-rw-r--r-- 1 root root 55291 Jun 25 05:19 config
-rw-r--r-- 1 root root 69860 Jun 25 04:57 config.old
drwxr-xr-x 2 root root 1024 Jun 8 04:22 grub
-rw-r--r-- 1 root root 2909134 Jun 22 21:31 initramfs-genkernel-x86-2.6.32-gentoo-r7
-rw-r--r-- 1 root root 3029568 Jun 22 21:14 kernel-genkernel-x86-2.6.32-gentoo-r7
drwx------ 2 root root 12288 Jun 7 20:11 lost+found |
noload=pata_qdi is in there because my system will not boot if i take it out. whenever it is in the boot process it will get to wd7000 and it will freeze and not do anything. I tried noload=wd7000 and that did not help. It would get stuck on pata_qdi then. So i did noload=pata_qdi and it booted for me then. Ill take it out and show you a screen shot.
http://i976.photobucket.com/albums/ae247/Kelby232/e326f6bb.jpg |
|
Back to top |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
Posted: Sat Jun 26, 2010 4:00 pm Post subject: |
|
|
ls -l /boot does not contain the manual kernel although the new config is present. Whereas x86 is the correct arch for me yours may be i386. Sorry. You should get a file not found if the following fails.
make sure /boot is mounted, then
Code: | cd /usr/src/linux
cp arch/i386/boot/bzImage /boot/kernel-2.6.32-gentoo-r7
ls -l /boot |
verify the 'ls -l /boot' output contains 'kernel-2.6.32-gentoo-r7' with a very recent date time.
'noload=pata_qdi' should not be needed in the grub enrties for the manual kernel as the manual config does not contain either pata_qdi or wd7000. Scanning for them, failing to find, and failing to load the kernel is apparently a genkernel problem. Well done to you on finding a command to get around it.
After the manual kernel is copied and booted, your hard drive partitions will be using /dev/sda1 for /boot, /dev/sda2 for swap, and /dev/sda3 for / and the cd will be using /dev/sr0.
This was taken care of in the grub entries I provided.
As genkernel uses /dev/hda_ there is still a problem with /etc/fstab. The simplest way to take care of /etc/fstab and retain the ability to boot either genkernel or manual kernel is to comment out all the lines in it. This will give a couple of warnings upon booting but will boot anyway. Quote: | #/dev/sda1 /boot ext2 defaults,noatime 1 2
#/dev/sda2 none swap sw 0 0
#/dev/sda3 / ext3 noatime 0 1
#proc /proc proc defaults 0 0
#shm /dev/shm tmpfs nodev,nosuid,noexec 0 0 |
When the manual kernel is verified working you can update and uncomment the fstab. |
|
Back to top |
|
|
kelby232 Tux's lil' helper
Joined: 25 May 2010 Posts: 112
|
Posted: Sat Jun 26, 2010 4:40 pm Post subject: |
|
|
DONAHUE wrote: | ls -l /boot does not contain the manual kernel although the new config is present. Whereas x86 is the correct arch for me yours may be i386. Sorry. You should get a file not found if the following fails.
make sure /boot is mounted, then
Code: | cd /usr/src/linux
cp arch/i386/boot/bzImage /boot/kernel-2.6.32-gentoo-r7
ls -l /boot |
verify the 'ls -l /boot' output contains 'kernel-2.6.32-gentoo-r7' with a very recent date time.
'noload=pata_qdi' should not be needed in the grub enrties for the manual kernel as the manual config does not contain either pata_qdi or wd7000. Scanning for them, failing to find, and failing to load the kernel is apparently a genkernel problem. Well done to you on finding a command to get around it.
After the manual kernel is copied and booted, your hard drive partitions will be using /dev/sda1 for /boot, /dev/sda2 for swap, and /dev/sda3 for / and the cd will be using /dev/sr0.
This was taken care of in the grub entries I provided.
As genkernel uses /dev/hda_ there is still a problem with /etc/fstab. The simplest way to take care of /etc/fstab and retain the ability to boot either genkernel or manual kernel is to comment out all the lines in it. This will give a couple of warnings upon booting but will boot anyway. Quote: | #/dev/sda1 /boot ext2 defaults,noatime 1 2
#/dev/sda2 none swap sw 0 0
#/dev/sda3 / ext3 noatime 0 1
#proc /proc proc defaults 0 0
#shm /dev/shm tmpfs nodev,nosuid,noexec 0 0 |
When the manual kernel is verified working you can update and uncomment the fstab. |
after doing the above. I get the following error
http://i976.photobucket.com/albums/ae247/Kelby232/31bd01b2.jpg |
|
Back to top |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
Posted: Sat Jun 26, 2010 4:57 pm Post subject: |
|
|
grub.conf manual kernel entries need
just for fun:
reboot
when the grub menu appears move to the manual kernel choice
enter e to go to the edit mode
move to the kernel line
enter e to edit the line
change to root=/dev/sda3
enter to save it
enter b to boot |
|
Back to top |
|
|
kelby232 Tux's lil' helper
Joined: 25 May 2010 Posts: 112
|
Posted: Sat Jun 26, 2010 5:02 pm Post subject: |
|
|
DONAHUE wrote: | grub.conf manual kernel entries need
just for fun:
reboot
when the grub menu appears move to the manual kernel choice
enter e to go to the edit mode
move to the kernel line
enter e to edit the line
change to root=/dev/sda3
enter to save it
enter b to boot |
That worked
I forgot to change it to sda3 and i forgot to take out the noload=pata_qdi.
Fixed both of those errors and it boots right up |
|
Back to top |
|
|
|